It's a while since I worked on the micropower features but I'm sure I measured the current consumption of a Pyboard at <= 500μA as per the spec. Now I seem unable to achieve this.
To test, the Pyboard is connected only to a 5V bench power supply. There is no SD card fitted.
/flash/boot.py:
Code: Select all
import pyb
pyb.usb_mode(None)
Code: Select all
import measure_i
Code: Select all
import pyb
led = pyb.LED(1)
led.off()
pyb.usb_mode(None)
for pin in [p for p in dir(pyb.Pin.board) if p[0] in 'XY']:
pin_x = pyb.Pin(pin, pyb.Pin.OUT_PP)
pin_x.value(0) # EDIT: should be 1 here
pyb.stop()
led.on()
On a Pyboard V1.1 I'm reading 3-3.5mA. On a Pyboard Lite I'm seeing 1.5mA. Note that when running normally the board consumes at least 20mA, further confirming that it is in a sleeping state.