Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5114

General • Re: How long will the Raspberry Pi Pico be turned on using a single 18650 battery?

$
0
0
You can reduce core voltage down to 0.90 V and frequency accordingly (at 0.90 V there might not be a problem to run it at 133 MHz, but depends on silicon lottery):

Code:

#include "hardware/clocks.h"#include "hardware/vreg.h"set_sys_clock_khz(18 * KHZ, true);vreg_set_voltage(VREG_VOLTAGE_0_90);
You can put all your data in flash by:

Code:

uint16_t __attribute__((aligned(4096))) __in_flash() image[] = {};
and copy your program to SRAM:

Code:

pico_set_binary_type(project copy_to_ram)
in CMakeLists.txt. It might use less energy by that. You can put GPIO23 high and check if there is lower power consumption (forcing Pico converter into PWM mode).

Statistics: Posted by MatSOBDev2 — Mon Mar 04, 2024 2:50 pm



Viewing all articles
Browse latest Browse all 5114

Trending Articles