-
Sat 2020.02.22
'Hi Robin, thanks for sticking with me on this.'
Ahhhh, you wouldn't know this, but I have a bit of a selfish reason to do so. Eventually, I'll get around to battery powering, then this will come in handy!
'Interestingly, that is not an option for me. I get an error when trying to setConfig on wifi'
Had a hunch that the note regarding ESP8266 might reign here, and your trial seems to confirm that. It is still good info though.
Unless there are other power users that see this in the short term, there (most likely) is enough here for @Gordon to pipe in, but as he is a bit underwater with the Bangle KickStarter, it might take a few days. In any event, he may need to take a break from flashing those ~1000 units, and welcome this as a nice diversion!!
p. 73 indicates that the designated mimimum is achievable:
So, my hunch is that as we know the LED full on is 33mA and it is currently dimly lit, that it's ~3mA draw is likely the culprit.
Hi Robin, thanks for sticking with me on this.
It can go from milli down to microamps.
It does when I have the chip "doing stuff", but then does go off after setDeepSleep(1).
Yes - thanks, had noticed this when trying to test sleep while connected through the Web IDE :-)
I see that the blue led is faintly lit on the top surface and another blue led on the undersurface. It does seem that there might be some ongoing power to the 8266 chip.
I have tried reflashing the Espruino and then upgrading the Esp8266 chip. Has not changed the power consumption.
Interestingly, that is not an option for me. I get an error when trying to setConfig on wifi:
Thanks - it looks like setDeepSleep might not be appropriately powering down the wifi, or the wifi leds.
Will certainly try this if no further progress. I suspect based on https://www.electro-tech-online.com/articles/achieving-low-power-on-adafruit-trinket.830/ that this would only account for a few micro amps.
Thanks again for your help. Hoping we can get to low power sleep at some point.