Putting an RP2040/Pico to sleep

Yeah, a hammer would work :wink:

But seriously,

I'm working with a Raspberry Pi Pico and that has the RP2040 on it.
I'm programming it it the Arduino IDE and I want it to (deep)sleep for low power consumption.

I did find some topics on this but those have been closed without any hints/tips/solution or even replies.

Now I found this Youtube video:
Pi Pico Deep Sleep

When I watch this I'm like, 'dude slow down!'
At this point I'm confused by the video but I wonder if it makes sense to more experienced users here.

For example, can the libraries shown (stdio.h, pico/stdlib.h, pico/sleep.h, hardware/rtc.h) be used in the Arduino IDE?

Any thought on this topic? Please reply.

Thanks for reading :slight_smile:

The manner to put the RP2040 into sleep/LP is going to depend upon the "core" you use with the ArduinoIDE.

Likely the most common core is:

GitHub - earlephilhower/arduino-pico: Raspberry Pi Pico Arduino core, for all RP2040 boards

Sleep/LowPower is discussed here:
Low Power Modes · Issue #345 · earlephilhower/arduino-pico · GitHub

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.