Instructables

Arduino animatronics- make your awesome costumes more awesome!

FeaturedContest WinnerContest Winner

Step 2: Building the controller

Picture of Building the controller
ServoBoardConstruction2.jpg
ServoBoardConstruction3.jpg
ServoBoardConstruction4.jpg
ServoBoardConstruction5.jpg
ServoBoardConstruction6.jpg
ServoBoardConstruction7.jpg
ServoBoardConstruction8.jpg
ServoBoardConstruction9.jpg
ServoBoardConnections.jpg
 
Tools and materials

Soldering iron- A good quality soldering iron is a must. I received an Aoyue 2900 soldering station a couple years ago for Christmas and it's been great. You won't believe the difference once you start using a good soldering iron.
http://sra-solder.com/product.php/6363/22


I also use a small tip for soldering small surface mount components-
http://sra-solder.com/product.php/6397/0

Wire cutters/wire strippers- Small flush cutters are the best. If you don't have wire strippers or cutters then these will work well-
http://www.adafruit.com/index.php?main_page=product_info&cPath=8&products_id=152
http://www.adafruit.com/index.php?main_page=product_info&cPath=8&products_id=147

Tweezers- Get some small tweezers to work with surface mount components. Here's an inexpensive set-http://sra-solder.com/product.php/6409/79

Magnifiers- Being able to see what you're working on makes a world of difference.
http://www.adafruit.com/index.php?main_page=product_info&cPath=8&products_id=291

Multimeter- Most any multimeter will work. You don't need to spend big $$$. I personally own a Wavetek Meterman 16XL and it's great. If you don't already own a multimeter and are really getting into hobby electronics then this meter will probably do everything you could ever want-
http://www.adafruit.com/index.php?main_page=product_info&cPath=8&products_id=308


Servo board PCB-
http://batchpcb.com/index.php/Products/47581

Arduino Pro Mini- http://www.sparkfun.com/products/9220

USB mini-B connector- http://www.sparkfun.com/products/587

capacitors- 2 ea 1210 package 1uF SMD ceramic capacitors
http://us.element-14.com/kemet/c1210x105k5ractu/capacitor-ceramic-1uf-50v-x7r-1210/dp/94M5711

resistor- 1ea 1206 package 1K Ohm SMD resistor
http://us.element-14.com/welwyn/wcr1206-1k0fi/resistor-thick-film-1kohm-250mw/dp/98K2656

LED- 1 ea 1206 package SMD LED
http://us.element-14.com/vcc-visual-communications-company/vaol-s12rp4/led-2x1-5mm-red-133mcd-624nm/dp/27R0088

JST connector- 1 ea
http://www.sparkfun.com/products/8612

MAX1555 IC- 1 ea
http://www.sparkfun.com/products/674
http://us.element-14.com/maxim-integrated-products/max1555ezk-t/ic-battery-charger-li-ion-340ma/dp/59J2761?Ntt=MAX1555

Straight break away header pins - 2ea 40 pin row 
These come in really handy so it's always good to get extras to have on hand
http://www.sparkfun.com/products/116

Female break away header pins- 2 ea 40 hole row
These also are super handy to have around
http://www.sparkfun.com/products/115

Single cell LiPo battery- 1ea (you can use any capacity you like.)
http://www.sparkfun.com/products/339

USB mini-B cable- 1 ea
Odds are you've already got one but if you don't here you go-
http://www.sparkfun.com/products/598


Assembling the servo board

The first thing to do is build the charging circuit. I usually start with the smallest components first. I've found the easiest way to solder SMD parts is to get a tiny bit of solder on your soldering tip and touch it to one of the component pads on the PCB. Then hold the component in place using tweezers and heat up the pad and component pin- this allows you to get the part attached to the board so you can check its alignment for the rest of the pads. Then simply solder each of the remaining pads. There is a great series of SMD soldering tutorials here- http://www.sparkfun.com/tutorials/36
 

Begin by soldering on the MAX1555 IC (labeled U1) -this can only go on one way. Next comes the LED- make sure to check the polarity as it is labeled on the PCB (the LED cathode is connected to one end of R1.) Then solder resistor R1 followed by the capacitors C1 and C2. These can be soldered on either direction. Next comes the mini USB connector- this one is a bit tricky as the pins are positioned nearly underneath the connector. Now solder on the JST connector. Make sure to double check your soldering job for these connectors as they receive a fair bit of mechanical stress.
 

Now test your charging circuit. Plug in a USB cable and check the voltage at the JST battery connector. It should read about 4.2-4.3V. Now connect the LiPo battery. If everything is OK the small LED should turn on, indicating the battery is charging. Disconnect the battery.
 

Now solder on the pins to connect the Pro Mini board. This is done by soldering on the break away straight header pins. First insert the long pin ends into the PCB, flip the board over and solder them in place. Double check your solder joints. Now flip the board over and place the Pro Mini board in place on top of the exposed pins and solder all the pins in place. Next solder the remaining straight pins into place in the digital out positions and the 3.3v port along the bottom of the board.
 

To finish the board solder all the female headers in place. The best way I've found to cut the female headers is to remove a pin where you want to make a cut- just yank the pin out the bottom using a pair of pliers. Then take wire cutters and cut through the opening left by the pin. Now take a file (or sandpaper) and smooth out the cut edge.
 

Make sure your board is getting power by plugging a USB cable into the mini USB port on the controller board. The red LED on the Arduino Pro Mini should light up.
 

That's it- your controller is ready to go!

 
Remove these adsRemove these ads by Signing Up
TryChick1 year ago
Honus. Great tutorial. Tried the link to the PCB board and it comes up as 404 missing. Am I supposed to upload your zipped file as is to batchpcb and and they do a run with however many boards I requested when they get enough to send an order off?
Honus (author)  TryChick1 year ago
Well I've been trying to get the design through Batch PCB but no luck- lots of people are having the exact same problems with their designs. I know the design is fine as I haven't changed any of the design parameters and everything checks out in EAGLE. This has been going on for months and they still haven't fixed it. Looks like I'm off to find a new supplier...
Honus (author)  TryChick1 year ago
I made a couple of revisions to the board a few months ago and Batch PCB has been having problems with their system for several months so I haven't been able to get the new design uploaded to their service. I'll try again tonight after I get home from work. If it doesn't work I'll find a new service- possibly Seed studio.

If you want to send the file to another service you need to open it in EAGLE and then bundle the necessary gerber files (usually seven files total) and send them as a .zip file to your service.