Ultrasonic Distance measurement on 7 segment LED using 8051 microcontroller

This project is used to measure and display the distance using ultrasonic sensor. Here ultrasonic sensor is  sensing the distance and send the signals to the microcontroller AT89C2051. Microcontroller will give the output depending upon the program. The output is given to three 7 segment Displays. The display which we used is LTS543. 

7 segment led

They will display the distance which is measured. The distance is in centimeters. The ultrasonic sensor used in this project if from Rhydolabz. It's part no. is SEN-1155.Rhydolabz's "ECHO" Ultrasonic Distance Sensor with ASCII serial O/P is an amazing product that provides very short to long-range detection and ranging. The sensor provides precise,Stable non-contact distance measurements from about 2cm to 4 meters with very high accuracy. 

Rhydolabz SEN-1155


Its compact size, higher range and easy usability make it a handy sensor for distance measurement and mapping. The board can easily be interfaced to microcontrollers RX pin ( USART) . At every 50ms sensor transmits an ultrasonic burst and send out ASCII value of distance that corresponds to the time required for the burst echo to return to the sensor.  The Atmel AT89c2051 is used to receive the serial data from the sensor and it parse the serial data. The distance is displayed over the 7 segment display in centimeters. The Range of the sensor is from 2 cm to 4 m. The output baud rate is 9600bps. 

To download the code for this project click on below button.

To buy the ultrasonic sensor click on below button. 
Previous
Next Post »