Line Follower Robot with ATmega16 using Analog IR Sensor
The Line follower robot is a mobile machine that can detect and follow the line drawn on the floor. Generally, the path is predefined and can be either visible like a black line on a white surface with a high contrasted color or it can be invisible like a magnetic field. Therefore, this kind of Robot should sense the line with its Infrared Ray (IR) sensors that installed under the robot. Line follower robot is a useful robot that is used in ware houses, industries, and stores etc, where it follows a dedicated path.
In this project, we will learn How to design a line follower robot with AVR ATmega16 microcontroller using Analog IR Sensor. This robot is an automatic robot i.e no manual control is needed. The robot automatically follows a line without any deviation from the line. The robot changes its direction incase it deviates from the line. Generally, the line is of black color on white surface or white line on black surface. To detect white and black color, we will use IR sensor because white surface reflects IR rays and black surface absorbs IR rays. In this way, the output of IR sensor defers in black and white surface. In our case, we will use a black line on white surface.
Here, we will use three analog IR sensors. All the three sensors will be placed in the front side of the robot and all will be pointing downward. One sensor will be placed above the black line and the other two will be on left and right side of middle sensor. The output of the IR sensor changes when the sensors moves from white surface to black surface or from black surface to white surface and this change will be detected by the microcontroller. But the outputs of the three analog IR sensors are analog in nature, so these signals cannot be processed directly by the microcontroller. For this, we will use the ADC of the ATmega16 microcontroller to convert the analog signals to digital values. After converting the analog signals of analog IR sensors to digital values, the ATmega16 microcontroller will compare the sensor values with a reference value(3V in our case) to know the position of the sensors.
When the position of the middle IR sensor is above the black line, the ATmega16 microcontroller will send the forward control signal to the DC motor driver (L293D) of the robot to move the robot in forward direction and when the left sensor is above the black line, the ATmega16 microcontroller will send the left control signal to the DC motor driver (L293D) of the robot to move the robot in left direction and when the right sensor is above the black line, the ATmega16 microcontroller will send the right control signal to the DC motor driver (L293D) of the robot to move the robot in right direction. The above processes of ADC conversions, sensors output comparison and robot control continues. In this way, the robot follows the black line.
Softwares Required
Hardwares Required
Name | Quantity |
AVR Trainer Board-100 with ATmega16 | 1pc |
AVR USB Programmer | 1pc |
Analog IR Sensor | 3pc |
DC Motor Driver | 1pc |
Robot V 4.1 | 1pc |
1 to 1 Connector-Female to Female | 10pc |
10 to 10 FRC Female to Female Connector | 2pc |
12V, 1A DC SMPS Adaptor | 1pc |
Post a Comment
Knoweldge Centre
Popular Post
Line Follower Robot with ATmega16 using Analog IR Sensor ...
LED Blinking with ATmega16 ...
16X2 Alphanumeric LCD Interfacing with ATmega16 ...
4X4 Keypad Interfacing with ATmega16 and LCD Display ...
HC-05 Bluetooth Module Interfacing with ATmega32 ...
L293D based DC Motor Driver Interfacing with ATmega16 in 5V ...
LM35 Temperature Sensor Interfacing with ATmega32 and LCD Di ...
PC to ATmega16 Communication with LED Display ...
Analog IR Sensor Interfacing with ATmega16 and LED Display ...
00 to 99 Display in Quad 7-Segment Display with ATmega16 ...
Get Socialize With us
Testimonials
Suraj Kumar Nirala
Manager
ABLab Solutions is one of the best, which provides really a very nice environment and faculty to educate students regarding Embedded Systems.
Ashutosh Mishra
Student
Attended Summer Training at ABLab Solutions on Robotics & Wireless Communication. Got full exposure on technology through great practical sessions & innovative teaching.
Arnab Hati
Student, KIIT University
Teaching is simple and efficient. Teacher and student introduction was good. Course is helpful for future.
Harsh Gupta
Student, KIIT University
ABLab has put enough effort in teaching the course and certification has been provided
Gokulesh Kumar
Student, KIIT University
Had a great learning experience here at ABLab Solutions. I had recently completed my embedded systems training and it was completely worth it. The faculty is very friendly and they make sure that all our doubts are cleared at the end of each class. Looking forward to more such training programmes from here.
Swarup Sarkar
Student, KIIT University
A good place to learn. Experienced a lot of things about microprocessors, microcontrollers. Did things hand to hand and learnt a lot.
Sridhar Roy
Student, KIIT University
Proper student teacher iteraction in each and every topics frm basic to advance level. Moreover practicals are done indivisually which helps in self-learning nd also clearing doubts.Most importantly the teaching learning ambiance and techniques is awesome nd according to students requisite.Overall is the best institute in training and learning domain.
Piyush Anand
Student, KIIT University
A good training centre, teachers are very helpful and friendly,practical based training was very good and helpful.
Aadya Kumar
KIIT University, Placed in L&T Embedded
Well, I came to know about ABLab Solutions through one of my classmates, and he praised it very much. Before leaving college ,I wanted to enhance my technical skills. I was told that this particular institute will best solve the purpose. I got enrolled in the course of Embedded systems and there after the experience has been amazing . The way each and every concepts were made clear was really commendable . For each and every modules,practical exposure was given. At the end of the course, project
Rajesh Kumar
KIIT University, Placed in KPIT
Very good training institutes in bhubaneshwar..good learning experience. Interaction between teacher and student is very good . good experience with both theoretical and practical training. I learned Embedded system here and learned lots of new things.
Hrithik Chand
Student, KIIT University, Placed in Robert Bosch
Was a great experience .. learned about new things and how they work..helpful
Sambhrant Chaubey
Student, KIIT University, Placed in Robert Bosch
A place where true engineers are nurtured in various platforms.Every engineer thinks if he or she could learn something new. This is the best place to get such new experiences & to explore your skills.
Photo Gallery
Popular Posts
Locate Us
ABLab Solutions
House No-5, Plot No-401/2335
Patia Road, Kanan Vihar
Near Shirdi Sai Temple
Chandrasekharpur
Bhubaneswar-751024
Odisha, India
Call : 8984089851
6372309090
Email : info@ablab.in
Dont Miss any News & Offers