The following libraries/extensions are required by this example:
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 |
