this post was submitted on 06 Feb 2024
613 points (98.1% liked)

Open Source

31200 readers
209 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] cmnybo@discuss.tchncs.de 6 points 9 months ago (1 children)

For something like this, you would use the RP2040 chip rather than the whole Pi Pico module. The RP2040 uses 180µA in its lowest power sleep mode and the flash and regulator will use a few more microamps. The battery would still last for over a year in standby. Of course it could just be turned off when not in use. Without an operating system, the boot time should only be a fraction of a second.

The ESP32 uses 800µA in sleep mode if you want to retain the memory contents or 10µA with only the RTC memory retained.

A low power STM32 would use orders of magnitude less power in sleep mode than either the RP2040 or ESP32 though.

[–] JustEnoughDucks@feddit.nl 7 points 9 months ago* (last edited 9 months ago)

Yes, I know. I have designed with the RP2040 and 180μA is extremely high power usage for deep sleep mode.

The ESP32 has far more sleep modes than that that each use different power, you are just talking about its light sleep: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html

You are comparing the deep sleep of the pi pico to the light sleep of the ESP32 where the coprocessor is still running. The rp2040 light sleep mode consumes 7mA. It is literally orders of magnitude different. https://learn.adafruit.com/deep-sleep-with-circuitpython/rp2040-sleep (they only did light sleep.mode because deep sleep wasn't even available)

As far as the professional chips, they cost on average far more for less and less sleep gains. (A lot of the L series of stm is like 15€ per chip)

You would definitely use deep sleep for this as you would only wake it up to start using it with a button press. Whether they would use light sleep or deep sleep, there is an order of magnitude difference in sleep power consumption.