BoB the BiPed

116,639

480

79

Published

Introduction: BoB the BiPed


Did you buy an arduino after seeing all the cool instructables and now you tired of just making LEDs blink? Are you envious of all the cool walking robots people are building but don't have the experience or cash for all of those servos and expensive brackets? Here is your solution meet BoB the 4 servo mini biped robot. Bob is both easy to build and very cheap to assemble and yet is loaded with personality and endless expansion capabilities.

So how did BoB come to be?
After wanting and drooling over all the 3d printers(still don't have one) and cool stuff being built. i was offered and opportunity to design a robot and have it printed for me and so bob was born.

What are future plans for BoB?
First i would like to explain a bit about my school experience. When i was younger i dreaded school in fact the only thing that got me through the day was my tech classes. They made school enjoyable and let me into the robotics hobby i actively participate in today. Using BoB i would like to give back. The first BoB was created due to a very generous offer and since i have made many improvements. But without a printer to test each design they are just untested files. My long term Goal is to make BoB into a cheap and easy to assemble class room activity to help children get their feet wet in the world of robotics, to give those hands-on kids like me something to look forward to, and to give them an introduction to new technology that is making waves and if the future in many fields. so my next goal is to attempt to obtain a printer be it by winning it, building it over a period of time (my funds are very tight i have a child of my own) or raising the money to continue my work.

so are you ready to build?

Step 1: Collect Your Parts!

the printed parts for bob can be found HERE
and the original build page HERE
the parts are currently at version 2.0 while they look different then the prototype pieces in this instructable. Assembly will be the same as only cosmetic changes were made. I will update with the newer version if and when i get a printer.

Parts you will need:
Printed parts set (settings used to print proto pieces can be found on thingiverse page)
4 9g micro servos
4xAAA battery pack (or any suitable power source)
parallax ping sensor(optional, also updating files for cheaper alternative)
micro controller of choice (smaller is better)

Tools needed:
phillips head screw driver
nail file or sand paper


Step 2: Assemble the Legs.

my robot was already assembled and taken apart for this instructable..this is where i fail and couldnt find my small screw driver to fully take down the legs. i have provided as many pictures as i can.

step 1: center the servos!
for arduino connect the servo signal cable to D9 and the servo pos and neg to 5V and Gnd on the arduino.
open up the arduino IDE and type this in
#include

Servo servo;

void setup()
{
servo.attach(9); // attaches the servo to digital pin 9
}


void loop()
{
myservo.write(90); //tells the servo to go to the center position
}

do that for each leg servo and assemble like in the pictures

Step 3: Time to Get Sandy!

even the best 3d printers make parts that need a little fit work so...Get sanding! 
i personally use a nail file, course side first, finer grit after. sand some then test fit and keep doing so until it all fits together nice.

the two areas that will need work are shown below...the holes for the servo and ping sensor (if your using one)

after all your parts are fitted slide them in and secure..i made mine fit without the use of screws (but the screw holes are there to use!)

Step 4: Mount His Brain!

where you mount the micro controller is entirely up to you. the one i chose to use was a bit to big to fit internally a small controller like an arduino nano or pro mini will have no problem fitting in the head. my solution was to drill two holes and mount the board on standoffs to the back of the head

Step 5: Wire It Up!

run the wires from inside (battery pack, servos, ping) out of the extra hole in the base. and plan your connections...i take a piece of paper and lay the connectors out and label what they are and where they are going. just pay close attention to the polarity of the connectors. this is where the micro magician shines as all the pins are broken out to servo style connectors.

Step 6: Program It and Let It Go!

hook all the wires up and open the arduino IDE. 
load the code found HERE and make the changes needed. it is a well comment code and credit goes to LMR member Protowrxs for his awesome code

the changes to be made will be pin assignments as well as minor tweaks to center the legs and feet 
first find the part of the code in the first picture the first line of each group assigns the pins to the servos change those to reflect you setup

and the second picture shows the group that lets you tweak the servo positions change the first of each group to numbers that let BoB sit straight and level

after all that is done..load the code and let him rip! BoB will walk forward and if a sensor is attached he will walk until an object stops him and then avoid anything that comes near him.


Step 7: The BoBs Around the World

the BoBs on this page have been made by people all over the world. and are just a few around. 
most come from members of letsmakerobots.com  and they are doing some amazing things.


this first video is of LMR memeber jax's BoB dancing as he claps


Step 8: BoB Multimedia + Future Plans

here i will post videos and pics as bob improves

here's a short video of BoB walking...kind of. my batteries for him were dead so i mounted a lipo pack to the top of his head and it threw off his COG(center of gravity) making him walk poorly, i also see that without a very smooth walk cycle he tends to slip and slide. 





Future Plans:
Future plans include giving BoB a voice (even if its just beeps), giving his feet some traction, Bluetooth control, a 6dof upgrade called RoB, an arduino Board backpack that can be screwed in to existing holes so no drilling is needed...and lots more...each will get its own instructable!

Thanks for taking the time to read
HAVE FUN AND PLEASE VOTE!
3D Printing Contest

Second Prize in the
3D Printing Contest

Pocket Sized Electronics

Second Prize in the
Pocket Sized Electronics

3 People Made This Project!

Recommendations

  • Make it Move Contest

    Make it Move Contest
  • Woodworking Contest

    Woodworking Contest
  • Microcontroller Contest

    Microcontroller Contest
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

79 Comments

code please?

Thanks for this opensource project Otto DIY was possible! https://www.instructables.com/id/Otto-Build-You-Own-Robot-in-Two-Hours/

I'm looking to make ac couple of these guys in my Electronics class. But I don't seem to be able to get hold of the original code for the nano. I found one that will walk but doesn't incorporate the avoidance. Has anyone got a link to where I can get the code please?

Nice project, thanks for share!

sir i have a dought can uh plz say me how to connect these servos to arduino mini..

thanks in advance

Hi, I'd like to try this project as well but unfortunately can't find the code going with it. The link http://letsmakerobots.com/node/35877 is broken... Where could I find a code ? :)

The link ( http://letsmakerobots.com/node/35877 ) to the Arduino code is dead. Does anyone know where a copy of this code can be found?

4 replies

There are some files on the thingiverse page for a software/code combo to get you going. Let me k ow if that helps. I will update the intructable later as well with the zip file

Thanks; I saw the Poser code but was really looking for the standalone Arduino code. If you could post it that would be great! :)

Thank you, that project looks great! I will definetely try it out when I have some time. :D

Hey! my computer doesn't detect DAGU MINI MICROCONTROLLER?

I need HELP?

That is so neat! I like how aesthetically pleasing and simple it is, yet its functionality and potential is seemingly endless. Good job man!

1 reply

Thank you very much

my code wasnt compiling as well. So I removed the "serial.h" liberie (since it is not being used) and then the code worked =)

Has there been the code for hc sr04 been released yet?

The code u given was not compiling can u help me please

I have hc-sr04 ultrasonic sensor distance sensor instead of the ping sensor what changes are needed in the code ??

What's the difference between v1 and v2 files?