Skip to main content

Timeline for esp32 cam and PIR sensor

Current License: CC BY-SA 4.0

15 events
when toggle format what by license comment
Jun 24, 2019 at 11:24 vote accept David Graff
Jun 24, 2019 at 0:59 comment added David Graff Let us continue this discussion in chat.
Jun 24, 2019 at 0:52 answer added st2000 timeline score: 1
Jun 23, 2019 at 23:45 comment added David Graff Ok I will give it a shot
Jun 23, 2019 at 21:28 comment added st2000 I don't think that is going to work. The PIR spec says it will output a high when activated. And the ESP32 Cam schematic, if accurate, shows K1 making a connection to ground when pushed. So the PIR is doing the opposite of what you need. Also, the ESP chip is probably a QFN package is is extremely difficult to solder directly to. Likely it would be much easier to solder to the push button switch lead.
Jun 23, 2019 at 18:58 history edited David Graff CC BY-SA 4.0
added 226 characters in body
Jun 23, 2019 at 18:56 comment added David Graff Ok I think I see now. I would need to solder it to the esp32-s chip itself. I will provide a high signal to the rst pin 3 via the PIR sensor and it will reset the board? I added an edit to include the schematic of my PIR sensor.
Jun 23, 2019 at 17:14 comment added st2000 I am looking at this schematic. Assuming this is the board you have. I see a reset switch connected to net ES32_RST. Which appears at pin 3 of the ESP-32S chip. Guessing, if your PIR uses an open collector to ground type output, you might try soldering to the open side of the reset switch.
Jun 23, 2019 at 16:21 comment added David Graff I am not seeing a pin 3 (esp32 rst) on this board. Could you point it out. Then you can change this to can answer.
Jun 23, 2019 at 15:36 comment added st2000 So, you are using pins other than pin 3 (E32_RST)? Guessing, most embedded processors generate different vectors (places they go to and start code execution) based on which pins are generating interrupts. It may be that the libraries you are using only setup an interrupt for pin 3. As this is all guess work - I'm resisting the temptation to change this comment into an answer.
Jun 23, 2019 at 13:53 history edited David Graff CC BY-SA 4.0
added 184 characters in body
Jun 23, 2019 at 13:48 comment added David Graff @st2000 I added some more info to the OP.
Jun 23, 2019 at 13:47 history edited David Graff CC BY-SA 4.0
added 184 characters in body
Jun 23, 2019 at 13:42 comment added st2000 A schematic of how you are hooking up the PIR to the esp32 cam board would help.
Jun 23, 2019 at 11:40 history asked David Graff CC BY-SA 4.0