Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

A line following robot

Status
Not open for further replies.

Ashwin Varghese

Newbie level 1
Joined
Mar 17, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
12
We are building a line following robot. We need the robot to follow blue line with white background and blue line with black background. We made it by using LED and LDR to detect the light reflected from the sensors. The robot follows the blue line on white background using blue LED but and on the black background we are using blue and red LED to to detect the blue line but this doesn't work with white background with blue line. Is there way to use LED and LDR so that robot follows the line. We are going to race this robot against other robots so we don't want to use switch to turn off the red LED to make the robot work with white background.
 

I once had a line-follower robot kit (store-bought). As I recall it had only 2 photosensors, on either side of the line. The line had to be a darker color than the surroundings.

An op amp compared brightness levels from the two photosensors. It alternately sent power to the right or left drive wheel, depending on light hitting the sensors.

I did not test the robot with the line being lighter than the surroundings... But I don't think it would have worked. The two sensors knew how to handle only the one light/dark border situation.

I guess you have unpredictable situations?
So I believe you'll need three photosensors. The middle sensor will detect whether the line is a different color from the sensors.

The moving robot may have trouble initially acquiring a line. You may need to install some advanced logic.
 

for blue black and white there is different voltage drop so check them with DMM and set the reference value for comparator IC

- - - Updated - - -

and its better to use photo diode with white light
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top