Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Line follower robot without a microcontroller

A light source aimed downwards and two photo sensors - LDRs, phototransistors etc., with appropriate bias or load resistors.

Use tubes around the sensors to make them directional and "aim" them down near the centreline of the robot, each just slightly to it's own side (left or right), mounted as far forward as possible.

If the robot is centred on the line, the two signals from the sensors should be equal, seeing the line. As it starts to drift off centre, one sensor or the other will start to leave the line.

Use the sensor balance or imbalance (such as a differential amplifier) to steer the robot. Equal signals means straight, if one signal start to drop steer proportionally towards the opposite side.

Add a two pole changeover switch to swap the sensor output, if you may need it to follow a black line rather than a white line.

(I built stuff like that back in the 70s).
 

Latest threads

Back
Top