ESP32 with PIR Motion Sensor using Interrupts and Timers

Опубликовано: 15 Октябрь 2024
на канале: Rui Santos
86,021
1k

For complete project details (schematics + source code), visit ► https://randomnerdtutorials.com/esp32...

This tutorial shows how to detect motion with the ESP32 using a PIR motion sensor. In this example, when motion is detected (an interrupt is triggered), the ESP32 starts a timer and turns an LED on for a predefined number of seconds. When the timer finishes counting down, the LED is automatically turned off.


Like my page on Facebook:
  / randomnerdtutorials  
Add me on Google+:
https://plus.google.com/+RuiSantosdotme
Follow me on twitter:
  / ruisantosdotme  

Subscribe for more projects like this!
http://bit.ly/subscribeRNT