When DeepSleep GPIO don't Full sleep

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

When DeepSleep GPIO don't Full sleep

#1 Post by Deennoo » 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 :

Code: Select all

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

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: When DeepSleep GPIO don't Full sleep

#2 Post by Deennoo » 16 Jun 2016, 00:10

With some help, i discover that this "problem" is only on GPIO2.

Made some test on GPIO14 and no probleme with this

maluko
Normal user
Posts: 112
Joined: 02 Sep 2015, 00:49

Re: When DeepSleep GPIO don't Full sleep

#3 Post by maluko » 16 Jun 2016, 11:25

Hi deennoo

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

thanks

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: When DeepSleep GPIO don't Full sleep

#4 Post by Deennoo » 25 Jul 2016, 21:31

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests