In this video, I'm exploring the use of Mini PIR Sensors with ESP32 with both Arduino-based projects as well as making a movement sensor for Home Assistant by using ESPHome. The sensor is quite ...
//Include the library #include <MQUnifiedsensor.h> /*****Hardware Related Macros*****/ #define Board ("Arduino UNO") #define Pin (A4) //Analog input 4 of your arduino ...