Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use ultrasonic sensors for measuring distance

Status
Not open for further replies.

bmn123

Banned
Joined
Nov 23, 2006
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
0
I read somewhere that ultrasonic sensors can be used to determine the distance to an obstacle.

If so, what are the sensors available in the market? Are there any alternatives? How do I implement the distance measuring circuit? I will be probably needing a digital output.
 

Re: Ultrasonic sensors

in these kind of circuits you send a constant number of pulses towards a reflecting surface and you count the time taken for these pulses to come back multiplying the time taken by the velocity of sound you get twice the distance... now dividing it by two you get the distance...
 

    bmn123

    Points: 2
    Helpful Answer Positive Rating
Re: Ultrasonic sensors

Two ways to do it. First you can measure travel time, second you can measure reflected signals amplitude.

Travel time measurement is explained by the message above.For amplitude measurement, reflected signals amplitude is measured to determine distance. But you need and ADC, you need to calibrate system, plus reflection coefficent can be different for materials.

There is tranceivers around for robotics, usually working around at 40KHz. You can use them. Take a look at digikey.com and other mail order component sellers' calalogues.
 

    bmn123

    Points: 2
    Helpful Answer Positive Rating
Re: Ultrasonic sensors

Polaroid first came out with ultrasonic distance sensors which transmitted a series of short pulses at frequencies around 50 kHz. They used several pulses at slightly different frequencies to minimize false readings due to noise and other effects. These were used in their cameras to provide a means of automatic focusing. Nowadays, you can buy ultrasonic tape measures at Sears, Home Depot, and other department stores (or on line). They can measure out to 50-100 feet with fractional inch accuracy.
 

Re: Ultrasonic sensors

To get an accurate distance you will need to know the air temperature. We use ultrasonic sensors to measure snow depth. We mount the sensor on a tower boom looking downward and as the snow accumulates the distance gets shorter. You must also make sure that you keep other objects out of the field of view of the sensor or account for their reflection in the processing.
 

Re: Ultrasonic sensors

Thanks for the help guys! I think I will use the time delay measurement scheme. I don't need to know the distance very accurately and the range over which I need to measure the distance is between 30cm - (150 to 200) cm.

Can you please tell me which are the most easily available sensors in the market and how to interface the sensor with the 8051 µC.
 

Re: Ultrasonic sensors

timer circuits are already available in the microcontroller so you send out a fixed number of pulses and when you receive the same number of pulses back you can measure the time.... many ultrasonic transmitters and receivers and available in the market optimized for usage.... you can find these by browsing through company sites...
 

Re: Ultrasonic sensors

bmn123 said:
If so, what are the sensors available in the market? Are there any alternatives? How do I implement the distance measuring circuit? I will be probably needing a digital output.

There's an SRF family of small inexpensive ulrasonic range sensors. For example SRF08, which has an I2C interface: https://www.acroname.com/robotics/parts/R145-SRF08.html
 

Re: Ultrasonic sensors

U can use the any sensors for this purpose u can just measure the time between the instant of transmitting till u receive the signal and multiply with the speed of sound i think u will get the distance.The circuit is avaliable in the internet and there are a lot of sample program avaliable in the internet
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top