Data Sheet
Guide V1.0
Email: keen@elecrow.com Web: www.elecrow.com ---Designed by Elecrow Keen
34
Lesson 13: Ultrasonic ranging
Overview
This lesson will teach you how to use HC-SR04 module to test distance. It is
generally used in the robot.
Specification
Please view “HCSR04.pdf”
Path: \Datasheet\ HCSR04.pdf
Pin definition
HC SR04 RPI
Vcc -> 5V0
Trig -> GPIO23
Echo -> GPIO24
Gnd -> GND
Hardware required
Material diagram
Material name
Number
HCSR04
1
Raspberry Pi Board
1
T-Cobbler Plus
1
40P GPIO Cable
1
Breadboard
1
Jumper wires
Several