• That all looks good to me. Have you checked that the voltage does stay constant? You're not using setDeepSleep(1) in your code - which is fine, but the board could draw around 30mA without it - which may be running down your supercapacitor?

    Maybe you could try adding some digitalPulse(LED1,1,10) commands for the 3 LEDs, to make sure that the board is running the code you expect. If the voltage from the Pololu board has increased slowly then the board might have 'browned out'.

    One other thing to watch out for is that when you plug in USB, the voltage will then come in through Espruino's voltage regulator - hopefully the Pololu module won't mind having power on its output while it itself is unpowered?

    Come to think of it, does the board run reliably while connected to USB?

About

Avatar for Gordon @Gordon started