line follower robot

12
With ATMega8 μc

Upload: uvsofts-technologies

Post on 10-Jul-2015

453 views

Category:

Engineering


4 download

DESCRIPTION

This robot follow the black line and also find the path.

TRANSCRIPT

Page 1: Line follower robot

With ATMega8 µc

Page 2: Line follower robot

Introduction This robot is designed to continuously

follow a black line painted on a bright surface or a white line on a dark surface and take the turns along with the line automatically.

Page 3: Line follower robot

Hardware Components Required Microcontroller development board (ATMega8)

IR Sensor

Comparator (LM358)

DC motor

Motor driver IC (L293D)

Wheels

Power adopter

Page 4: Line follower robot

ATMega8 Development Board

Page 5: Line follower robot

IR Sensors IR sensors give output by receiving the reflected rays

transmitted by the transmitting diode.

If the surface is black, the transmitted

ray will be absorbed and will not be

received and if the surface is white then

receiver will get the reflected ray and generate output.

Page 6: Line follower robot

IR Sensor Circuit

Page 7: Line follower robot

Motor Driver IC (L293D) It is required to supply sufficient

current to motors as microcontrollers can’t supply that much current.

It is a dual H-Bridge motormeans it can drive two DC motors simultaneously in both

clockwise and anticlockwise direction.

Its input terminals are controlledby the microcontroller.It also includes the protection circuit against back EMF.

Page 8: Line follower robot

Block Diagram

IR Sensor 1

IR Sensor 2

Comparator

Comparator

Variable DC voltage

Variable DC voltage

Microcontroller

Motor with

wheel

Motor with

wheel

Motor Driver IC (L293D)

Page 9: Line follower robot

Overview

IR sensors

Chassis Board

AT Mega8 µc

Comparator(LM358)

Voltage regulator IC

Wheel attached

with motor shaft

DC Motor

Page 10: Line follower robot

Description It works with the signal generated by the sensors.

To follow black line, sensors are mounted in frontof robot keeping black line in between them.

Each sensor has a motor associated with it. If itgets the reflected light(means sensors are facingbright background), the comparator sends logic 1to microcontroller and vice versa.

Page 11: Line follower robot

CONTI…. The program loaded into microcontroller takes the

decision of switching any motor ON or OFF according to the inputs coming from the comparators connected after each sensor.

The robot turns in the direction of the sensor detecting the black line, for this microcontroller turns ON only the motor opposite to that sensor.

Page 12: Line follower robot