- Mon Feb 04, 2019 7:01 am
#80416
7pot wrote:jankop wrote:Am I doing something wrong?
Yes, no doubt.
Thanks for you answer, jankop!
Actually I was hoping for something more specific like a tip (e.g. connect GPIO15 to Vcc). Do you have any idea about that?
I have just connected USB and flashed the standard 2.2 LUA firmware. No other pins e.g. are connected, nothing is running, wifi is not active. Two ESP8266 get really hot, one does not. That seems strange. If I am doing something wrong I have not idea what.
I have just recently been trying to find the source of a random current draw in my ESP circuit, and have found that GPIO15 seems (at least in the latest SDKs) to be left HIGH after boot. As this has to be pulled to GND at start up in order to boot from flash, this means it's draining to GND through whatever resistor you have pulled it down with.
I've now added a line to set it LOW and disable it on startup and it's reduced my current draw by about 12-15mA.
In addition, I also set up the wifi radio to be off by default - I turn it on only when I need it on by using the *_current functions so that the state doesn't get stored in flash. This saves a lot of power and keeps the chip cooler.
Hope those give you some ideas