Adafruit HUZZAH red led behavior under deep sleep
Posted: Sat Dec 12, 2015 12:29 am
Hi,
According to HUZZAH schematics, the red led on the HUZZAH pcb (NOT the leds on the mounted esp module) is connected to a 1K resistor and is also pulling up GPIO0. GPIO0 is also connected through a switch button to ground - so GPIO0 is configured as multi purpose - both able to trigger the red led (e.g turn on by setting GPIO0 low) and also allows entering flash program mode by pressing the button during power on. GPIO0 is essentially pulled up via the led using the 1K resistor.
see full schematics here https://github.com/adafruit/Adafruit-Huzzah-ESP8266-Basic-Breakout-PCB
Everything behaves as expected, however, when i put my HUZZAH board into deep sleep (yes GPIO16 has to be connected to RST for this to work) - something funny going on with that red led - It is powered, but very dimmed. See picture of board under deep sleep and notice the led:
This happens only in deep sleep mode! Because when the board is fully powered, that led is completely off. I also measured current during deep sleep and it shows ~97uA which is roughly 10 times the advertised current consumption under deep sleep (~10uA) - so that led is sucking power.
Does this happen because GPIO0 is special and doesn't have internal pullup/down? Will replacing the 1K with 10k resolve the issue?
According to HUZZAH schematics, the red led on the HUZZAH pcb (NOT the leds on the mounted esp module) is connected to a 1K resistor and is also pulling up GPIO0. GPIO0 is also connected through a switch button to ground - so GPIO0 is configured as multi purpose - both able to trigger the red led (e.g turn on by setting GPIO0 low) and also allows entering flash program mode by pressing the button during power on. GPIO0 is essentially pulled up via the led using the 1K resistor.
see full schematics here https://github.com/adafruit/Adafruit-Huzzah-ESP8266-Basic-Breakout-PCB
Everything behaves as expected, however, when i put my HUZZAH board into deep sleep (yes GPIO16 has to be connected to RST for this to work) - something funny going on with that red led - It is powered, but very dimmed. See picture of board under deep sleep and notice the led:
This happens only in deep sleep mode! Because when the board is fully powered, that led is completely off. I also measured current during deep sleep and it shows ~97uA which is roughly 10 times the advertised current consumption under deep sleep (~10uA) - so that led is sucking power.
Does this happen because GPIO0 is special and doesn't have internal pullup/down? Will replacing the 1K with 10k resolve the issue?