Debian Codegraph @

eyes17/html/sr04dist.html

raw
1 <h2 id="schematic">Schematic</h2>
2 <hr>
3 <p><img src="images/sr04-dist.png" alt=""></p>
4 <ul>
5 <li>SR04 sensor has a pair of 40kHz Piezo discs along with some circuitry.</li>
6 <li>Applying a voltage pulse to the Trigger pin generates a burst of 40kHz sound
7 from the transmitter disc.</li>
8 <li>If the sound burst gets reflected from a surface and falls on the receiver disc, it generates an electrical signal.</li>
9 <li>The time interval between these two pulses is measured.</li>
10 <li>The distance to the surface is calculated by assuming the velocity of sound in air.</li>
11 </ul>
12 <h2 id="instructions">Instructions</h2>
13 <hr>
14 <ul>
15 <li>Make the connections and keep a flat object in front of the sensor.</li>
16 <li>Press the <strong>START</strong> button to record the distance, as a function of time.</li>
17 </ul>