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
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'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!

Second Prize in the
3D Printing Contest

Second Prize in the
Pocket Sized Electronics

Participated in the
Epilog Challenge V
4 People Made This Project!
- AndrésR110 made it!
- bonnetx made it!
- DmitryM8 made it!
- JasonRP made it!
82 Comments
Question 1 year ago on Step 7
Can we use same code to the Arduino Uno?
8 years ago on Introduction
If using a aaa pack you need almost 8 batteries a AA pack fits in the back of his head or use a rechargeable 9v battery
Reply 2 years ago
plz send me the codes or the links to download it plz
Reply 8 years ago on Introduction
Thank you!
3 years ago on Step 2
Servo centering script for arduino should be:
#include <Servo.h>
Servo myservo;
void setup()
{
myservo.attach(9); // attaches the servo to digital pin 9
}
void loop()
{
myservo.write(90); //tells the servo to go to the center position
}
5 years ago
Can i use arduino uno
5 years ago
code please?
6 years ago
Thanks for this opensource project Otto DIY was possible! https://www.instructables.com/id/Otto-Build-You-Own-Robot-in-Two-Hours/
6 years ago
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?
6 years ago
Nice project, thanks for share!
6 years ago
sir i have a dought can uh plz say me how to connect these servos to arduino mini..
thanks in advance
6 years ago
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 ? :)
7 years ago
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?
Reply 7 years ago
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
Reply 7 years ago
Thanks; I saw the Poser code but was really looking for the standalone Arduino code. If you could post it that would be great! :)
Reply 6 years ago
If you are still looking for stand alone code for your Bob you can check out our instructable https://www.instructables.com/id/ICBob-a-Bob-Inspir...
It has some code to get you moving. Don't forget the VarSpeedServo library
Reply 6 years ago
Thank you, that project looks great! I will definetely try it out when I have some time. :D
6 years ago
Hey! my computer doesn't detect DAGU MINI MICROCONTROLLER?
I need HELP?
7 years ago
That is so neat! I like how aesthetically pleasing and simple it is, yet its functionality and potential is seemingly endless. Good job man!
Reply 7 years ago
Thank you very much