When DeepSleep GPIO don't Full sleep
Posted: 13 Jun 2016, 22:12
I there.
I plan to made a soil moisture sensor with solar battery.
I plan to use the deepsleep fonction to protect battery, outside soil moisture doesn't need monitoting every Minutes, Once Hour is enought.
I plan to use analog fonction
I set GPIO 2 High at boot, and made an analogue reading from it, i test with different divisor bridge value look OK.
But I made some mesurment between GND and GPIO 2 when ESP is on Deepsleep, this give 2.0v, which will cause a battery drain, is there a way to make it sleep for real ?
Edit : Got an Idea, Does enter on Deep Sleep is knowing by ESP as an event system who can trigger rules ?
don't know if this hard to to or not but problem ca be solve with this rules :
I plan to made a soil moisture sensor with solar battery.
I plan to use the deepsleep fonction to protect battery, outside soil moisture doesn't need monitoting every Minutes, Once Hour is enought.
I plan to use analog fonction
I set GPIO 2 High at boot, and made an analogue reading from it, i test with different divisor bridge value look OK.
But I made some mesurment between GND and GPIO 2 when ESP is on Deepsleep, this give 2.0v, which will cause a battery drain, is there a way to make it sleep for real ?
Edit : Got an Idea, Does enter on Deep Sleep is knowing by ESP as an event system who can trigger rules ?
don't know if this hard to to or not but problem ca be solve with this rules :
Code: Select all
On System#Enter deep sleep...
gpio,2,0
endon