Update: To some 10.000 people who already read this post, I would like to apologize. When I first entered this post, I was way over estimating the prizes, due to the fact that I live in Denmark, where everything is very expansive!

The total cost of this robot was originally set to some $ 150. It turns out that the price is actually only some $85 in the rest of the world, almost half prize!!
(sorry, I have entered new prizes for the components)

If you have any problems or questions regarding this project, please feel free to contact me at letsmakerobots.com

This is a walk through on how to make an autonomous, self-exploring, "own-mind" (not remote-controlled, not strictly pre-programmed, but reacting to surroundings) robot in a few hours.

It is really easy, and it does not involve knowledge of electronics to get you started with robot-building.

Focus in here is on the absolute necessary to get the basics covered.

This is meant to be an eye-opener, after building this, you can build anything and control any electronic device!

Sounds crazy? It is true, you just need to try it to understand how much power is in some of the chips you can buy for a few bucks today. Welcome to the world of microcontrollers :)

The programming example I write in the end is to make this robot what you would call "wall avoiding" (it will sniff around and explore based on which objects it meets, what is on the left, right and ahead), but it can be programmed into anything - easily. If interest is shown I will provide more programs for it.

Here is another using the exact same basic principles, board, chip etc. it is VERY much alike - Only I have put some more time into this one ;)

Step 1: Buy the materials (Project board, Microcontroller and starter pack)

Shopping list, start here, by this:

Links are just where I happened to find the items from a world wide web perspective. You can use any (web) shop you'd like, of course.

Prices are approx. As far as possible, try to get it all from the same shop, and from a shop located in your own country etc to get the best deals and faster deliverance etc.

1 PICAXE-28X1 Starter Pack
The 28 pin project board in this package is like a game of Mario Bros; Fun and full of extras and hidden features, making you want to play over and again. This includes the main brain, the PICAXE-28X1.

Price: 38 USD
This is a little expansive, but it is only the first time I recommend you to get this, it includes a lot of nice basic stuff, you get a CD-ROM with lots of manuals, cables, a board, the Microprocessor etc. Actually it is EXTREMELY cheap. Similar packages cost up to 10 times this price!

Be sure to get the USB-version, images in the shops may not match, and show a serial-cable when you are ordering a USB. When buying the USB-version, it is not necessary to get the USB-cable as an extra item, even though it is also sold separately.

Get it here
Once you have bought this one time, just buy a new board and accomplishing Microcontroller for future projects, much cheaper, you are a Robot-builder with all the basics done.
<p>i got another main bored, and it is so different than the one ur using, i am so lost, btw i dont know what its called</p>
<p>i got another main bored, and it is so different than the one ur using, i am so lost, btw i dont know what its called</p>
<p>i got another main bored, and it is so different than the one ur using, i am so lost, btw i dont know what its called</p>
<p>will the arduino code differ largely from this one?</p>
instead of the sharp ir sensor does anyone think you could use a ultrasonic sensor? would the coding be different? im sorry im a newbie at robots X)
Maybe a little late to answer but, yes you can use a ultrasonic sensor although you need to change to code a bit as you most likely need to first send out a ping and then read the time it takes for it to return. have not read the code closely but it seems like the code doesn't send out a ping
Can this be created with a Bot Board 2?
Does anyone know where I can get some of those pins? Is there another name for them besides just 'pins' ? Thanks
I've usually heard (in the US), those pins called &quot;100 mil pitch headers&quot; or &quot;breakaway headers&quot;. The &quot;100 mil pitch&quot; part means that the pins are spaced 0.100&quot; (2.54mm) apart (this is critical, trying to make the wrong sized header work is a huge pain). They're also called &quot;breakaway headers&quot; because you can easily cut the strip apart to get just the number of pins you need in a row. Digikey is once source, here's an example part number (they've got more, from different manufacturers and at different lengths): <a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=S1032E-16-ND">S1032E-16-ND </a><br> <br> If you can find them at a local electronics store they're probably cheaper, but double check the pitch! (Can you tell I recently got burned on that one?)<br>
What kind of 330 Ohm resistor should i get? 1w, 1/2w or 1/4w? or does it matter? Going with a standard servo and the 330 Ohm resistor since it's cheaper. Sorry if this is a stupid question, just want to make sure I get the right one.
Any of the 330 Ohm resistor will do. It does not to be very accurate, and that is the differences; How accurate they are :)
Whoops, the difference between 1W, 1/2W &amp; 1/4W is *not* accuracy, it's how much power they can take. If you're attaching the resistor to a pin of your microcontroller it probably doesn't matter, because the microcontroller can't source enough power to burn up a resistor, but other times it might matter a lot! This website has a nice discussion of power dissipation in resistors, including an experiment! <a href="www.allaboutcircuits.com/vol_6/chpt_2/7.html">http://www.allaboutcircuits.com/vol_6/chpt_2/7.html </a>
Will the software work on a Mac?
I made this robot and love it. It's a great start into robotics and programing. Thank you for the instructable :-)
My servo doesn't seem to work correctly. When I put in the batteries, it twitches a little, but it won't take any commands from the program editing software.<br /> <br /> The software is working because the motors can be programmed.<br /> <br /> So far I've tried 2 different servo plug locations.<br /> <br /> Any idea what might be wrong?<br /> <br /> Thanks<br />
I have the EXACT SAME PROBLEM! <br>and my motors work great too.<br><br>FRITSL, HELP US!!!<br>thx in advance.
I Really do not understand this Step at all. i dont have an old servo or anything so i cant really do your method. and the way it says in the manual doesnt make sense either. could you please in some way, explain how to do it with the ribbon cable?
Why havent you responded to my above question yet?
Did you not also ask this on LMR? I think you got an answer there, no? Anyway, the deal is that I show you what part of the board is to be connected to what wire on the sensor. I am not sure I understand the part about using "the ribbon cable"; The only ribbons I know that comes along as standard, are only 2 pins wide.. and this analogue sensor needs 3. So how can you use the ribbon? That is excactly why I just show you what connections on the board goes to what wires on the sensor. It is not LEGO, if the stuff does not fit together, you will have to make it fit. The right connections must be made, and I suggest one way, there are millions.. some use bubble gum, you know ;)
hi... Im ralph Notarte 16 yrs. old.. from philippines.... and I have a question.. how to program the robot????...... and can you say it all???? thanks... REPLY [flag][delete]
so your saying have to make a way to do it? ok. (also, i did ask this on LMR, but i got the wrong answer i wanted
hi... Im ralph Notarte 16 yrs. old.. from philippines.... and I have a question.. how to program the robot????...... and can you say it all???? thanks...
<a rel="nofollow">file:///C:/Users/Gisela/Desktop/SDC10192.AVI</a><a rel="nofollow">file:///C:/Users/Gisela/Desktop/SDC10192.AVI</a><object height="385" width="480"> <param name="movie" value="http://www.youtube.com/v/ZnehCBoYLbc&amp;hl=en_US&amp;fs=1&amp;" /> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" height="385" src="http://www.youtube.com/v/ZnehCBoYLbc&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" width="480" /></object><br />
how hack a electronic mosquito trap<br />
I have a electronic mosquito trap , how can make cool things out of it.<br />
Are there any alternatives for double sided tape, its pretty hard to come by round where I am.
nice 'ible, i built one and it is fun to play with.<br /> i do have two questions tho,<br /> 1.) How does noise interference work? i mean, i know the noise can be annoying, but how does that mess with the circuitry?<br /> 2.) is it possible to add a photocell, and if so, where?<br />
I learned so much in the past year.&nbsp; Thanks to you frits.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;does anybody know if this one will work?&nbsp;<a href="http://world-educational-services.info/cart/index.php?main_page=product_info&amp;cPath=10_15_17&amp;products_id=53" rel="nofollow">world-educational-services.info/cart/index.php</a>
will an arduino work?
How to make money simply and easily! <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Do not miss the opportunity<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Register new: <br /> <a href="http://www.upbux.com/r?r=nibo" rel="nofollow">www.upbux.com/r</a> or<br /> <a href="http://www.palmbux.com/register.php/nibo.html" rel="nofollow">www.palmbux.com/register.php/nibo.html </a> <br /> <a href="http://www.hybux.com/?r=nibo" rel="nofollow">www.hybux.com/</a> <br /> <a href="http://www.clicksia.com/index.php?ref=nibo" rel="nofollow">www.clicksia.com/index.php</a> <br /> <a href="http://www.neobux.com/?r=niboo" rel="nofollow">www.neobux.com/</a>
&nbsp;where i can buy these motors in the eu
If you are in the US and looking for the yellow chip, I believe this isthe right one:&nbsp;<a href="http://www.alliedelec.com/search/productdetail.aspx?SKU=7550374">www.alliedelec.com/search/productdetail.aspx</a>
how would you program it to talk?
Does anyone know where to find those pins?
and on the back
can i put like a little wheel on the front so its steady
Please give any suggestion to the &quot;Instructables the Movie&quot; at <a href="http://www.instructables.com/community/Instructables-the-movie/">http://www.instructables.com/community/Instructables-the-movie/</a><br/>
btw some of the links dont work, if it doesnt work and it shows an ip in the address bar, replace it with
Awesome ible I just got a small question(I might try this later on maybe) Where did you get the small tank treads because I think that is a better design for what terrain I have in my area.
Some links to treads, and hints for first timers here:&lt;br/&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://letsmakerobots.com/node/387&quot;&gt;http://letsmakerobots.com/node/387&lt;/a&gt;&lt;br/&gt;<br/>
i did not short cut the pins do you thinks that is why my robot jerks forward and spins around. any way nice instrutable.
can you do something similar with an Arduino
There is a really nice project for the arduino, here is one of many online references to it:<br/><br/><a rel="nofollow" href="http://hackaday.com/2008/11/22/simple-servo-bot-plans/">http://hackaday.com/2008/11/22/simple-servo-bot-plans/</a><br/><br/>
Yes, "one" could, but it would be completely different instructions. Also be aware that as far as I know, no standard boards for the Arduino comes with a motor-driver, so this would have to be set up seperatly. I suggest you look at letsmakerobots.com, there are instructions, start at the "start here" (top menu", and on that page look for Arduino..
can you please help me . my robot jerks forward a little bit the looks both ways and jerks back and then stops.
Sometimes it helps to kick it. Other times it is a good idea to post the code that the robot is running, to make people hve the slightest chance to figure out what is going on :)
I did not short cut the pins do you think that could be my problem.
Could you get this stuff anywhere else than on the web? Perhaps Bestbuy or Fry's? or a place like that?

About This Instructable


387 favorites


More by fritsl: Your first real robot the easy way, learn all the basics while at it :) How to build your first Robot ($ 85)
Add instructable to: