Distance Measurement using Infrared Sensor with ADC0804 & 8051 Microcontroller

Distance Measurement using Infrared Sensor with ADC0804 & 8051 Microcontroller

This project primarily consists of four units: Microchip Technology’s SST89E54RDA-40-C-PIE, a sensor unit, an ADC0804 ADC component and the LCD module. Along with detecting an obstacle, its exact distance is also calculated and displayed on a 16×2 LCD interfaced to the microcontroller. The IR receiver detects the IR radiations reflected by the object being measured. The output voltage level of this IR sensor depends upon the intensity of IR rays received by the receiver. The intensity, in turn, depends on the distance between the sensor module and the obstacle. When the distance between IR pair and obstacle is lesser, more IR radiations fall on the receiver, and vice versa. The receiver along with a resistor forms a voltage divider whose output is supplied as the input for ADC0804. The calculation of the distance is achieved by processing the output of IR sensor through an ADC0804 analog to digital converter. It is calibrated to get accurate distance measurement.

During power-on reset, the SST89E54RDA-40-C-PIE can be configured as either a slave to an external host for source code storage or a master to an external host for an in-application programming (IAP) operation. The microcontroller is designed to be programmed in-system and in application on the printed circuit board for maximum flexibility. The device is pre-programmed with an example of the bootstrap loader in the memory, demonstrating the initial user program code loading or subsequent user code updating via the IAP operation. The sample bootstrap loader is available for the user’s reference and convenience only; SST does not guarantee its functionality or usefulness. Chip-Erase or Block-Erase operations will erase the pre-programmed sample code.

This design using infrared sensor with ADC0804LCN/NOPB and SST89E54RDA-40-C-PIE microcontroller has numerous applications. It can be used for automatic guided vehicles, positioning of robots as well as measuring generic distances, liquid levels in tanks, and the depth of snow banks. Moreover, the device can serve as a motion detector in production lines.

Distance Measurement using Infrared Sensor with ADC0804 & 8051 Microcontroller – [Link]

Please follow and like us:
Pin Share
About mixos

Mike is the founder and editor of Electronics-Lab.com, an electronics engineering community/news and project sharing platform. He studied Electronics and Physics and enjoys everything that has moving electrons and fun. His interests lying on solar cells, microcontrollers and switchmode power supplies. Feel free to reach him for feedback, random tips or just to say hello :-)

view all posts by admin
Subscribe
Notify of
guest

1 Comment
Inline Feedbacks
View all comments
Mujtaba Roohani

can you please guide me what should we do for Sharp IR Sensor

Get new posts by email:
Get new posts by email:

Join 97,426 other subscribers

Archives