Easy Biped Robot

About: Father of 3, husband of one, I never can stand still and I am constantly either fixing something or building something.

Intro: Easy Biped Robot

I have been developing this robot for the past year to use it as a platform to teach robotics.

With this robot I teach how to move servos with direct movements and with controlled movements using "FOR"

The robot can dance, walk and even run.

You will need:

Arduino Nano

14 male-male wires

small protoboard

4 SG90 servos

1 9V battery

1 9V battery connector

2 rubber bands

Step 1: Some Examples of the Routines That This Robot Can Perform

Step 2: 3D Model to Print

Follow this link to download the model.

It is scaled to fit SG90 Servos. No glue is needed. All is snap-on.

Step 3: Putting Together the Robot

Play the video to learn how to assemble the robot.

Pay special attention to the position of the servo shafts. The shafts have to be exactly centered before assembling the robot.

To center your servos, you can run this program once your wiring is done:

#include <Servo.h>

Servo rightfoot;

Servo rightthigh;

Servo leftfoot;

Servo leftthigh;

void setup()

{

rightfoot.attach(9);

rightthigh.attach(5);

leftfoot.attach(3);

leftthigh.attach(11);

leftfoot.write(90);

leftthigh.write(90);

rightthigh.write(90);

rightfoot.write(90);

}

void loop()

{

delay (500);

}

Step 4: Code Example

#include <Servo.h>

Servo rightfoot;

Servo rightthigh;

Servo leftfoot;

Servo leftthigh;

void setup()

{

rightfoot.attach(9);

rightthigh.attach(5);

leftfoot.attach(3);

leftthigh.attach(11);

leftfoot.write(90);

leftthigh.write(90);

rightthigh.write(90);

rightfoot.write(90);

}

void loop()

{

//primer movimiento pata derecha

leftfoot.write(90);

rightfoot.write(110);

rightthigh.write(90);

leftthigh.write(90);

delay (500);

//segundo movimento pata derecha

leftfoot.write(90);

rightfoot.write(90);

rightthigh.write(90);

leftthigh.write(90);

delay (500);

//tercer movimiento pata derecha

leftfoot.write(90);

rightfoot.write(90);

rightthigh.write(110);

leftthigh.write(90);

delay (500);

//cuarto movimento pata derecha

leftfoot.write(90);

rightfoot.write(90);

rightthigh.write(70);

leftthigh.write(90);

delay (500);

//primer movimiento pata izda

leftfoot.write(70);

rightfoot.write(90);

rightthigh.write(90);

leftthigh.write(90);

delay (500);

//segundo movimento pata izda

leftfoot.write(90);

rightfoot.write(90);

rightthigh.write(90);

leftthigh.write(90);

delay (500);

//tercer movimiento pata izda

leftfoot.write(90);

rightfoot.write(90);

rightthigh.write(90);

leftthigh.write(70);

delay (500);

//cuarto movimento pata izda

leftfoot.write(90);

rightfoot.write(90);

rightthigh.write(90);

leftthigh.write(110);

delay (500);

}

Share

    Recommendations

    • Plastics Contest

      Plastics Contest
    • Optics Contest

      Optics Contest
    • Halloween Contest 2018

      Halloween Contest 2018

    Discussions

    0
    None
    Gadisha

    3 months ago

    Thanks so much for sharing! I'd like to try and make something like this in the future (this is the main reason that I got interested in Arduino and Electronics which I am now trying to learn)so this Instructable is very inspirational to me.
    I really like this robot because it walks on two feet and has some great moves! ;)