• Hi Robin,

    Thanks for the thoughtful reply. Some responses:

    >process.env
    ={
      VERSION: "2v04",
      GIT_COMMIT: "3956264e",
      BOARD: "ESPRUINOWIFI",
      FLASH: 524288, RAM: 131072,
      SERIAL: "41006e00-0b513532-39333638",
      CONSOLE: "USB",
      MODULES: "Flash,Storage,hea" ... ",neopixel,Wifi,AT",
      EXPTR: 536871212 }
    > 
    

    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

    • blueled.jpg
    • wiring.jpg
About

Avatar for narath @narath started