ESP32-CAM-Video-Recorder icon indicating copy to clipboard operation
ESP32-CAM-Video-Recorder copied to clipboard

PIR Pin not working

Open mlegnari opened this issue 2 years ago • 1 comments

Hi! I downloaded the latest vA1 code, modified the data to access my wifi network, ok. But when I play the 3.3V signal from the PIR on pin 13 it doesn't respond. I already checked the variable PIR ENABLED = 1 by the browser, but without success. I'm using the ESP32-CAM module and I even attached the rx tx module to debug, but nothing appears. I've tried with and without a 10k resistor on pin 13. I noticed by measuring by the oscilloscope that there is a voltage on pin 13 of 2 volts even with the PIR wire disconnected. So I uploaded another code to test the interrupt and output of pin 13 because I thought it was damaged, but it worked normally with another code, both the digital readout and the digital output

mlegnari avatar Oct 03 '22 13:10 mlegnari

uncomment this line on settings.h on line 4 #define include_pir_and_touch use 15k register between pir data out and gpio13 it will work smoth

DJprasenjit avatar Oct 09 '22 04:10 DJprasenjit