Line Following Robot using Comparator

This article is from a link on one of my posts. He built a line following robot out of a plastic sandwich container, so he named it “Sandwich”. This robot is similar to my line following robot, but it does not use a microcontroller. He just used a comparator. This circuit will make a decision, and will turn the robot either right or left. It will also follow a white line, or a black line with the flip of a switch.
…Simple Line Follower
Sandwich is a fantastic robot that came about because I wanted a small uncomplicated line-following robot. Sweet! has been a very popular attraction on this web site, but is too difficult to build and program for most hobbyists. Sandwich is a robot you can make at home from scratch without a kit. (Or, if you prefer, you can obtain a printed circuit board.)…
Anyway, go check it out at Robotroom.
UPDATE: I do not have the plans for this robot. I did not build it, so please if you need help with it, contact the builder at http://www.robotroom.com/Sandwich.html. I have had a lot of people interested in this, so in a few months, I might look into doing this.
24 Responses to “Line Following Robot using Comparator”
Leave a Reply



I did not build this robot. If you follow the link to this post, you can see how he built the robot, but it does not use a microcontroller. I have built another robot and the schematic is on this site. Go to http://www.diylive.net/index.php/2005/12/13/diy-line-following-robot2/
[...] This robot is so cute!!! Made from a sandwich container! Kawaii!! [...]
list p=12c672
#include
count equ H’0025′ ;defines count variable and gives a memory address
resss equ H’0030′ ;defines resss variable and gives a memory address
org 0×00 ; defines the start of memory as 00h
reset
goto start
; initialize the settings of the A/D converter, and picks input/output pins
start org 0×05 ; defines where to start the code
bsf STATUS, RPO ;selects bank 1
movlw 0×04 ; moves 04 hex into working register
movwf ADCON1 ; moves working register into functional register ADCON1
movlw 0×03 ; moves 03h into working register
movwf TRISIO ; moves working register into TRISIO
bcf STATUS, RPO ;selects bank 0
movlw 0×89 ; moves 089h into working register
movwf ADCON0 ; moves w into f
;subroutine that starts A/D converter, and checks results
loop movlw 0×10 ;put 10h into the working register
movwf count ;move contents of working register into f register
good decfsz count,1 ;decrements count by one, skips next if zero
goto good ;if not zero go to good
bsf ADCON0,GO ;starts A/D by setting GO bit of ADCON0
one btfsc ADCON0,GO ;tests to see if A/D is done, skips next code if 0
goto one ;if not zero go to �one�
movf ADRES,0 ;
movwf resss ;moves results into ress
btfss resss,7 ;tests to see if results bit 7 set, skips next if set
goto Toff ;calls Toff subroutine
goto Ton ;calls Ton subroutine
Toff bsf GPIO,4 ;sets GP4 to high output
bcf GPIO,2 ;sets GPIO2 to low output
goto loop ;jump to loop subroutine
Ton bsf GPIO,2 ;sets GPIO2 to high output
bcf GPIO,4 ;sets GPIO4 to low output
goto loop ; starts A/D conversion over again
end
Sir,
i’m ajinkya i need a simple circuit in mail that showing the connections to make a line following
robo ,as i need it to be done on my project please sent it to ajinkya_gautame@hotmail.com
I am doing my pre-final year project on line following robot we have done the hardware setup using
89c51 but it doesn’t work. so please send me detail circuit diagram of line follower robot using
comparator. please mail as fast as possible.
i want to do my project on line following .please send me detail circuit diagram of line follower robot using
comparator. please mail as fast as possible.
i want to do my project on line following .please send me detail circuit diagram of line follower robot using
comparator. please mail as fast as possible.
hey the circuit looks cool. please send me the detailed circuit diagram amd component list…….. please.. i wanna do this for my school science fair…
please
krishna kant
i want to make this intelligent robot for a competition.
but i have little idea of it,please send the complete detail of it as soon as posible 0n my e-ID(anitesh_sanny@yahoo.com).
thanks……
Hello Sir,
I am RAVI,i want to do a projec on the Line Following Robo.So,please send me the details of the robo so hat i can complete my project as soon as possible.Also the applications of the Robo.
hi bro, i need a circuit for a line following robot using PIC16F84, a darlington array, and 4 sensors. the robot should simply follow the black line which is 5cm thick and it should also have speed.
Thanks in advance m8.
hi…
i m also making a robot 4 da contest…i’ll b very thankful to u if u sent me da details on this
hotmail ID….i’ll b waiting 4 ur response…thank u..
I am nagesh,i want to do a projec on the Line Following Robo.So,please send me the details of the robo so hat i can complete my project as soon as possible.Also the applications of the Robo.
Sir,
I am Priyank Sinha, I am working on a project on line follower.
Please send me the circuit diagrams and component details. as soon as possible. I will be very thankful to u for the kind deed.
Thanks for sharing
hey send me the deetailed circuit diagram with both software and hardware information
think tihs is fake
I’d prefer reading in my native language, because my knowledge of your languange is no so well. But it was interesting! Look for some my links:
hi!
can u please mail me either detail circuit diagram of line follower robot or image for making pcb…..my id is
akshaydubey90@gmail.com
please send me the circuit diagram programmed path tracker using AT89C51 white line follower.
I required circuit diagram for seminar as well as for project. pls send me the circuit diagram on my
E-Mail.
sir , making this line following robot for my project in college .i will use PIC12F508 microcontroller so plz send me some information related to it.
sir can u give me a simple circuit of line following robot 4 my project also give the connection of the divece that u will use tnx please email me dennis_saclao@yahoo.com
sir, can you send me the programme for black path follower robot using
ATMEL 89C51 IC.I required circuit diagram for seminar as well as for project. pls send me the circuit diagramn and programme on my E-MAIL ID .
Hello Sir…
I really appreciated all the work you have done and the help you provide to enthusiastic robotic learners…
Could you please send me the circuit diagram for a black path line follower…and a program using C on 8051 microcontroller on my email id..I would be really grateful..thank you..
Hello sir……
I want 2 know about line follower robot using 4 sensors & 8051 microcontroller. i m very thankful 2 u plz reply on
plz sir reply me as soon as possible on waterhorse_2907@rediffmail.com