I am building a ESP-07 based IOT device, that detects the status of 4 doors. The device must connect to WiFi and send an http request, when 1 of 4 doors is opened. The battery consumption should be minimal, so I thought of using deepsleep () or something similar to keep the device asleep most of the time, or keep it completely off (like most Dash buttons does).
I have studied several options, but almost all use a single GPIO to wake up the device. One option I have thought is to use a latch circuit that turns on the (previously turned off) device using a single GPIO.
My question is:
Can I use more than one GPIO, that is, one of 4 GPIOs to activate the latch circuit? Any ideas?
I have the problem of knowing which of the four doors has been opened!
Thanks in advance.
I have studied several options, but almost all use a single GPIO to wake up the device. One option I have thought is to use a latch circuit that turns on the (previously turned off) device using a single GPIO.
My question is:
Can I use more than one GPIO, that is, one of 4 GPIOs to activate the latch circuit? Any ideas?
I have the problem of knowing which of the four doors has been opened!
Thanks in advance.