Post links and attach files for documentation here, also chat about these docs freely

User avatar
By Sille
#61966 Hey guys,

I programmed my ESP8266 NodeMCU DevKit to go into the deep sleep and wondering why it isn´t possible to lower the power consumption to a couple of uA like it is stated in the discription of the module. After entering the deep sleep via node.dsleep(time, option) there is still a currrent about 18mA. I also tried different sleeptype´s (MODEM_SLEEP, LIGHT_SLEEP) and different options for node.sleep() but without success. Maybe somebody can help me with a code exmaple or further information.

This is what i tried:
I'am using a Nodemcu firmware build from https://nodemcu-build.com/ so i guess it's the latest version. I noticed that there is a mistake in the documentation at https://nodemcu.readthedocs.io/en/maste ... es/wifi/... it is written that the sleeptype can be configured by typing "wifi.sta.sleeptype(type_wanted)" but this was creating some kind of syntax failure. After trying wifi.sleeptype(type_wanted) the failure wasn´t there anymore I found out that everybody is using the second expression why is it like that? Are there some recent changes which I do not know? Maybe this is causing the problem? I also read this https://forum.makehackvoid.com/t/esp826 ... -off/776/2 and I tried theyre code but I could not fix it.

Another thread in this forum from TerryE said that the DevKit isn´t optimized to achive a low power solution because of the uart/usb chip on it. But why are the dsitributors are advertising with it, basically it was the reason why I chose this one. Is there any solution for this problem? Lot of thanks hopefully somebody can help with some instructions.

best regards

Sille