From XinCheJian
Jump to: navigation, search

BoArduino Workshop


Thanks to Phillip Torrone and Limor from adafruit/ladyada for giving XinCheJian permission to create a batch of 100 boArduinos.

Chapter 1 Assembly

  • learn to solder with Mitch Altman


1x atmega328p-20pu
1x 28-pin socket 
1x 16.00 MHz ceramic oscillator (x1)
1x 2.1mm Power Jack 
1x 1N4001 diode (d1)
1x 5V regulator (7805)
4x Bypass capacitor 0.1uF ceramic (c1, c2, c5, c6)
1x Electrolytic capacitor 47uF / 25V (c3)
1x Electrolytic capacitor 100uF / 25V (c4)
1x 10k ohm 1/4w resistor (r1)
2x 1k 1/4w resistor (r2,r3)
1x 3mm red LED (d3)
1x 3mm green LED (d2)
1x 6mm tact switch (sw1)
1x 3x2 ICSP pin header
1x 40 pin male header
1x jumper (set to int not ext/usb)
1x PCB (red only for xinchejian!)

Here is the pcb layout: Boarduino PCB layout.png

If your kit has extra parts in the programmer bag, these are to make an Arduino TV-b-gone on the supplied breadboard.

The LED should blink on for half a second and off for half a second in a loop when applied power, if it doesn't this was Lio forgetting to program it correctly, take your boArduino to minlin and have them flash the bootloader using the ICSP pins

Chapter 2 Programmer

cp2102 pinout

boarduino -> cp2102 solder on a 1pin to the DTR line

rx -> RXD
tx -> TXD
+5V -> 5V
0V -> gnd

Note the "straight through" connection of rx -> RXD and tx -> TXD. This is just how these boards are marked. The actual signals connected are rx to tx and tx to rx.... that is how serial communications works!

The colours of your cable may not match above. A good idea is to use the common convention of green or black for ground and red for the 5V. another approach is simply to keep each wire in order (as much as possible), so it is easier to see how they are connected. Arduino-cp2102.jpg

Chapter 3 Arduino Environment

  • installation of Arduino.. (get from community USB) 1.0
  • SiLabs driver for: osx should be build in but, linux is built into 2.6 kernels, windows try using the auto install
  • blink test

arduino > file > examples > basics > blink

Chapter 4 Using it

  • Examples - rocket ship
  • Examples - RoboRacing
  • Examples - ...

See also