* Updated 08/24/2013 to include more pricing, source information, and top/bottom/wheel templates

Mostly functional for general public, use at own risk!

Hey hey! This is a Programmable Line Following Robot for Beginners. This project is designed to work in tandem with our Arduino Traffic Light for Beginners instructable. However it will work just fine without!

We estimate this can take approximately 10 to 15 hours of work for someone who hasn't done any electronics or programming. If that's a bit much, we recommend checking out this instructable! Depending on how you source your parts, the average cost for this project will probably be between $40 and $60.

This project was designed for a summer camp at a Hackerspace in Ann Arbor, MI. If you aren't already familiar with what a Hackerspace/Makerspace is, we highly recommend you check one out! They can be a wonderful resource for both tools and information. Things like access to a LASER cutter can make this project look significantly better with minimal effort. Find one near you!

Suggested Tools
- Soldering Iron
- Wire Snips
- Pliers (Needle Nose Preferred)
- Wire Strippers (22 AWG)
- Utility Knife
- Phillips Head Screwdriver (No. 1)
- Pencil
- Arduino UNO
- Breadboard
- 9V Battery Holder with 2.1mm Barrel Connector
- LASER Cutter
- Heat Gun

Suggested Materials
- 1 x ($1.50) - Photocell (Sparkfun)
- 2 x ($2.26) - QRD1114 - IR Emitter/Sensor (Sparkfun)
- 3 x ($1.00) - 100 Ohm Resistors - Brown Black Brown (Sparkfun)
- 2 x ($1.00) - 220 Ohm Resistors - Red Red Brown (Sparkfun)
- 2 x ($1.00) - 270 Ohm Resistors -Red Purple Brown (Sparkfun)
- 2 x ($1.00) - 5.6k Ohm Resistors -Green Blue Red) (Sparkfun)
- 2 x ($1.00) - Yellow LEDs -Indicators Lights on Car) (Sparkfun)
- 2 x ($1.00) - Red LEDs -Brake Lights on Car (Sparkfun)
- 1 x ($17.00) - 22 AWG Solid Core Wire in Red, Black, Yellow, Blue, and White colors (Sparkfun)
- 1 x ($2.00) -  Solarbotics Plastic Caster (Solarbotics)
- 2 x ($11.50) - DC Gear Motor (GM2) (Solarbotics)
- 2 x ($2.00) - NPN Transistors (Adafruit)
- 2 x ($1.50) - Diode 1N2001 (Adafruit)
- 1 x 9v Battery (Local Hardware Store)

- 1 x LASER Cut Acrylic Top Plate *
- 1 x LASER Cut Acrylic Bottom Plate *
- 2 x LASER Cut Acrylic Wheels *

- 2 x Thick Rubber Bands - 3.5cm diameter x 1cm width (Local Hardware/Craft Store)
- 1 x 8" Zip Tie (Local Hardware Store)
- 2 x ($0.50) - Machine Nuts - #3 1/2" Micro (Local Hardware Store)
- 2 x ($0.50) - Machine Screws - #3 1/2" Micro (Local Hardware Store)
- 2 x ($0.50) - Machine Screws - #2 1/4"  (Local Hardware Store)
- 4 x ($0.50) - Machine Screws - (~1/8" Diameter, ~1.5" Length ) (Local Hardware Store)
- 12 x ($1.00) - ?? Nuts for Machine Screws(Local Hardware Store)
- 1 x ($2.00) - Double Sided Sticky Foam Tape ~10cm length x ~1cm wide) (Local Hardware Store)
- 1 x ($2.00) - White Electrical Tape Roll (Local Hardware Store)
- 1 x ($3.00) - Foam Core Board24x36" 1/4" thick 
- 1 x ($3.00) - Heat Shrink Tube: 25cm of 3/32" (~2.4mm) diameter.

Highly Recommended
- Clean workspace
- Good lighting
- Someone awesome to work with

Short on resources?
- Find out if there's a local hackerspace near by!
- Need it today? Radioshack. Can you wait a few days? Adafruit, and Sparkfun are excellent resources.

Who made this?
- This instructable was brought to you by Khevna Shah and Josh Williams, and much help from the World's Friendliest Hackerspace: All Hands Active

* Don't have a LASER Cutter?
- See the PDF files! They contain a printable version of the Top and Bottom car plates, along with wheels. Print them out and purchase a sheet of 1/8" Baltic Birch. Along with a drill, a good assortment of bits and an appropriate saw will make for a classy wooden version!

Step 1: Prepare Your Workstation

Excellent job, from station setup forward. I think a novice could use these instructions to build. You got my vote for weekend project.
Thank you!
<p>miss Khevna caN you share the final code tq^^ aliabushra94@gmail.com</p>
<p>can you please email me the final code gabrielsimon.levin@gmail.com</p>
<p>awesome project.. can you share final code please? thank you :)</p>
<p>Wonderfull job</p><p>Can you please provide me with final codes</p><p>Email it to pkabra96@gmail.com</p><p>Thank You..!</p>
<p>plz I need the final code</p>
<p>can u provide me final code </p>
<p>HI!. I am first to arduino coding.</p><p>Can you please send me final code?</p><p>my email address is nethsarasiyum2@gmail.com</p>
I want for the black line not for the white line can u help.me ?<br>
final code plz hemanth130@gmail.com
can u send me the final code my email. hemanth130@gmail.com
<p>I have a project to detect/follow white line in a line follower robot but i am stuck at the point would you plz help me in detecting white line on green back ground</p>
<p>How u followed the white line i want to know plz help me</p>
<p>Can you please email me the final code? informaticaiesmi2@gmail.com</p>Thank you!!!!!
<p>Please, Ms. Khevna can you send me the final code and thank you :) hala.sawas.1996@gmail.com</p>
<p>Hi! I cant seem to find the svg files for the laser cut pieces. where are they located?</p>
Can you please email me thenfinal code? johnhaceh@gmail.com<br>Thank you!
<p>please send the final code to arcsongmaker@gmail.com </p>
<p>Hi, could you please send me the final code to the email below? Thanks!!</p><p>will.faust45@gmail.com</p>
<p>can you send me the final code. I am just learning. please email to: dscholtz101@gmail.com. Thank you!!</p>
<p>I love this project! Thanks for posting it. I'm confident about the physical components but feel intimidated about compiling the final code. If you could email me or post a copy of the final code to help me debug that would be much appreciated. My e-mail is scheskea@gmail.com- thank you!</p>
<p>hello Anyone! can you please email me the final code aliabushra94@gmail.com<br>I really wanna try do this </p>
<p>please send me the final code alnab010@umn.edu</p>
<p>Hi :D Could you send me the final code? Im an absolute beginner:( daimonworld@gmail.com</p>
<p>Hi :D Could you send me the final code? Im an absolute beginner:( daimonworld@gmail.com</p>
<p>Hi there! I'd love to give this a go but don't want to start unless the final code actually exists. I was so excited to start but was pretty crushed seeing the comments from over a year ago asking for the final code. Does anyone know where I can get the code? Could the creators of the project please make it available? Thanks!</p>
<p>Hi there. has anybody got the final code ? :) i would love to try it and i already built the whole thing, i just need the code now. :)) thank you !</p>
<p>thank you.....</p>
<p>May I have the final code, pls. Thank you</p><p> jingvanapps@gmail.com</p>
<p>Thank you so much for your job! Can you please send the final code to me? </p><p>Deeply appreciate your time. </p><p>xiaoshistudent@gmail.com</p>
pls send the final code to<br>rdhull111f@gmail.com pls pls pls pls pls
<p>does anyone have the code?</p>
<p>i need it urgent </p>
<p>Excellent tutorial, really looking forward to getting stuck into it, is there any chance that the code could be made available yet</p>
<p>On breadboard connectivity picture, left motor is connected pin2-&gt;NPN base,</p><p>Are you sure this is correct?<br>i think it should be connected to pin3 :)</p>
<p>You are correct as pin 3 is PWM</p>
<p>Final code?????? I've built I just need the code. please</p>
<p>Please can you give me the final code.....</p>
<p>Do you have the final code please? would love to try this out.</p>
<p>very good tutorial</p>
<p>great work ..but plz i need the final code cuz it seems a little bit complicated :D</p>
Hi, can I have the final code for this project? Kinda new to this field. Thank you.<br>taufiqtaha1992@gmail.com
Hi, can I have the final code for this project? Kinda new to this field. Thank you.<br>taufiqtaha1992@gmail.com
<p>Hi khevna , I just love your work. It's so amazing. But could you please send me the final code? I would like to look at it.<br>amanatullahridoy@yahoo.com</p>
<p>Great work. Would you please send me the final code? I am doing for my school project. </p><p>thyish@gmail.com</p><p>thanks</p>
<p>hey could you send me the final code pls osman96g@gmail.com</p>
<p>Hello Khevna, I love this, its very detailed. I have been struggling (I'm new with this stuff) with trying to make my line following robot work from other instructables so I'm going to take a stab at your version. Any chance you finished your final code yet? If so could I pretty please have it? ben.pritchard@terex.com. Thanks</p>

About This Instructable




More by Khevna:Intro to Unity Arduino Line Following Robot for Beginners 
Add instructable to: