Distance Measurement using Infrared Sensor with ADC0804 & 8051 Microcontroller

Distance Measurement

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.

For more detail: Distance Measurement using Infrared Sensor with ADC0804 & 8051 Microcontroller


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top