Ont the Line.JPG
TopRight View.JPG
TopLeft View.JPG
Front View.JPG
Back View.JPG
Top View.JPG
Bottom View.JPG
I made a line follower robot with PIC16F84A microprocessor equipped with 4 IR sensors. This robot can run on the black and white lines.

 
Remove these adsRemove these ads by Signing Up

Step 1: First Step

Before everything you must know how to make a Printed Circuit Board and how to solder components on it. You also need to know how to program a PIC16F84A IC.
Here are the links to good instructables about making a PCB and Soldering:
1-40 of 96Next »
gautamuv says: Mar 29, 2013. 11:41 PM
i mean in track some object is kept , it should detect and change it's dirrection. for that i
need to add one more sensor in front dirrection . were can i add and how can i change
the program??
vahid_you2004 (author) in reply to gautamuvMar 30, 2013. 5:50 AM
There is only one pin free on PIC you can connect your sensor to A4 and add you code to the program before "Operate" part and change the value of lmb (left motor backward), lmf (left motor forward), rmb (lright motor backward) and rmf (right motor forward) variables.
gautamuv says: Mar 24, 2013. 9:48 PM
what should be done to robot so that it should detect obstacle, for this robo? is it possible?
is there any change in programming?
vahid_you2004 (author) in reply to gautamuvMar 26, 2013. 4:08 AM
As you can see in the path I made, this robot can pass through white or black area by moving forward on a straight line.
ikrizzy says: Mar 21, 2013. 9:14 AM
can you give me a progam of this using micro c
vahid_you2004 (author) in reply to ikrizzyMar 23, 2013. 3:35 AM
Converting a program from Basic to C is a simple work and is very good for you to improve your programming skills.
psantos9 says: Mar 18, 2013. 8:27 AM
sir i have a question i can't find a TCRT5000 Infrared Sensors in the market what is the replacement to this component thanks and godbless
vahid_you2004 (author) in reply to psantos9Mar 19, 2013. 7:11 AM
You can use any thing that is made of one IR transmitter beside one IR receiver, you can also make it yourself (see older comments).
GeniusDevils says: Mar 7, 2013. 7:27 AM
Have a look at a different concept - A wall Following Robot
vahid_you2004 (author) in reply to GeniusDevilsMar 8, 2013. 7:03 AM
Good Idea
heraldbaby says: Feb 9, 2013. 1:50 PM
is this circuits right...this programme will be compatable ryt? now i just wanna ground the ports?
vahid_you2004 (author) in reply to heraldbabyFeb 11, 2013. 3:40 AM
Yes, thats right and it works fine. You have not to ground the ports.
heraldbaby says: Feb 5, 2013. 4:16 PM
CAN I USE L293D motor driver.Also can i get a ciricuit diagram please
vahid_you2004 (author) in reply to heraldbabyFeb 7, 2013. 3:30 AM
Yes, You can use any dual (or more) motor driver.
I have not drawn a complete circuit diagram for this robot but you can find a simple symbolic diagram in older comments.
Abhijith(97) says: Nov 5, 2012. 6:40 AM
what are its applications????????????????????????
vahid_you2004 (author) in reply to Abhijith(97)Nov 7, 2012. 3:47 AM
In some big factories or stores there were lines on the ground and a machine follows that line and carries things. You can find lot of applications for this robot i.e. transporting passengers in airplane, following colorful lines in hospitals, ...
bond31 says: Aug 10, 2011. 7:52 AM
hello sir! can u please send us the schematic diagram?
its urgent
vahid_you2004 (author) in reply to bond31Aug 12, 2011. 4:06 AM
I have no exact circuit diagram, but there is a symbolic diagram you can find in below comments.
ajefferson2 in reply to vahid_you2004Sep 9, 2011. 3:25 AM
I am very intrested in making this project. Could you please upload the schematic diagram...plz
vahid_you2004 (author) in reply to ajefferson2Sep 10, 2011. 3:56 AM
I did not draw any circuit diagram, my diagram is just a symbolic diagram you can find in below comments.
jtaupan in reply to vahid_you2004Sep 3, 2012. 8:31 PM
good day sir,,,i dont see yet the program,,i wud just ask kung compatible ba ito sa Remote Controlled car...need it asap,tnx
vahid_you2004 (author) in reply to jtaupanSep 4, 2012. 5:01 AM
"kung compatible ba ito sa"???? I can't understand what you mean?
Shadow Killer Ninja in reply to vahid_you2004May 1, 2012. 11:25 AM
Sir, Please tell me in detail that how to change the states, if possible with pictures because i have made it but dont know how to change the states....i have entered a contest so require reply urgently....
Shadow Killer Ninja in reply to vahid_you2004May 1, 2012. 11:25 AM
Sir, Please tell me in detail that how to change the states, if possible with pictures because i have made it but dont know how to change the states....i have entered a contest so require reply urgently....
vahid_you2004 (author) in reply to Shadow Killer NinjaMay 3, 2012. 4:39 AM
By pressing the mode button (button on the front board) you can switch between 3 modes:
  • Mode1 (Mode LED is off): In this mode robot follows a line using the algorithm in the program and you did not need to do anything.
  • Mode2(Mode LED is on): In this mode robot follows a line using the algorithm in the program but you can customize the motors state (for example if the robot placed on a turning to left, the left motor became off and the right motor runs forward, hold the robot in this state with you hand, now you can change this behavior by pressing motors buttons, for example making left motor run backward and make right motor run forward to turn faster and etc).
  • Mode3(Mode LED is blinking): This mode is the same as Mode2 but the robot ignores algorithm in the program and changes the motors just according to the sensors state.
ajefferson2 in reply to vahid_you2004Sep 12, 2011. 6:02 PM
thnk you sir,,,
jtaupan says: Sep 3, 2012. 8:23 PM
good day,,,i dont see yet the program,,i wud just ask kung compatible ba ito sa Remote Controlled car...need it asap,tnx
bismillah786 says: May 4, 2012. 8:49 AM
Sir, my left motor does not coordinate with sensors. it is on and on does not change its state even with the mode buttons so what can be the fault...if you can give me some suggestions please...would be very thankful to you!!!
vahid_you2004 (author) in reply to bismillah786May 6, 2012. 12:55 PM
Remove PIC from its socket, use a piece of wire to connect +5V pin to pin 6 (B0) of PIC the left motor should run backward, now test forward run by connecting +5V to pin 7 (B1), by this way you can check that you have no problem in you circuit.
If you made your sensors yourself you must place a dark thick plastic wall among IR transmitter and receiver, I suggest to use a piece of aluminum foil as the wall.
bismillah786 says: May 4, 2012. 8:45 AM
is it must compulsory for placing a wall or a strip of paper between IR transmitter and IR receiver
Shadow Killer Ninja says: May 1, 2012. 11:34 AM
can i use simple infra red sensors???
vahid_you2004 (author) in reply to Shadow Killer NinjaMay 3, 2012. 4:28 AM
Yes, you can build you own sensor using an IR transmitter and an IR receiver. (look at below comments)
Shadow Killer Ninja says: May 1, 2012. 11:01 AM
Sir, Please tell me in detail that how to change the states, if possible with pictures because i have made it but dont know how to change the states....i have entered a contest so require reply urgently....
nikolas10 says: Aug 19, 2010. 5:17 AM
Can anybody help me? Could the robot be made to reverse around a track ? How could this be achieved and what changes to the logic might be required?
vahid_you2004 (author) in reply to nikolas10Aug 20, 2010. 4:51 AM
Press the Mode button to make its LED on, hold the robot over the path and move it backward with your hand and change the motors direction in different states with motor buttons, now it can follow the path reverse. I tried to do it myself but it could not follow the sharp turnings because the sensors are in the front of the robot, if you make the robot with sensors on the middle of it you will get better result.
Shadow Killer Ninja in reply to vahid_you2004May 1, 2012. 11:01 AM
Sir, Please tell me in detail that how to change the states, if possible with pictures because i have made it but dont know how to change the states....i have entered a contest so require reply urgently....
Shadow Killer Ninja in reply to vahid_you2004May 1, 2012. 11:00 AM
Sir, Please tell me in detail that how to change the states, if possible with pictures because i have made it but dont know how to change the states....i have entered a contest so require reply urgently....
Shadow Killer Ninja in reply to vahid_you2004May 1, 2012. 11:00 AM
Sir, Please tell me in detail that how to change the states, if possible with pictures because i have made it but dont know how to change the states....i have entered a contest so require reply urgently....
physics89 says: Oct 1, 2011. 8:08 AM
hello sir ... i am a physics student and i need a project for my last year . but i like to introduce this ... but have no idea where to start or if i can do it .. help
vahid_you2004 (author) in reply to physics89Oct 3, 2011. 6:30 AM
Hi, Thanks for your choose, I think is is better to start with introducing the line follower robots basics and principles, then go to mechanics, electronics, and digital control, then try to design and program an optimized robot.
1-40 of 96Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!