hcsr04sensor - Python Module

Contributing

The python hcsr04sensor module source code is available on Github.

Donate Your donations keep this site ad free -- Thank You

Fork Star Issue Watch

raspberry pi diagram

Use Python to calculate distance and depth measurements with an HCSR04 Ultrasonic Sound Sensor and a Raspberry Pi. The module also works with a waterproof JSN-SR04T sensor.

The module does the following;

Connecting the Sensor

The HCSR04 sensor has four pins.