Introduction: SimpleWalker: 4-legged 2-servo Walking Robot

Arduino (own design with atmega88) controlled walking robot, made with two RC servo's and 1 A4 of sheet material

Step 1: Get the Materials

materials needed:

1 sheet of birch plywood (4mm) of 21 x 29.7 cm (A4) (this can be any material, really. You can also use scrap bits, and cut the individual parts from them)
2 RC servo's (standard size) with mounting materials
8 screws m2 x 8 including nuts
8 screws m3 x 12 including nuts
2 screws m3 x 10
1 battery container with clip, wires
4 niMh batteries (preferably rechargeable..since servo's use quite a bit of power)
1 arduino or compatible microcontroller board (cheapduino)

Step 2: Make the Parts

The parts can be cut or sawed out of one sheet of 4mm thick material, such as polycarbonate glass or wood. In this example I used 4mm birch plywood, which has been cut using a laser-cutter in a Fablab. The pdf with parts can be obtained from the page about the simpleWalker on my blog. For the polycarbonate version on the blog I have used a band saw instead of a laser cutter.

Step 3: Mount the RC Servo's

The servo's can be mounted using 4 screws each. Using wood, self-tapping screws will suffice. Otherwise use nuts and bolts.

Step 4: Assemble the Legs

Mount the servo-plates on the leg-plates using m2 screws. You might need to enlarge the drilled holes a little bit. The m2 screws don't need to take much force, they're mainly used as placeholders. The central m3 screw that bolts the leg to the servo shaft will take the load.

Don't tighten the central m3 screws yet. First you need to discover the servo's center-position in software. After centering the servo's (in arduino code with a servo range of [0-180] it means writing the value '80' to the servo) you can mount the legs at a straight angle.

Step 5: Add the Electronics and Battery

Battery holder and the microcontroller board are mounted with double-sided sticky tape. (the one with foam-core). The microcontroller board that's been used is a breadboard version of an arduino-inspired design which I dubbed the 'ottantotto' since it uses the mega88. You can use any microcontroller board you like (A normal Arduino or Arduino nano or mini will do fine). You can also try to build the ottantotto design on breadboard, as described on the ottantotto wiki

Step 6: Upload the Program

The arduino program is very straigforward. I used an RS232 dongle made on breadboard to upload the program. Again the schematic, bootloader sources etc. can be found on the wiki. The arduino sketch:
<code>
#include <Servo.h>
Servo frontservo,backservo;
char forward[] = {60,100,100,100,100,60,60,60};
void setup()
{
frontservo.attach(9);
backservo.attach(10);
}
void loop()
{
for(int n=0;n<4;n++)
{
frontservo.write(forward[2*n]);
backservo.write(forward[(2*n)+1]);
delay(300);
}
}
</code>

Step 7: Now Turn in on and Let It Go....

See the robot in action on youtube:


all the resources used in this instructable can be found on my blog on http://retrointerfacing.com

Epilog Challenge

Participated in the
Epilog Challenge