Make a Simple Bipedal Humanoid Robot (Servo Walking Robot)

177K507121


Intro: Make a Simple Bipedal Humanoid Robot (Servo Walking Robot)

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 :)





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!

96 Comments

brother can we use a 360 degree servo motor??........pls give a reply brother
Es lo menos que puedes hacer,enviar el código para que la peña lo pueda hacer digo yo.
No se porque dice de comentar si luego no contesta a los seguidores,podrías pasar el código a la gente que te lo pida,e
Hola,por favor,soy nuevo en esto,alguien me podría ayudar en este proyecto de lo agradecería de corazon

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

I have a small video of the one i made:

que guapo tio,me puedes pasar los códigos para montarlo?,te lo agradecería mucho,quiero hacer un bot a mi hijo pero soy nuevo en esto,te lo pido por favor sería mi sueño gracias,te dejo mi correo por si me puedes ayudar,ariascarrascoj@gmail.com
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?
No, breadboards are meant to save you all the soldering
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?

the robot cant balance because your material or the program ?

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

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

Does the walking algo involve any control systems?

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.

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

More Comments