| 1 |
Distance Measurement, Echo module |
| 2 |
================================= |
| 3 |
|
| 4 |
Distance can be measured by sending a burst of sound to the target and measuring the |
| 5 |
time interval to receive the echo. There are low cost electronics modules |
| 6 |
available for such applications. Hy-SR04 is such a module, that uses a 40kHz |
| 7 |
Piezo transmitter and receiver combination. |
| 8 |
|
| 9 |
Objective |
| 10 |
--------- |
| 11 |
|
| 12 |
Measure distance by measuring the time taken by :math:`40~kHz` pulse train to |
| 13 |
echo from a hard surface, using HY-SR04 |
| 14 |
|
| 15 |
Procedure |
| 16 |
--------- |
| 17 |
|
| 18 |
.. image:: schematics/sr04-dist.svg |
| 19 |
:width: 300px |
| 20 |
|
| 21 |
- Make the connections as shown in the schematic |
| 22 |
- Keep a flat surface around 10 cm from the SR04 module |
| 23 |
- Press START |
| 24 |
- Change the distance with time |
| 25 |
|
| 26 |
Discussion |
| 27 |
---------- |
| 28 |
|
| 29 |
The distance is calculated from the time taken by a burst of sound to |
| 30 |
echo from the surface kept in front of the module. The distance can be |
| 31 |
measured as function of time, enabling to calculate velocity, |
| 32 |
acceleration etc. |