Quantcast
Channel: Arduino – Do It Easy With ScienceProg
Viewing all articles
Browse latest Browse all 33

Echolocation with HC-SR04 ultrasonic distance sensor

$
0
0
Ultrasonic echolocation is common practice in many areas including nature itself. We all know how bats or dolphins navigate – they emit ultrasonic waves and depending on time delay of reflected echoes, they can determine the distance from obstacles or catch. From engineering perspective it is relatively easy to measure distances with ultrasound – all you need to know is sound speed in the air and time delay between sent and received pulses. L is the measured distance; CAIR – ultrasound speed; t – time between transmitted and received pulses. The accuracy of measured distance mainly depends on air temperature. Approximately sound speed in air can be calculated by following formula: For instance at 25ºC the speed of sound in dry air CAIR = 346.13 m/s. So if you want greater accuracy, you should also measure temperature to adjust sound speed. There are several cheap ultrasonic echolocation modules available, but probably most known and used is HC-SR04. You can find lots of projects built around them including distance meters, robots, radars, thickness, and security barrier, parking and liquid level. These modules have pretty good characteristics that make them so popular: Working Voltage  DC 5V Working Current  15mA Working Frequency  40 …

Continue reading


Viewing all articles
Browse latest Browse all 33

Trending Articles