As Alan mentioned, you can look at the BB2 document for information. Likewise you should look at the datasheet for the Bap28: basicmicro.com/downloads/dat … pro_28.pdf
It shows you how to hook it up for RS232 or USB connections. Likewise you can look at some of Basic Micro’s carrier board documents for more hints. One such as: basicmicro.com/downloads/Dat … /B0262.pdf
from the bot-board circuit… Vcc is supply to the pin-P12 and P15 which used for PS2 controller pin… why??? why Vcc need to be supplied to the these two pin???
What you are seeing on P12 and P15 are the pullup resistors for the PS2 controller DAT and CLK lines. These are required when using the PS2 controller.
I use my own carrier boards for the BAP28 and BAP40 (based loosely on the mini bot board) so fire away if you have any more questions.
is this mean that both these pin is input now??? then how much current will go in the pin 12 and 15 if 1k pull-up resistor is used ??? what is the maximum current the atom can support??? is it 1K suitable for it??? or need to be higher??? thanks
Are you really asking if the values on a schematic of a known good working board are valid?
A 1k pullup resistor will draw -0- current when the pin is an input. It will draw -0- current when the pin is a high output. It will draw 5mA if the pin is a low output.
first of all… sorry for my broken English… i had build a carrier for BAP28… everything goes fine… i mean the hexapod can be controlled and can walk as usual… but there is one weird problem happening… which is as following detail
1} buzzer keep beeping(non stop)… actually is continuous sound(same frequency after first beeping)…
2} the beeping sound is different than the one where the PS2 controller is not connected to the Atom properly
3} the sound also got a little bit different from the one when we apply power
4} during the continuous beeping sound… when i press other button such as start button… it will still appear original start button’s beeping sound pattern as usual (mix with the continuous beeping)
5} but the buzzer goes normal(pin9 LOW) and fine after i reset it or press square button(ps2) for the (1st press and 2nd press after start button)
6} every time apply power… it will keep beeping(pin9 HIGH) until i press reset or square button (1st press and 2nd press after start button)
7} but the beeping comes again(pin9 HIGH) if i press square button(3rd press and 4th press)… and will goes normal(pin9 LOW at 5th press and 6th press)…
8} the reset button can be press at anytime and works fine(pin9 LOW) anytime i press it
9} conclusion is for square button (1st and 2nd press- Pin9 LOW… 3rd and 4th press- Pin9 HIGH… 5th and 6th press- Pin9 LOW and so on)
but the hexapod can be controlled as usual… please help…
what happen actually??? why i need to press reset or square button(1st,2nd,5th,6thpress)??? please help… thanks
the buzzer doesn’t have any series number or part number… actually i feel weird that why the pin P9 keep HIGH which cause my buzzer keep beeping… i wondering why my PIN P9 keep HIGH… thanks…
(using coding from aka Xan)
Just a thought, there are different kinds of “beepers” or transducers. Maybe yours makes continuous sound with a hi on the input to the transistor.
I don’t remember, but I’ll bet the transducer on the BB2 is “driven” by a square wave generated on P9.
Any numbers on your buzzer? Any + or - signs? If you find the signs, I’d try applying 5V or so directly to the buzzer, I’m thinking you’ll get a sound!
Edit:
Looks like the BB2 uses a KC-1206, and it has + - signs on it too. So that may not help.
You never posted any code. If you don’t make pin 9 low it can float high causing your beeper to beep. We use a speaker on the Bot Board and you can feed it waveforms and here the sounds. You apparently are using a device that generates a tone when a DV voltage is applied.
i had edit my post cos got some changes…
im using the code form link (lynxmotion.com/images/html/build159.htm)
for the code… if im not mistaken… it will LOW on pin9 if i press nothing right?? and will HIGH only for few second if certain button is pressed… but why mine keep HIGH on pin 9 while im using the same coding?? and work properly if i attach to the BAP28 to the bot-boardII(thanks Lynxmotion)
during pause command… the voltage at pin 9 is 0V for duration 2.5second
thats the LOW condition i mean
and the HIGH condition is there got output voltage (square wave with any amplitude any frequency)
thats the HIGH condition i mean
its easier to represent it with LOW and HIGH
sorry
thanks please help
first of all…really thanks for keep helping me… i appreciate it…
and sorry… because actually i face some difficulty to understand your sentence… maybe because of my broken English language… my english not so good… and furthermore u got an abstruse language… so maybe u can just use simple english to me… haha…
okok… I’d tried the code
high P9
pause 1000
low P9
for my BAP carrier… the buzzer will beeping(5V pin9) when applied power and then become LOW(0v pin9) for the rest… thats all…
so… ???