π A scalable, production-ready driver for analog sound sensors like KY-037/KY-038 using ESP32.
- Voltage & ADC reading
- Loud sound detection (
isLoud()) - Clap detection with debounce (
detectClap())
BasicUsageβ Print live sound voltageLoudnessMonitorβ Detect loud environmentsClapDetectorβ Detect clap gestures
| Sensor | ESP32 |
|---|---|
| VCC | 3.3V |
| GND | GND |
| A0 | GPIO34 (analog input) |
MIT License