Source code is also included in the video for programming the bot !
So are you ready to build your electronic pet ? Lets begin..
We first start by detailing the parts required,then move on to actual step by step construction and finally code the arduino to bring our robot to life!
But first here's the video tutorial :
Step 1: Materials Required
Here you'll find a text explanation only with some snaps.
So lets get started by listing the parts required.You will need :
Arduino (I used a Duemilanove,You can use another) -1 or Arduino clone
Castor wheel -1
Useless CD's -2
Hot glue gun and sticks -1
Li-Ion Battery Pack(I used 8.4V pack) or AA rechargeable cells (Total Voltage > 8V)
Marker ans Scale -1
Continous rotation servos.(I used1.7Kg ones) -2
Soldering Iron (30W),solder reel and stand -1
Ultrasonic Distance Sensor (PWM O/P) -1
USB Cable -1
and jumper wire
Oh,and also electronics(atmega 328,5v regulator,16 mhz crystal,22pf capacitors,header pins)..You get the idea.NEXT lets start construction.
Step 2: Construction Step #1
2)Measure the dimensions of your servos(Length,width and height).
3)Make a notch on one end of the diameter according to height of the servo.We make a mark according to height because we will be laying the servos horizontally.
4)Extend the notch into a line according to width of the servo equally on both sides of the notch.
5)Place the servo on the CD to see if it fits perfectly.
6)Do the same process on the other side.