Robotics - Automation Projects

Complete Guide to Design an Advanced 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.

https://youtu.be/pDHgbVGoJb4
blank

Step 1: Electronics

blank

Flow 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)

blank

If 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)

blank

Microcontroller 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)

blank

Microcontroller sends signal to the motor driver so that it can control the rotating directions. PCB layout and schematic diagram of main circuit is shown.

See also  Line Follower Robot – Build it from scratch using pic microcontoller

Step 5: Source Code – MikroC

Source Code can be downloaded from here

Source: Complete Guide to Design an Advanced Line Follower Robot

Tags

Related Articles

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button
Close