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)
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
servo.attach(9); // attaches the servo to digital pin 9
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 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!
3 People Made This Project!
We have a be nice policy.
Please be positive and constructive.