Botboarduinomanual
Botboarduinomanual
htm
BotBoarduino Manual.
BotBoarduino.
The image above illustrates the shorting bar jumpers (the black rectangles) as they are on the board as it is
shipped. The jumpers are used to set operating parameters for the board. It should not be assumed that they are
correct for your project as changes are likely to be required. Please consult the tutorial for your project for the
proper shorting bar jumper positions.
The BotBoarduino is 3.00" x 2.30" with 0.125" holes set in 0.15" from each edge.
http://www.lynxmotion.com/images/html/build185.htm 1/8
2/26/2018 www.lynxmotion.com/images/html/build185.htm
1. The BotBoarduino is based on the Arduino Duemilanove. In the Arduino programming environment you
must select "Arduino Duemilanove w/ ATmega328". Simply plug a USB Mini cable from this plug to a
free USB port on your PC for programming the processor and receiving debug information. For help with
USB drivers, go to the official Arduino page. To prevent damaging the board's USB port, you must
remove the USB cable from a MOBILE robot!
2. These four pins are connected to the FTDI's CTS, DSR, DCD, and RI signals. You should never have to
worry about these pins. Use them only if you know what you're doing as these pins can prevent the
BotBoarduino from being programmed.
3. This is a Power Good LED. When you have successfully applied power to the onboard regulator, the
yellow LED will turn on.
4. This shorting bar enables the onboard speaker. To use the speaker, send the appropriate sound generating
command to Pin 5. Note, the I/O pin drives a transistor amplifier. It does not drive the speaker directly.
5. The 3 LEDs and Pushbuttons use only 3 I/O lines to make a simple user interface for your program. By
making the I/O line a low output the LED can be turned on. By briefly making the I/O line an input the
I/O line can be read to see if a button is being pressed. However, do NOT make the I/O line a high output
and press a button, as damage to the I/O pin can occur.The shorting bars directly above JA, JB, and JC
will need to be installed for these LEDs and Pushbuttons to be used.
http://www.lynxmotion.com/images/html/build185.htm 2/8
2/26/2018 www.lynxmotion.com/images/html/build185.htm
Chip Use
I/O
V-Servo / General
A0
Purpose
V-Logic / General
A1
Purpose
A2 -
General Purpose
A5
12. These headers bring out analog pins A4 and A5 for use with the I2C comunication protocol. To use this
header you must install jumpers horizontally across the SDA-P and SCL-P headers.
13. This allows you to power the Servos and Logic from the same battery. It simply connects the VS input to
the VL input. Caution, when using this option do NOT use the VL input.
14. This button will reset the micro when pressed. This can be useful for starting different programs
depending on which SUI button is pressed on reset.
15. This is the VS (servo voltage) input. Servo voltage can be 4.8vdc to 7.2vdc. However, some micro servos
will not tolerate more than 6vdc. This input is used to provide power for the servos only, or to provide
power to both VL and VS using the VS=VL jumper. See Item 13.
Board Input
VS + RED
VS - BLACK
16. This is the VL (logic voltage) input. This input is normally used with a 9vdc battery connector to provide
power to the microcontroller and anything connected to the 5vdc lines on the board. This input can be
used to isolate the VL from the VS (servo voltage).
Board Input
VL + RED
VL - BLACK
17. This header selects the Logic Power source for the board. Select USB to power the Logic from the
onboard USB port or Select EXT to power the board from the VL terminal.
18. The Low Dropout regulator will provide 5vdc out with as little as 5.4vdc coming in. This is important
when operating your robot from a battery. It can accept a maximum of 12vdc in. The regulator is rated for
1.5A.
19. These headers are spaced to accept all Arduino compatible Shields and Extensions.
20. Status LEDs.
LED Function
Directly connected to P13 on the
L
Arduino chip
TX Blinks when sending data
RX Blinks when receiving data
21. This is where the Atmega 328 chip is plugged in. Atmega328 pin map:
http://www.lynxmotion.com/images/html/build185.htm 3/8
2/26/2018 www.lynxmotion.com/images/html/build185.htm
The Playstation 2 cables' coloring differs from different production runs. Please refer to the diagram below to
verify the color coding on your cable.
http://www.lynxmotion.com/images/html/build185.htm 4/8
2/26/2018 www.lynxmotion.com/images/html/build185.htm
http://www.lynxmotion.com/images/html/build185.htm 5/8
2/26/2018 www.lynxmotion.com/images/html/build185.htm
http://www.lynxmotion.com/images/html/build185.htm 6/8
2/26/2018 www.lynxmotion.com/images/html/build185.htm
Troubleshooting
General Troubleshooting
The yellow power (PWR) LED should glow if the regulator is getting the proper power. You must make sure to
connect the battery or wall pack with the proper polarity. This means the red wire is positive (+) and the black
wire is ground (-). If you connect the battery or wall pack with the polarity reversed, the regulator and the
microcontroller can be instantaneously and permanently damaged!Check your wiring carefully before applying
power.
If SSC-32 is connected to RX/TX/Gnd (hardware serial port on pin 0 and 1) it must be removed while
programming! This is because the USB port shares the same IO pins.
The maximum voltage for VL is 12vdc. If you use a higher voltage the regulator may overheat and you could get
burned!
Confirm that the Atmega 328 chip's notch is aligned with the socket's notch.
http://www.lynxmotion.com/images/html/build185.htm 7/8
2/26/2018 www.lynxmotion.com/images/html/build185.htm
In the Arduino programming environment, make sure you have selected "Arduino Duemilanove w/
ATmega328".
The Lynxmotion PS2 controller has issues with the analog mode on the Lynxmotoin left pad (often displaying 0
rather than analog values). We suggest using the joysticks as alternative analog inputs.
http://www.lynxmotion.com/images/html/build185.htm 8/8