Skip to content

GAsNA/motion_sensor_esp32

Repository files navigation

Motion Sensor with ESP32

A simple code to use a motion sensor on ESP32.

At each detection, a webhook is sent to discord ; when the motion stop, another webhook is sent. When the wifi connection is lost and then recovered, a webhook is sent with a "Connection lost for [n] seconds/minutes/hours" message.

Wiring

Materials

  • ESP-WROOM-32 Dev Module
  • Micro USB cable
  • HC-SR501 Motion Sensor
  • Jumper Wires female-female

Wiring Diagram

Wiring diagram of a mensor detector on ESP32

More information Here

Badges

Arduino IDE Espressif

C C++

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published