Leakage current on GPIO while in DeepSleep
Posted: Mon Sep 05, 2016 9:12 am
Hi there,
In my project (based on a NodeMCU - ESP12E) I use 4 different GPIOs:
- 2 as INPUT (connected to switches) => D1 & D6 (GPIO5 & GPIO12)
- 2 as OUTPUT (connected to LEDs) => D2 & D5 (GPIO4 & GPIO14)
When the module is in DeepSleep, the LED connected to D5 (GPIO14) goes to a "dimly lit" state which is not what I expect when I want to save battery life!
I don't have the problem on GPIO4 with the other LED, it is clearly linked to GPIO14.
I saw GPIO14 was mapped to HSCLK but I thought it could be used as a simple output GPIO ...
Any suggestion???
Thanks!
In my project (based on a NodeMCU - ESP12E) I use 4 different GPIOs:
- 2 as INPUT (connected to switches) => D1 & D6 (GPIO5 & GPIO12)
- 2 as OUTPUT (connected to LEDs) => D2 & D5 (GPIO4 & GPIO14)
When the module is in DeepSleep, the LED connected to D5 (GPIO14) goes to a "dimly lit" state which is not what I expect when I want to save battery life!
I don't have the problem on GPIO4 with the other LED, it is clearly linked to GPIO14.
I saw GPIO14 was mapped to HSCLK but I thought it could be used as a simple output GPIO ...
Any suggestion???
Thanks!