Extreme Power-Save Mode: ESP8266 powered ON after External Interrupt
Why Electrical Engineering Stack Exchange recommends it
Electronics Stack Exchange answerers and commenters point people to it when they need a microcontroller to stay fully off until a sensor or button signal turns it on.
Recommended by 2 people across 2 different months, 2018 to 2022.
What it is
A short tutorial on powering an ESP8266 completely off and waking it with an external interrupt, using the CH_PD pin rather than deep sleep. It covers battery-powered builds such as a dash-button style device or a doorbell, and links the presenter's Arduino code on GitHub.
What people said
Recommends Maple · 2018-09 · Electrical Engineering Stack Exchange · on “Battery saving self-poweroff circuit”
Just stumbled upon this video [this video] , using of CH_PD pin to turn the chip completely off. They deal with long control signal by waiting until it goes low. I've modified this to better accommodate your needs. See update 2.
Recommends Jake quin · 2019-08 · Electrical Engineering Stack Exchange · on “Switch that change its state with a signal of some seconds”
How is your ESP8266 powered? Via the sensor? How far is the sensor from the ESP8266? How is the sensor powered? It is not a good practice to power the micro controller through the sensor. A good approach to this is to put your ESP8266 into "power saving mode" and let the signal from the sensor "wake-up" the ESP8266 via interrupts. this video [this video] explains on how this can be done Edit: You could use a feature of the 555 timer IC along with a transistor/relay. called the 555 bistable mode [LINK] connect the Trigger pin to your sensor and the reset pin to the ESP.
Cites Marc · 2022-07 · Electrical Engineering Stack Exchange · on “Reading capacitor voltage over ESP8266 A0 pin”
Thank you, that is a great idea ! What module do you suggest for this purpose ? ESP-12F ? I considered using this arragement link [this video]