Skip to content

Ultrasonic HC-SR04 ESP8266/ESP32 motion sensor with e-mail reporting

N
Nino Ivanov

8 Views • Mar 11, 2024

Description

A program/setup is described, whereby a HC-SR04 ultrasonic sensor measures distance and reports to a microcontroller, an ESP 8266 or ESP 32, any detected disturbances in the measured distance (usually through movement, hence functioning as a motion detector), which in turn reports such disturbances to a "disposable e-mail-address" (vulgo "trash mail") of your choice. Extremely easy to set up through the Arduino IDE. For the code see https://github.com/KedalionDaimon/Motion-Sensor-ESP8266-ESP32-HC-SR04-Mail


#ultrasound #hcsr04 #esp32 #esp8266 #motion