It was being powered by a LiPoly battery (also tested it with USB power breakout - with the same result).
Have no external LEDs. Had set the SleepIndicator as per the code, but turning that off did not seem to change anything.
The pull down resistor was 10K, I increased this to 100K and it did not change the current draw (and the button still worked). Picture of that attached.
I have noticed that there is a small blue LED on the Espruino that is faintly active when powered by battery.
Thanks again for your help. Hopefully we can get this down to 0.05mA
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Robin,
Thanks for the thoughtful reply. Some responses:
It was being powered by a LiPoly battery (also tested it with USB power breakout - with the same result).
Have no external LEDs. Had set the SleepIndicator as per the code, but turning that off did not seem to change anything.
The pull down resistor was 10K, I increased this to 100K and it did not change the current draw (and the button still worked). Picture of that attached.
I have noticed that there is a small blue LED on the Espruino that is faintly active when powered by battery.
Thanks again for your help. Hopefully we can get this down to 0.05mA
2 Attachments