Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIR Pin not working #72

Open
mlegnari opened this issue Oct 3, 2022 · 1 comment
Open

PIR Pin not working #72

mlegnari opened this issue Oct 3, 2022 · 1 comment

Comments

@mlegnari
Copy link

mlegnari commented Oct 3, 2022

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

@DJprasenjit
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants