Page 1 of 1

When DeepSleep GPIO don't Full sleep

Posted: 13 Jun 2016, 22:12
by Deennoo
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 :

Code: Select all

On System#Enter deep sleep...
gpio,2,0
endon

Re: When DeepSleep GPIO don't Full sleep

Posted: 16 Jun 2016, 00:10
by Deennoo
With some help, i discover that this "problem" is only on GPIO2.

Made some test on GPIO14 and no probleme with this

Re: When DeepSleep GPIO don't Full sleep

Posted: 16 Jun 2016, 11:25
by maluko
Hi deennoo

i am wainting a while for you wires schematics, i will try try to implement this.

thanks

Re: When DeepSleep GPIO don't Full sleep

Posted: 25 Jul 2016, 21:31
by Deennoo
1st test is a succes : same wiring as my source.

I discover a battery shield for wemos mini i will get one for test.

my first proto wasn't protected and a nightly rain arrive...i have to clean and remade it, on a safe box.