-->
Page 1 of 1

Deep Sleep Pin States

PostPosted: Sun Nov 13, 2016 4:33 pm
by Gavin Poole
When my ESP-12e goes into deep sleep my GPIO pins are defaulting to high even though they are low in the code right before sleep. I need them to be low during sleep, is there any way to do this?
Thanks

Re: Deep Sleep Pin States

PostPosted: Fri Nov 18, 2016 10:54 am
by mrburnette
Tri-stating during deep-sleep is not uncommon. You can use an external CMOS inverter (like 6 in a single DIP) to invert the uC logic and then deal with the issues downstream... so uC HIGH will become uC LOW so now downstream logic must change.

You can also select a low-power mode that does not force the uC to go into deep sleep... maybe just turn off the RF? That will take 80 - 120mA down to sub-40 mA.

Ray