Datasheet
Page 2 · Smart Sensors and Applications
Figure 2 - How the Ping))) Sensor Works
The Ping))) sensor's chirps are not audible because 40 kHz is ultrasonic.
What we consider sound is our inner ear's ability to detect the variations in air pressure
caused by vibration. The rate of these variations determines the pitch of the tone. Higher
frequency tones result in higher pitch sounds and lower frequency tones result in lower pitch
tones.
Most people can hear tones that range from 20 Hz, which is very low pitch, to 20 kHz, which
is very high pitch. Subsonic is sound with frequencies below 20 Hz, and ultrasonic is sound
with frequencies above 20 kHz. Since the Ping))) sensor's chirps are at 40 kHz, they are
definitely ultrasonic, and not audible.
ACTIVITY #1: MEASURING ECHO TIME
In this activity, you will test the Ping))) sensor and verify that it gives you echo time
measurements that correspond to an object's distance. You will also modify the example
program to convert these times into centimeter measurements.
Parts Required
All you'll need is a Ping))) sensor and three jumper wires to make it work. The Ping)))
sensor has protection against programming mistakes (and wiring mistakes) built-in, so
there's no need to use a 220 Ω resistor between P15 and the Ping))) sensor's SIG terminal.
(1) Ping))) Ultrasonic Distance Sensor
(3) Jumper Wires