Make a Simple Bipedal Humanoid Robot (Servo Walking Robot)

163,152

503

96

About: Love simple robotics, electronics, sensors, arduino projects and generally building, modifying and opening up stuff

Bipeds are really cool because they are by far the most recognizable kind of robot. Companies have spent decades and millions to make these things. I've been wanting to make a bipedal bot for sometime now but most of them need a lot of motors and are pretty expensive to make.
I managed to make a simple bipedal robot at home out of essentially four micro servo motors (which are pretty cheap), an arduino and a breadboard. The bot can walk, kick, dance, navigate slopes etc.
Moreover since it's an arduino you can always add sensors or other body parts pretty easily and experiment with the bot.
ALSO IF YOU LIKE THE INSTRUCTABLE PLEASE VOTE FOR IT IN THE INSTRUCTABLE CONTESTS :)





Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: What You Need:

1) Micro Servo's (4 nos) : http://www.hobbyking.com/hobbyking/store/__662__HX...
2) Arduino (1 nos) : I used an UNO R3 but anything works
3) Mini Breadboard
4) Wires, Glue, Epoxy/Sugru/Clay/Hot-Glue-Gun.
5) Bits of cardboard

Yup. That's all you need to start. :)

Step 2: Attach Motors Together:

Use your epoxy/Hot-Glue/Sugru to attach two motors perpendicular to each other as shown in the pictures. Make two sets of these. Each set forms a leg. Glue the two legs together. I used a broken piece of plastic to ensure that the legs are glued flat and aren't angled with each other.

Step 3: Wiring!

Now connect the for motors on the breadboard. The last pin in each motor wire is brown signifying NEGATIVE. On the breadboard connect all the left side pins to one common negative pin. Similarly connect all the middle pins to one common POSITIVE pin. These common pins are now connected to the Gnd (for Negative) and +5V (for positive) respectively. The first pin goes into the PWM pins of the arduino. If you've used servo's with an arduino before you'll find this step awfully simple to understand. If you've never used arduino's and servo's before I recommend you view the following link to better understand how they work.
http://arduino.cc/en/reference/servo

http://arduino.cc/en/Tutorial/sweep

http://playground.arduino.cc/ComponentLib/servo

Step 4: Assembly:

Now attach a piece of cardboard to the top of the legs and mount the arduino and breadboard on to it. Your robot should begin resembling a body with legs now. Wrap any excess wiring that may be present with tape into the robot. Hanging wires disrupt the robots balance while walking.

Step 5: Feet and Balance:

Take two square pieces of card and stick them to the bottom of the legs to give the bot bigger feet and better balance. I used clay to make the join look neater.
Structurally your bot is now complete!

Step 6: Programming:

Programming is the hardest part of this bot but I have a few programs that I've already managed to get working with this bot. Load them onto the robot and watch it do wonders!
Once you're done loading a program onto the bot you can use a USB-Wall pug (Like those that come with modern smartphones) to run the bot directly off the grid. Although in this configuration the power wire can occasionally disturb the bots balance making with wobble while walking.

Step 7: ENJOY!

Your bot is done. Remember that this isn't the end. The above set up is very simple so you can always add to it.
Two motors on the side can make arms and complete a humanoid. Moreover you can easily add sensors to the bot and make it do different stuff. For example, by adding a tiny LDR and a servo controlled pen refill I made the bot protect a car. It fired a projectile if anything came in the way. Have a look at the video.

(Too see how to add an LDR to an arduino : https://www.instructables.com/id/Laser-maze-Securit... )
Hope you liked the instructable. Feel free to comment below. :)
Enjoy!

Move It

Participated in the
Move It

Automation Contest

Participated in the
Automation Contest

2 People Made This Project!

Recommendations

  • Instrument Contest

    Instrument Contest
  • Make it Glow Contest

    Make it Glow Contest
  • STEM Contest

    STEM Contest

96 Discussions

0
None
kiyac2005

Question 6 months ago on Step 3

I know this is really late, lets hope this guy is still on here, but I am a programmer who wants to build a bot, do the pins need to e soldered to the breadboard?

1 answer
0
None
Carlos DSkiyac2005

Answer 6 months ago

No, breadboards are meant to save you all the soldering

0
None
Cale5090

7 months ago

Just saw this. Trying to make a project for tech and am trying to do this... i don't fully understand how the wiring goes, could somebody post a high quality upwards view of the connections?

0
None
nielyayPrakash agarwal

Reply 1 year ago

the robot cant balance because your material or the program ?

0
None
SamsonT4

3 years ago

the sketch isn't working for me I get this error "redefinition of 'Servo rightfoot'"

1 reply
0
None
nielyaySamsonT4

Reply 1 year ago

can i see your code? you should int correct code, it should be like this :

#include <Servo.h>

Servo rightfoot;

int pos = 0;

void setup()

{

rightfoot.attach(pin);

}

void loop()

for (pos = 0; pos <= 60; pos += 1)

{

rightfoot.write(pos);

delay(15)

}

etc.

or

open arduino > examples > servo > sweep

0
None
pkumar sharma

1 year ago on Step 7

Does the walking algo involve any control systems?

0
None
Rohith 1234 李白

Reply 2 years ago

Download the codes in your PC and open it in the arduino app in your pc. Then click upload

0
None
JordansanjRohith 1234

Reply 2 years ago

Im sorry..... i got the codes
Should i use netbeans to upload ?

0
None
MikkelO

2 years ago

Fun little project, with nice and easy instructions. Thanks for sharing.

I have a small video of the one i made:

0
None
MilinP2

2 years ago

my servo motor first goes to the refence position and then takes all the turns

and i want to stop this direct he movemen tit should take which i progrmmed.

0
None
priyav21

2 years ago

Great Project, planning to work on this. How much time does it take to build this project?