3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Arduino-based robot with IR radar

Arduino-based robot with IR radar
The robot prototype in this Instructable is my second Arduino-based "slumbot" which is an autonomous robot. It's attached together with household items and scraps. The robot "sees" with an IR scanning sensor rotated by a servo. It looks left, forward, and right for obstacles and distances then decides where to go.

The code name for the robot is Faz3a-X. Faz'ah is slang for a sudden collective fit of rage and lunacy :)

After reflecting on my design themes for this and my other robot, words such as junkyard and Mad Max come to mind.

So let's get started.

MAIN PARTS
- Arduino UNO: $28
- Turnigy TG9e servos (2 modified for continuous rotation): $2 each = $6
- Sharp IR sensor GP2Y0A2 for about $14
- Arduino prototyping shield is optional. You can use a mini breadboard: $15
- 9V battery and pack $3
- 6V Alkaline or 4.8V NiMh 4 X AA batteries and pack $4
- 10uF cap for IR sensor: $0.2
- 0.01uF ceramic caps for for servos X 3 = $0.30

TOTAL: about $70 (in Jordan, expect to pay almost double after shipping, handling, tariffs, taxes, clearance fees)

PLATFORM
- External 3.5" USB hard drive enclosure
- Table leg slider pin (caster)
- Toy car wheels X 2
- Construction set parts for wheels axle and servo mount

TOOLS
- Velcro (what a great invention for prototyping)
- Paper binders/clips
- Rubber bands to give plastic wheels traction
- Stapler to staple rubber bands
- Glue
- Tape, single and double sided
- Wires

WHAT'S NEXT
Next phase of this prototype will involve refining the attached Sketch for better radar/movement coordination and finer obstacle detection instead of the simplistic Right, Front, Left scanning algorithm used here.

Also, the robot platform needs to go on a diet to shed a few ounces but to do it with household items or office supplies. As in my previous robot project, in which I used Arduino to control a cheap toy car, I try to make sure as much of the robot as possible is made up of readily available items in Jordan considering commercial robot parts are nonexistent in local markets and the tariffs and taxes (corruption money) and shipping costs would discourage most Jordanian Makers from pursuing their robot projects.


 
Remove these adsRemove these ads by Signing Up
 

Step 1The robot IR radar module

The robot IR radar module
I made use of the plastic cover of a MiniDV tape as a mount for the Sharp IR radar. I used a drill pit to make the screw holes, and sand paper to taper the edges of the plastic cover. It's a rough job but it works.

The servo spins the IR sensor left, forward, and right and reads distance in each direction. In this project, the robot will turn in the direction where there's more space.

I used construction set parts to create a mount for the sensor and servo.

In the video below, I test the IR radar scanner connected to the Arduino and rotated by a TG9e micro servo. It's sending back distances for each direction.

With a piece of Velcro attached to the bottom of the mount, using glue, I can affix the whole radar mechanism on the robot platform and change its position with little hassle.



« Previous StepDownload PDFView All StepsNext Step »
8 comments
Feb 1, 2012. 5:55 AMfilip10 says:
can I use a sharp GP2Y0D810Z0F 10cm sensor for this robot ?
Dec 16, 2011. 9:49 PMHiggs Boson says:
did you need to make a H bridge to get one of the motors to run backwards when it turned, or did one just remain stationary while the other ran when it turned?
Dec 17, 2011. 10:13 AMHiggs Boson says:
Okay. Thank you.
Nov 8, 2011. 3:12 PMaefields says:
Proper terminology is important. I'm searching for RADAR. Infrared is not radar. It is LiDAR. Please fix your title so others aren't misdirected.

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!
32
Followers
18
Author:techbitar
Did I unplug the solder iron?