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.

Adaptive Mapping and Navigation with iRobot Create

Adaptive Mapping and Navigation with iRobot Create
This tutorial will demonstrate how to do mapping and navigation with the iRobot Create for under $30! And better yet, its designed to be an easy add-on to your already existing robot (butler robot, anyone?).

Why is mapping useful? Have you ever wanted your robot to navigate through your house, by starting in one room and going in to the next, despite unplanned objects in the way? Ever wanted your robot to go to the fridge, navigate around pizza boxes, and then go straight to you before the beer gets hot?

This tutorial has two parts. The first part demonstrates how the Create can track and follow objects (specifically, a can of beer) using a single Sharp IR. Video in step 5.

The second part demonstrates mapping, and how it can update its map when objects get in the way. Its not just reactive wandering, but planned navigation useful for any house based robot. Video in step 6.

Plans and source code to add to your robot will follow.

So what do you need?

Sharp IR $14.50
http://www.acroname.com/robotics/parts/R48-IR12.html

Hitec HS-311 Servo $8.99
http://www.servocity.com/html/hs-311_standard.html

Grid-Style PC Board with 356 Holes $1.79
http://www.radioshack.com/product/index.jsp?productId=2102844&cp

36 position breakaway male header $1.63
http://www.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=WM6436-ND

Stuff you probably have:
wiring
solder with soldering iron
double sided sticky tape
two screws with two matching nuts
screwdriver or allen wrench
holepuncher or hand drill
(local hardware store or Radioshack)

Optional: Dremel to cut down the PC Board

Final Design (simplicity at its best):
 
Remove these adsRemove these ads by Signing Up
 

Step 1The Stampy Edge Detection Algorithm

The Stampy Edge Detection Algorithm
«
  • C:\Documents and Settings\Pika\Desktop\My WebPage\SoR\images\robot_sumo_scan1.gif
  • C:\Documents and Settings\Pika\Desktop\My WebPage\SoR\images\robot_sumo_scanner_parts.jpg
To start off my robots' adventures, I needed to implement a basic highly reactive algorithm to test out my proto-code and sensor setup.

To get my Create to perform some complex tasks without requiring huge amounts of memory or processing power, I decided to implement my Stampy Edge Detection algorithm using a scanning Sharp IR rangefinder.

The concept is simple. A scanning Sharp IR rangefinder does only two things:

If no object is seen, the scanner turns right.

If an object is seen, the scanner turns left.

The image of a googley-eyed robot shows the scanner converging on the edge. The robot will then drive towards the detected edge of any object.

This step is to build the scanner.

Here is video instruction on how:


Required parts are shown below.

Now that you have the scanner built, lets wire it up . . .
« Previous StepDownload PDFView All StepsNext Step »
14 comments
Jan 26, 2011. 7:05 AMChowmix12 says:
Is there any way to add this to arduino?
Jan 28, 2011. 8:38 PMChowmix12 says:
When saying map size, the would refer to a map with larger 'pixels' meaning i can map any room but i would have moments where the robot can actually move through certain spaces, but the map thinks it can't because of the low resolution. Can I map a room with an arduino? I would also have to add some algorithm for reading 2 encoders for the wheels of the robot. In total, thats Dual encoders, a servo, and 6 pins for motor driving.
Feb 17, 2011. 11:28 AMhightekrednek2396 says:
cant you add more memory like yhe sd shield for it
Jan 31, 2011. 4:09 AMbandena says:
where to buy? I can not find. here is only to order
Oct 2, 2010. 3:56 AMA-Nony-Mus says:
It's funny, I downloaded this 'ible about a year and a half ago and I forgot about it. Then, when I was searching pics of irobot create, I came across pretty much the same thing on letsmakerobots (I am presuming that is you). Then, I was searching through some of my documents and found this 'ible. Awesome idea and great concept btw.
Oct 2, 2010. 3:58 AMA-Nony-Mus says:
Sorry, I meant to say societyofrobots, not letsmakerobots.
Jun 13, 2009. 2:09 PMpurple shirted eye stabber says:
awesome instructble cool concept
Feb 2, 2009. 8:07 AMGhost Wolf says:
will it follow me?
Sep 2, 2008. 3:38 PMraykholo says:
now, is there a way for the program to make like a visual map on a computer, or somehow convert the cmd code (last pic) into images on a computer?
Sep 9, 2007. 12:08 PMBrandon121233 says:
Cool project John, I like the detailed video examples.

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!
21
Followers
4
Author:societyofrobots(Society of Robots)