User Manual
120
Lesson 25 Ultrasonic Ranging Module
Introduction
The ultrasonic sensor uses sound to accurately detect objects and measure distances. It
sends out ultrasonic waves and converts them into electronic signals.
Components
- 1 * Raspberry Pi
- 1 * Breadboard
- 4 * Jumper wires (Male to Male, 2 red and 2 black)
- 1 * Network cable (or USB wireless network adapter)
- 1 * Ultrasonic ranging module
- Several jumper wires (Male to Female)
Experimental Principle
This sensor works by sending a sound wave out and calculating the time it takes for the sound
wave to get back to the ultrasonic sensor. By doing this, it can tell us how far away objects
are relative to the ultrasonic sensor.
Test distance = (high level time * velocity of sound (340M/S)) / 2 (in meters)
Experimental Procedures
Step 1: Build the circuit
Raspberry Pi T-Cobbler Ultrasonic Ranging Module
5V 5V0 VCC
GPIO0 GPIO17 Trig
GPIO1 GPIO18 Echo
GND GND GND










