• Skip to main content
  • Skip to primary sidebar

Making Easy Circuits

Learn and build electronic circuits

You are here: Home / Car and Motorcycle Projects / Simple Line Follower Circuit

Simple Line Follower Circuit

Last Updated on April 12, 2021 by Admin Leave a Comment

A simple line follower car or robot circuit can be built using the circuit explained in the following article. In this concept, the line follower car keeps track of a line underneath it and follows it meticulously as long as the line is extended.

line follower motor controller compressed

In this circuit 4 op amps from the IC LM324 are used.

U1a op amp is configured as a differential compartaor, whose both the inputs are connected with LDRs light sensors.

The LDRs are connected via adjustable presets, which are adjusted so that the LDRs produce uniform response on the input terminals of the op amp comparator when the light level is uniform on the LDRs.

However, if suppose the LDR R1 receives more light than LDR R2, this causes the voltage on pin3 of the op amp to increase which causes the output of U1a to become positive.

On the contrary, if LDR R2 receives more light than LDR R1, then the pin2 potential of the opamp increases causing the output of U1a to become negative.

So basically the the output of U1a flip flops between high and low logics in response to the differences between the light levels on the LDRs.

The next op amp U1b is simply configured like a voltage follower and amplifier, which follows and amplifies the output varying signals from the U1a output.

The next two op amp U1c and U1d are both configured as driver op amps.

When a positive signal is detected from the LDR comparators, due to an increased light on R1, this causes the non-inverting inputs of U1c and U1d to become positive, which in turn causes their outputs to turn high.

This high output from both the op amps causes Q1 to conduct since it is an NPN transistor, but the Q2 remains switched OFF since it is an PNP transistor.

Q1 switches on the connected relay which toggles its contacts so that one of the relevant motors switches OFF momentarily, which results in the vehicle or the line follower robots to correct its orientation so that both the LDRs receive the same amount of light.

In the other scenario if LDR R2 receives more light, it causes a negative voltage to develop on the non-inverting inputs of U1c, and U1d. This causes their outputs to turn negative, or 0 volts.

Due to this the NPN transistors now does not respond to the negative signal, but the PNP transistor responds and toggles it own connected relay.

The relay contacts switch accordingly and momentarily switches off the relevant connected motor until the line follower car or the robot adjusts automatically and corrects the light level on the LDRs, enabling the vehicle to run parallel with the line and to follow the line faithfully.

You'll also like:

  • 1.  Simple Voice Recorder and Playback Circuit
  • 2.  Day Night Activated Triac Switch Circuit
  • 3.  Simple Home Automation System Circuit
  • 4.  How to Make a Wireless Helmet Brake Light Circuit
  • 5.  DIY GSM Car Security Alarm Circuit
  • 6.  Enhance Car DRL with this Circuit

About Admin

Hey friends, Thanks a bunch for stopping by this site! I am an engineer with a Bachelor of Engineering in Electronics and Telecommunication. One of my passions is gathering information from all sorts of electronics books and tutorials. I then take that information and compile it into a language that is super easy to understand. My goal is to make those complex electronics circuit concepts and technical terms much more accessible for all the new and budding electronics engineers out there. I can also design customized circuit diagrams as required by the users.
If you have any questions related to this field, please do not hesitate to drop a comment! I am always here and ready to help you out with any queries you might have. I cannot wait to hear from you!

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Categories

  • 3 Phase (4)
  • 8051 Microcontroller (1)
  • Arduino (11)
  • Audio and Amplifier (102)
  • Automation (8)
  • Battery Chargers (64)
  • Bicycle Projects (4)
  • Car and Motorcycle Projects (39)
  • Datasheets (10)
  • DIY Projects (5)
  • Electrical (15)
  • Free Energy (6)
  • Games Projects (2)
  • High Voltage (14)
  • Hobby Projects (30)
  • Household Circuits (2)
  • IC 555 Circuits (5)
  • Ignition Circuits (2)
  • Indicators (50)
  • Infrared (6)
  • Inverter Circuits (29)
  • Lights and Lamps (97)
  • Medical (8)
  • Meter and Tester Circuits (38)
  • Motor Driver (17)
  • New Circuits (56)
  • Oscillators (30)
  • Pets and Pests (5)
  • Power supply (80)
  • Protection Circuits (25)
  • PWM (9)
  • Remote Control (20)
  • Security and Alarm Circuit (48)
  • Sensors and Detectors (66)
  • Signal Processor (23)
  • Solar Controller Circuits (62)
  • SSR (3)
  • Temperature Controller (20)
  • Timer (25)
  • Transformerless (7)
  • Transmitters (12)
  • Tutorials (45)
  • UPS (2)
  • Voltage Regulators (57)
  • Water Sensor and Controller (29)
  • Home
  • Privacy Policy
  • Contact
  • Disclaimer
  • Copyright

© 2025 · Making Easy Circuits