• Thr 2020.02.20

    Hi @narath, and thank you for your interest in the world of Espruino!

    Not able to respond with an intuitive answer just yet, but which version of Espruino is currently flashed? It's possible that recent updates have improved on sleep mode.

    Please post the result of process.env


    'I still get a current draw of 2.3 mA (not the hoped for 0.05 mA)'



    How is the Wifi device being powered?

     

    Ref calc
    L1 pinMode(A0, 'input_pulldown');
    p.96   http://www.espruino.com/datasheets/STM32­F411xE.pdf

    Typical 40K
    Checking: 3.3 / 40,000 = 0.000 082



    Are there any LED's on? What does the switch resistor(s) on 'A0' or input cirucit appear like? Is there a resistor constanly drawing current during the test? A picture might assist us here.



    Are you able to confirm ALL the five listed items beneath 'you must' heading 'Conditions for Deep Sleep'

    http://www.espruino.com/Power+Consumptio­n

About

Avatar for Robin @Robin started