'BOB' V2.0

\
This is a sequel, so to speak, of the 'Obstacle-Avoiding Robot with a Personality' instructable. In that instructable, I decided to call the robot 'BOB'. BOB had quite a few flaws and drawbacks, so I have now improved BOB in a few ways. (He? It?) now has better:

  • Stamina (improved power system)
  • 'Vision' (extra sensors)
  • 'Nerves' (connections are made more securely)
  • Brainpower (different microcontroller)

Bob now uses a switching regulator and a 9.6V RC battery for power, better sensor mounts, an extra GP2D12 IR sensor, a panning servo for the ultrasonic rangefinder, and an AVR ATmega168 microcontroller on an Arduino development board.

I have always loved building projects with microcontrollers, and what would be better than building a robot with one to showcase the microcontroller's fullest abilities!
 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts List

Parts List
«
  • ArduinoNG.jpg
  • DSCF6106.JPG
  • DSCF6108.JPG
  • DSCF6118.JPG
  • DSCF6122.JPG
  • bb_002.jpg
  • is.aspx.jpg
  • futm0028.jpg
  • last photo ←
»
Here's a list of what BOB comprises of, and where to get them:

Servos:

  • 1x Futaba S3003 (Hobby Servo) - Hobbytown USA, Futaba.com
  • 2x Parallax Continuous Rotation Servos - Parallax.com, Acroname.com

Prototyping Hardware/Cables:

  • 1x 3-Wire Sensor Cable - Any online robotic parts reseller. I got mine from Trossenrobotics.com.
  • 4x 'Board Mounting Analog Jacks'. - I got these HERE. I think you can also get them from Digikey.
  • Breadboard - Radioshack
  • Various lengths of wire (for the connections on the breadboard). I used a breadboard because I HATE soldering. The breadboard is used for making all the connections between the sensors and the microcontroller.
  • Male Headers - I've had some I got from sparkfun HERE.

Sensors:

  • 3x Sharp GP2D12 IR Sensors (with 3-wire cables) - Acroname, Trossen Robotics (that's where I got mine), Devantech
  • 'Ping)))' Ultrasonic Rangefinder - Parallax.com, I think I've seen it other places online...

Power:

  • 9.6V Ni-Cd Rechargeable Battery (or any other 8-AA cell battery pack/any rechargeable batter yback above 9V) - I had this one from a long time ago when it was once used for a RC racecar. You can get these practically any hobby shop.
  • 5V 1A Switching Voltage Regulator - Dimension Engineering.com or Trossen Robotics (where I got mine)
  • Appropriate connector to fit the battery you're using (for making the connection between the battery and the electronics).

Computer:

  • Arduino Microcontroller (Arduino Diecimila; I know the picture shows an NG; that was an accident. I meant to upload a pic of the Diecimila. I used the Diecimila, but you don't have to have the latest model of Arduino for this robot.)

Chassis:

  • The chassis I used is one I got from a kit from Parallax called the 'BOE-Bot Kit'. You can use plexiglass, an appropriately-sized sheet of plastic, a pre-machined chassis from an online retailer, or even a block of wood.

Cable Management:

  • Cable Ties - (those white, plastic things you find in packaging for holding things together) You can get them at the home depot, lowes, or practically any hardware store.

Other:

  • 1x Piezo Speaker/Element - I used this as an indicator; the Arduino beeps when the program begins running
  • 1x LED
  • 1x 200ohm resistor (for the LED)
« Previous StepDownload PDFView All StepsNext Step »
45 comments
1-40 of 45next »
Mar 28, 2011. 11:33 AMPaNiCPeRCePTioN says:
Are you using an arduino uno or duemillonove? or is it an old NG or something?
Aug 29, 2011. 11:14 AMnigel da nautilus says:
answers in step 1 :)
Jul 30, 2011. 3:31 AMGaark says:
Wow! Bobs' had a MAJOR upgrade! That's a fantastic lil beasty you made there :D
Apr 3, 2011. 2:27 PMSimonRawr says:
How much did the whole thing cost to make?
Dec 31, 2010. 2:45 PMabran5 says:
are rangefinders exspensive?
Feb 16, 2011. 6:52 PMD5quar3 says:
depends, ultrasonic is $32, infrared is $10 to $20
May 18, 2010. 6:45 PMpunkhead58 says:
I just noticed that even though you said that the only raw component needed is a resistor, there's a small rectifier diode on the breadboard. What is that connected to?
Mar 5, 2010. 8:23 PMlinc5885 says:
Wow I love going to have to Build me one :)
Mar 10, 2009. 8:29 AMNibu says:
can you tell me what is the extension of this ATmega168 i found ATmega168 20pu ATmega16820 mu etc which is that particular one you used & how did u programmed it?
Mar 10, 2009. 6:49 PMNibu says:
where did you got ATmega168PU& Arduino development board and software. ?
Feb 15, 2010. 2:30 PMsephiroth180 says:
just Google search it you should find a whole bunch of people that carry it.
Dec 15, 2009. 9:24 PMpunkhead58 says:
I like it. It seems a bit too sensitive though, it started freaking out at the end of that video. By the way, I tried your software, it's great.
Sep 3, 2009. 8:12 AMRayanarfawi says:
please mortaldoom can you put a scamatic because in the arduino i dnt found pin 5 and 6 , 7, 9, 11 because its the first time i use arduino atmega168 please help me explain me how to make all the connection and thnks
Aug 9, 2009. 1:43 PMMovieMaker says:
Hi , Mortal! I have just finished a robot made with your software and ArduinoFun's LARS robot shield. I have built many robots but I have yet to build one any easier. It was great. here is a picture if I can find it. Also, I wish to expand on it, I am not a c programmer, but I am trying to get eyebrows attached software wise. I did this before on the basic stamp, but it came out doing everything too slow. So, like you, I moved to the Arduino. But, I could use some advise on c. Thanks! Maybe you could send me a private message and I could talk straight to you through email. Anyway, here is my image.
turtle3.jpg
Aug 10, 2009. 6:38 PMMovieMaker says:
I had an UGLY gold roomba530. Who says you have to keep Ugly. Look at it now! Another Question for Mortal, There must be ONE place in your program that the PING sees something. Also ONE place in your program that the IR sees something. Where is which place? I tried to inject an eyebrow UP or Down in some spots, but when I did that, it stopped the program completely at that point. I hope you understand my question. Thanks!
Roomba.jpg
Jul 31, 2009. 11:20 PMandrew101 says:
wow. i really like its program. if it gets confused (finds its surrounded) then it stops to look around and find out whats near it. that is really neat.
Feb 17, 2009. 4:53 PMNetReaper says:
Lol, now just put a red LED on the head and put a case on it. It will look like a cylon with the red eye
Feb 19, 2009. 1:50 PMjuanvi says:
a laser!
Feb 2, 2009. 12:59 PMBendunia says:
Fantastic tutorial, well done and thanks for sharing. It looks like the ultrasonic range finders didn't like so much being tilted.
Dec 8, 2008. 2:16 PMSoldier6575 says:
The only parts i can not find are the analog jacks and the mount you used for the sensors that attached to the Boe Bot chassis. Digikey says the analog jacks are discontinued. Do you know any place else for them?
Dec 9, 2008. 5:54 AMSoldier6575 says:
Thank you. This is the first project that me and my son (11 yrs old) are going to tackle together. We are looking forward to working on it together and learning.
Nov 28, 2008. 5:48 PMtimmy1234s says:
i dont understand how you wire the wires to the breadboard, looks all too complicated.
Nov 22, 2008. 10:57 AMiamdenteddisk says:
love it man!, here is my bugbot I got tired of the wally/bobot replicants and am now playing with different chassis and building my own z80 based controler board too. take a look and have a laugh.. I just started casting my own aluminum chassis parts so the next bug will be a scorpion then I want to do a wasp im now figureing howto get it to fly..
bugbot 002.jpg
Sep 30, 2008. 3:01 PMbyufan says:
I really want to biuld one but ive never done anything like this would it be to hard and how much would it cost
Oct 20, 2008. 4:20 PMevilgenius 398 says:
you could hack an old r/c car.
bubba's robot 001.JPG
Oct 22, 2008. 3:37 PMbyufan says:
could but how
Oct 22, 2008. 6:40 PMevilgenius 398 says:
Sep 4, 2008. 11:06 AMemilk says:
To conserve even more power you can add a power sink driver chip toy your robot. so that you can turn off the sensors that are not currently being read. I use this chip from Allegro named A6801SA-T there are lots of others. but i use this one.
Aug 12, 2008. 7:56 AMelectronic boy says:
it works well but if your really good then you can add arms or even make it walk!
Aug 9, 2008. 3:45 AMlil Smart Kunt says:
Hi i Just wanted to know how much does this robot costs $ Cause if you want to sell one i would love to buy one at any costs PLEASE send me a message
Aug 9, 2008. 3:43 AMlil Smart Kunt says:
hi could you please tell me some thing more about this robot
Jul 17, 2008. 5:13 PMfynflood says:
That's pretty nice! A lot like one I built: http://blog.digitalhaunt.net/?page_id=13
Jul 20, 2008. 5:15 PMfynflood says:
I got the chassis and turret server here: http://www.budgetrobotics.com/
It'd be easy enough to mill yourself tho.
Jul 14, 2008. 9:22 PMDorkfish92 says:
very nice! How much did it roughly cost?
1-40 of 45next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
38
Followers
10
Author:mortaldoom780(Reece)