The principle of operation of an infrared sensor is based on infrared light that is reflected when hitting an obstacle. An IR receiver (Photo Diode) captures the reflected light and the voltage are measured based on the amount of light received. Infrared sensors are used in a wide range of applications proximity detection, robotic applications for distance and object detection, and color detection and tracking. The output of the IR sensor can be digital or analog. Here, we will use an IR sensor with analog output.
In this project, we will learn How to interface an Analog IR Sensor with AVR ATmega16 microcontroller. Since, the output of the analog IR sensor is analog in nature and these analog signals cannot be processed directly by the ATmega16 microcontroller. So, first this signal needs to be converted to digital value to be processed by the microcontroller. The conversion can be done with the help of ADC of the AVR ATmega16 microcontroller. After converting the analog signal to digital, the microcontroller will display the digital value in the 1×8 LED array. But the LED array can display only 8-bit at a time. So, the 1×8 LED array will first display the lower 8-bit and then the upper 2-bit of the 10-bit digital output with a delay of 500ms. Now, we will place our hand or any other obstacle infront of the Analog IR Sensor and we will see the changes in the output of Analog IR Sensor in the LED array.
The step-by-step connection guide for Analog IR Sensor Interfacing with ATmega16 and LED Display is as follows
Steps - 1 ( 0f 8 )
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 2 ( 0f 8 )
Connect PortB header with LED header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 3 ( 0f 8 )
Connect the VCC, GND & O/P pins of Analog IR Sensor header to 5V, GND and PA0 pins of Port A header of AVR Trainer Board-100 respectively with 1 to 1 Connectors.
Steps - 4 ( 0f 8 )
Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.
Steps - 5 ( 0f 8 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.
Steps - 6 ( 0f 8 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 7 ( 0f 8 )
Download Analog IR Sensor Interfacing with ATmega16 and LED Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 8 ( 0f 8 )
Move an obstacle to and fro in-front of the Analog IR Sensor and see the change in output.
Insert the DC Pin of 12V, 1A DC Adapter to the DC Socket of AVR Trainer Board-100.
Steps - 1 ( 0f 8 )
Connect PortB header with LED header in AVR Trainer Board-100 with a 10 to 10 FRC Female Connector.
Steps - 2 ( 0f 8 )
Connect the VCC, GND & O/P pins of Analog IR Sensor header to 5V, GND and PA0 pins of Port A header of AVR Trainer Board-100 respectively with 1 to 1 Connectors.
Steps - 3 ( 0f 8 )
Connect the ISP header of AVR Trainer Board-100 with AVR USB Programmer header of AVR USB Programmer with a 10 to 10 FRC Female Connector.
Steps - 4 ( 0f 8 )
Connect the AVR USB Programmer to the PC/Laptop's USB Port directly or with the help of USB AM-AF Cable.
Steps - 5 ( 0f 8 )
Switch on the power with the help of Power Switch of AVR Trainer Board-100.
Steps - 6 ( 0f 8 )
Download Analog IR Sensor Interfacing with ATmega16 and LED Display Hex file to AVR Trainer Board-100 with the help of SinaProg Hex downloader and AVR USB Programmer.
Steps - 7 ( 0f 8 )
Move an obstacle to and fro in-front of the Analog IR Sensor and see the change in output.
Steps - 8 ( 0f 8 )
Downloads
Analog IR Sensor Interfacing with ATmega16 and LED Display Project File
356 downloads
0
Kb
Downloads
Analog IR Sensor Interfacing with ATmega16 and LED Display Project File
Post a Comment
There was some issue with the downloads. Issue is resolved and now you can download.
How can i help you?
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