The Pico + ESP01 module shouldn't draw that much power in deep sleep. What's the power draw if you upload no code at all apart from setDeepSleep(1)? And what if you disconnect the eInk display?
On STM32 when you do setDeepSleep it should shut off the Serial port automatically, but as you say there could be pullups... Since Serial will automatically want to pull the pin up, but if ESP8266 is off, it may be being parasitically powered through those serial pins.
Maybe when you're not using the ESP8266 you could turn it off and then do RX.read();TX.read(); to set both the serial port pins to inputs?
© Espruino, powered by microcosm.
Report a problem