# Ultrasonic Distance Finder Using 8051

Today's world technology ultrasonic response is more needed like in robotics, automation. Here ultrasonic is interfacing with 8051 Microcontroller to find the range of objects. HC-SR04 is an ultrasonic ranging module designed for embedded projects like this.

Looking to build projects on Electronics?:

Electronics Kit will be shipped to you and you can learn and build using tutorials. You can start for free today!

It has a resolution of 0.3cm and the ranging distance is from 2cm to 400cm, this module transmit signal waves up its echo, and it measures the time elapsed between the objects output in the form of the calculated which is proportional to the distance.

It have 40KHz crystal oscillator to generate the ultrasonic waves to transmit.

The time it takes the ultrasonic pulse to travel back and forth to the object is also knows as the speed of the sound.

The Formula to calculate the distance is Speed =Distance/Time

Regarding ultrasonic changes to t=s/v

Distance s=t * 0.0034/2

## Project Description:

1. AT89S52: The AT89S52 is a low power, high performance CMOS 8-bit microcontroller with 8k bytes of in-system programmable flash memory. This is a powerful microcontroller which provides high flexibility and cost effective solution to many embedded control applications. It has the following standard features: 8K bytes of flash, 256 bytes of RAM, 32 I/O lines, watchdog timer, 2 data pointers, 3 16-bit timers/counters, on-chip oscillator and clock circuitry.

Did you know

Skyfi Labs helps students learn practical skills by building real-world projects.

You can learn from experts, build working projects, showcase skills to the world and grab the best jobs.
Get started today!

1. Ultrasonic Sensor: The trigger signal for starting the transmiision is given so the triggered is applied in high time,the signnal is transmitted and the echo is picked by the echo receiver and consist of 40KHz oscillator from there itself generates the pulses.

2. LCD : A liquid-crystal display is a flat-panel or the other electronically modulated optical device that the light-modulating properties of liquid crystal.LCDs are available to display present words, digits, and seven-segents display.

## Project Implementation:

1. Connect the 5v, Gnd, Echo and Trigger to the controller board
2. The entire circuit of both Microcontroller and Ultrasonic sensor powered from 5v DC Supply
3. Connect the LCD Display to PORT 0 of controller
4. While Handiling the ultrasonic make an importance to it,its sensitive is more

## Software requirements:

1. Keil Uvision 3: Keil Software makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments and evaluation boards for the 8051, 251, ARM and XC16x/C16x/ST10 microcontroller families
2. Programming language: Embedded C Language

## Latest projects on Electronics

Want to develop practical skills on Electronics? Checkout our latest projects and start learning for free

Kit required to develop Ultrasonic Distance Finder Using 8051:
Technologies you will learn by working on Ultrasonic Distance Finder Using 8051:
###### Ultrasonic Distance Finder Using 8051
Skyfi Labs Last Updated: 2022-04-18

Join 250,000+ students from 36+ countries & develop practical skills by building projects

Get kits shipped in 24 hours. Build using online tutorials.

## Subscribe to receive more project ideas

Stay up-to-date and build projects on latest technologies