- Fri Feb 20, 2015 12:42 pm
jankop wrote:You can easily esp8266 wake from a deep sleep. Just bring on to the RST short negative pulse. I use it.
Let me explain it a bit more
ex :I won't be using a button, I'm planning to make a flood sensor module, which will inform the server if it detects any liquid. Just like the most of sensors, the sensor will give 3.3v until the state changes (liquid is not there/sensed anymore). I can use a bc542 to pull the rst pin to LOW but it will stay low until the liquid is gone and sensor won't give 3.3v anymore.
The result ? Sensor module will inform the server after the liquid is not there anymore (I want it to transmit as soon as it detects the liquid)
This scene is also same for the gas sensors, reed switch sensors, liquid sensors, PIR sensors.. All these things send the 3.3v until the gas, liquid, movement or magnetic field disappears.
So pulling rst to low for a sec is not an option for me without an another mcu :/ Is there a component that will pull the RST pin to LOW or HIGH (as i can convert them to each other) only for a sec?
Also, if the state of the sensor changes while the module is awake it will still reboot the module
AFAIK 0.9.5 has this option available on
9、revised system_deep_sleep，system_deep_sleep(0)，set no wake up timer，connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST
Also i saw this on bbs :
I guess this time it's more clear