Replies: 2 comments 6 replies
-
Was WiFi enabled? WiFi must be switched off for lightsleep |
Beta Was this translation helpful? Give feedback.
5 replies
-
... and there is no USB to serial chip on the board? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
According to several sources, while in "lightsleep" an ESP8266 should draw at most around 2ma, and still maintain the GPIO states. Testing did not confirm the low current; while in lightsleep the unit continued to draw it's normal running current of approximately 78ma.
The test was performed with the following instruction:
machine.lightsleep(5000) # 5000ms for a 5 second sleep.
The ESP8266 did indeed delay for 5 seconds and maintained the state of the GPIO pin of interest (GPIO4) at a low (drawing about 0.13ma).
Can anyone suggest why the current draw during lightsleep is much higher than expected?
Beta Was this translation helpful? Give feedback.
All reactions