Complete Guide to Design an Advanced Line Follower Robot Using Pic

Line Follower Robot

Line follower is an autonomous robot which can detect a specific colored line painted on a surface of different contrast, such as white on black. In this project I used infrared transmitters and receivers to track the black strip on white surface. Due to the difference of infrared reflection on black and white surfaces, it provides two voltages which can be amplified and used as logic states.

Line Follower Robot

Step 1: Electronics

ElectronicsFlow chart above explains the working of the robot. There are eight IR transmitters and receivers to detect the path and junctions. Analog values from those receivers are amplified by LM324 operational amplifier. A microcontroller is used to detect the amplified digital values and to make decisions. It provides control signals to the H-Bridge motor driver (L293). More details are explained below.

Step 2: ​Op-Amplifier (LM324)

 Op Amplifier LM324If the rays received by the IR receiver are above a particular threshold then an amplified signal is generated by the amplifier (LM324). In this project I used eight separate transmitters, receivers and amplifiers to make the tracking smooth (Fig.1) Note that the sensors cannot directly send a signal to the microcontroller as the signal voltage generated by them is too low and even when sensors are on white surfaces signal generated by them will be interpreted low by the microcontroller.

Step 3: ​Microcontroller(PIC16F876A)

MicrocontrollerPIC16F876A.jpgMicrocontroller receives the eight amplified signals from op-amps and it decides how to control the directions of the motors as shown in Fig.

Step 4: ​H-bridge Motor Driver(L293)

 H bridge Motor DriverL293

Leave a Comment

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