ghubcoder / micropython-pico-deepsleep

MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
https://micropython.org
Other
30 stars 2 forks source link

I dont get 1.4ma #12

Closed SaitamaTechno closed 2 months ago

SaitamaTechno commented 11 months ago

I use picosleep and I get 6.6ma. It 3x reduced the power usage but it is not like 1.4ma. Here is my code:

import picosleep

f=open("deepsleep.txt","w") f.write("no") f.close()

picosleep.seconds(2592000) # 1 month

isnisn commented 9 months ago

Maybe you have other stuff running besides the rp2040?

SaitamaTechno commented 9 months ago

Yes I have a wired gyro sensor and a touch screen but I dont send them any data or receive, Why is this consumption so high? Is it normal?

elschopi commented 2 months ago

even if not sending or receiving data, your peripherals will consume standby current, just like the pico. some chips (e.g. BME280 temperature sensing IC's) can be put into a standby mode via software command, maybe you can reduce the standby consumption of your peripherals that way. the 1.4 mA is just for the pico with nothing else attached.

SaitamaTechno commented 2 months ago

@elschopi I got it thank you!