phlangone/hc_sr04

2.0.0

Latest
uploaded 21 hours ago
HC-SR04 ultrasonic distance sensor driver for ESP-IDF

3 examples

  • basic-read
    This example demonstrates how to interface the HC-SR04 ultrasonic distance sensor with an ESP32 using ESP-IDF.
    1.84 KB
  • multi-sensor
    This example demonstrates how to use two HC-SR04 sensors in an ESP-IDF application, reading each sensor sequentially to minimize acoustic cross-talk.
    2.10 KB
  • raw-read
    This example demonstrates how to read the raw HC-SR04 echo pulse width in microseconds for custom processing.
    2.03 KB