Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 686 Bytes

File metadata and controls

22 lines (14 loc) · 686 Bytes

HC-SR04: Ultrasonic Distance Sensor

Requirements

The following libraries/extensions are required by this example:

Assembly

The wiring instructions below are required to run this example without modification.

HC-SR04 Raspberry Pi Reference
VCC Pin 02 5v Power
Trigger Pin 22 GPIO 25
Echo Pin 18 GPIO 24
GND Pin 30 Ground

Diagram

Wiring Diagram