Step 8: RUN

Put 4 AA batteries into the battery holder, make a path, and turn on the robot.
If the robot does not work check soldering carefully.
Now you must adjust potentiometers to robot be able to detect black and white areas. Turn all potentiometers to leftmost position then turn back about 90 degrees to the right. Hold the robot on the line, move it over a turning if the motors state does not changed change the potentiometers value.
Now put the robot on the path to follow it.
<p>Hi your project is very good and I want to make this robot, but in the proteus schematic, there is no complete circuit I mean there is no ic324 mentioned in there and there is no motor driver shown in that circuit so please send complete circuit to my email &quot;maheshjshetty@gmail.com&quot;</p>
<p>sorry but can you send me the pic program in a other kind of format because i cannot open the program (Code.hex) </p><p> -thank you so much -</p>
<p>Download &quot;Code.zip&quot; from step 7, you can see 4 files in the zip. The .hex file is the compiled file you must program to PIC. The program source code that is written by PicBasic PRO is the file with .bas extension, you can open it with any text editor software like notepad.</p>
<p>Could you please tell me what are those 1N4148 Diodes used for? Thanks.</p>
<p>I see diodes on your real car are not 1N4148, please tell me which is the right one, thank you, sir</p>
I used 1N4007, but 1N4148 is better, they are for back EMF damping (for more info refer to L298 datasheet).
<p>Nice build! I always wondering, where can I get that kind of skinny wheel?</p>
thanks, you can find them in toys.<br>
<p>Other replacement for 10k potentiometers? <br>Because I think the motor state of my work is not really that accurate in terms of turning left or right. like if it's suppose to go right the left motor is in stop mode. What can probably be the cause? thanks. </p>
no need to change potentiometers, when to robot is going to turn left the left motor stops or run reverse depending on the turn. there may be some problems with your sensors, comparator ic, pcb make, ...<br>you can make any changes to program source code and recompile it if needed or test your sensors and motors. it wrote using PicBasic PRO. maybe you soldered left motor wires to the right motor on pcb,
<p>how its work on white line</p>
It is exactly the same as black line. No changes needed.
<p>I want schematic....I tried but I m unable to load the previous comments. I'll be grateful.thanks </p>
<p>As mentioned at step 3 I have only a symbolic diagram of the robot that you can find it there. </p>
<p>i made a line follower robot but i dont know the conf of IR sensors i used bascom avr 8</p>
<p>dear sir please me give a market price of following component</p><p>1)A 4 AA battery holder<strong>(with image)</strong></p><p>2)PIC16F84A Microcontroller + Socket<strong>(with image)</strong></p><p>3)LM324 Comparator(<strong>with image)</strong></p><p>4)L298 Motor Driver + Aluminum Radiator(<strong>with image)</strong></p><p>5)4MHz Crysta<strong>l(with image)</strong></p><p>6)TCRT5000 Infrared Sensors<strong>(with image)</strong></p><p>7)60rpm MiniMotors with Gearbox (6V)</p>
<p>They are all typical electronic components you can find in any electronic components shop.</p>
<p>thanks for giving my first question's answer !!!!!!!!!!!!!!!!!</p>
<p>sir please give me a image of gear box</p>
Sir, I just came across this project, and its the best line follower i have seen.<br> I tried to make it but having some doubts. <strong>Can you tell me&nbsp;</strong><strong>where to connect the motor terminals, the bottom board terminals or back board terminals? or both?<br> having trouble . Please help</strong>
<p>Both boards.</p>
<p>I have the same doubts. Should the capacitor be in parallel with the motor? Can I ask why?</p>
<p>Yes, this is for motor noise reduction.</p>
Can you pls post the full detailed schematic diagram. Showing the connections of all the ICs used.
You can find the only diagram that I have in older comments.
Thank you sir. I just want to ask if there is no really supply on the vdd and vss of 16f877a
<p>ic won't work without supply, so there is a 5v supply.</p>
<p>If I use CNY70, is there something that I need to change, for example, the circuit connection and/or the source program???</p>
You must compare the datasheet of two components.
<p>sir plz i want line follower program code for arduino atmega8 by using tcrt 5000 analog array sensors which cotain 5 sensors and also for 7 segment timer display which start time when robot while on and stop time when robot while off </p>
<p>send code to imronmd7@gmail.com </p><p>it's sir plz plz help me </p><p>code for this arena to find short path complete the trak</p>
<p>Good day Sir! May I clear, are the resistors 1/4 or 1/2 watt? Are those motors DC? Can we also use servo motors? =)</p>
1/4. DC. Yes, but you must make them rotate 360&deg;.
<p>Can I use CNY70 instead of TCRT5000?</p>
You can use any similar components.
<p>Sir,</p><p>Can you send me the schematic diagram. </p><p>Please mail to ksaravanakrishnan@gmail.com</p>
You can find it in below comments.
<p>can i use PIC16f887A as substitute?</p>
Yes, but you must compiler code again for your PIC
<p>i have made line follower robot using ardiuno UNO , robodiuno motor shield , two ir sensor and two gear motors . sir plz send me the circuit diagram . i have code but </p>
<p>i want to buy it. How much?</p>
Come on, it is a DIY project, try to make it yourself.
<p>sir ,, can u send me the code for this arena !! I wanna help plz !! <br>I use 4 IR sensors and DC geared motor <br><br>send me on dedoo.shanshan@yahoo.com</p>
You can find the program for any path in the instruct able.
<p>sir , sorry to bother you , can you send the circuit diagram about this robot for me through email? it will be a great help. thanks in advance. j0etk@hotmail.com</p>
<p>The explanation of the above project is very interesting and easy to understand. I have a circuit diagram for this concept. If you are interested to get the circuit diagram, visit the page: <strong><a href="http://www.electronicshub.org/line-follower-robot-using-microcontroller/" rel="nofollow">Line Follower Robot</a></strong>.</p>
<p>i want code for this arena ... im using ATmega 8 with 2 DC geared motors !!! and im using AVR STUDIO 4 as a complier an im writing code in simple c !!! please help me </p>
The program code is so simple that you can change it for your microcontroller easily.

About This Instructable


128 favorites

Bio: I'm a mechanical engineer, and I like computer programming, mechanics, electronics and specially the robotics.
More by vahid_you2004: Cheap Logic Analyzer Cheap STK500 AVR programmer for Atmel Studio USB to TTL UART Converter
Add instructable to: