video on last step.
Step 1: Build a Prototype
Before you make a large, high power robot, it's good to make a smaller scale prototype. I made a simple walking robot using
= Brains: PIC16f877A,
= Actuators: two small geared pager motors (http://www.solarbotics.com/products/gm10/)
= Actuator Control: an L293 H-bridge,
= Body: I used one of those thin metal things that cover your unused card slots at the back of your PC.
= Fasteners: Everything was kept together by double sided tape and twist ties and some small screws from an old computer case.
Info on how to use the PIC and the L293 h bridge motor controller are covered in my previous instructables:
you can download the code I used (LWalker.bas).
The gears on the motors are important because they add torque (needed for a walking robot since it has lift its own weight).
Step 2: Hardware(1): Stuff You'll Need
= two 24 volt wheelchair motors I had bought a while ago (to make a bot for the battlebots tv show, didn't happen) (from Ebay)
= two victor 883 24volt motor speed controllers (from ebay, originally sold by IFI robotics)
four 12v 5ah batteries (two in series for each motor) (from allelectronics.com)
= two planks of wood stolen from a contruction site
= two 10 foot pieces of EMT electrical conduit (from Lowes)
= a conduit bending tool (Lowes)
= bicycle inner tubes (go to a local bike shop and ask for popped tubes from the trash)
= u bolts, screws, locking nuts, locking washers, a ratchet wrench, hack saw, power drill
= friction feet thingees (you slide them onto table legs for friction) (from a local hardware store)
Step 3: Hardware(2): Bend the Legs
(2) bend the legs using the conduit bending tool into whatever shape you think will work (I had to try a couple different angle bends before it wort of worked).
One thing about shaping the legs, don't make them flare out too far foreward and back. If the legs flare out too much as the robot walks they will get further and further apart and the robot will sag in the middle.
Also, don't flare the legs out to the left and right of the robot, this makes it more stable but also a LOT harder for the robot to move the legs up and down. Flaring them inwards towards the robots body axis made a huge beneficial difference on my robot.
In my experience it is very hard to do double bends with steel conduit (see S shaped bend in diagram below). A big part of conduit bending is making sure you have enough weight distributed in the right places (to hold down different parts of the conduit, etc). So it's goo to have very heavy objects around, like a radiator, or big people.
Step 4: Hardware(3): Leg Attachment
try to make it so the legs can be somewhat easily detached from the motors so that you can modify the leg bends if needed after later testing (after you finish the electronics)
Step 5: Electronics(1): PIC micro and the PAK VIII
I used a PIC microcontroller because my original intention was to put the batteries, controller, etc all on the robot to make it autonomous, but I had to rush to complete it because I was building it for an event (nyc idiotarod), so I just used long extension cords to supply power to the robot from an external power source.
To allow the PIC to control the motors while also doing other stuff (like listening for your commands, or whatever), you'll want to use a pulse width modulation (PWM) coprocessor such as the PAK VIII. This chip takes in a clocked in value from the PIC and takes care of sending the correct pulse width commands to the Victor 885 speed controller. Figuring out how to interface to it from the PIC via software was a bit of a pain, you can download the code I used (LBigWalk.bas).
The circuit diagram for how to connect everything together is below.
TO SEE THE CIRCUIT IMAGE FULL FOLLOW THE LINK BELOW:
Step 6: Electronics(2): Make the Control Switches
Step 7: Electronics(3): Motor Speed Controller and Batteries
These pulses are sent to the two Victor 885s from the PAK VIII described previously. Datasheets and other information on using the Victor 885 is included below. I also attached a datasheet of the batteries I used.
The Victor 885's LED will turn red when it's running the motors full reverse, green for full forward, and orange for neutral. The LED will blink if it's not receiving any pulse width modulation (PWM) commands.
Step 8: Run It