29
votes
How can I stress test my Raspberry Pi
You can perform a Raspberry PI stresstest with the sysbench tool.
First example calculate primes
sysbench --test=cpu --cpu-max-prime=20000 run
Second example test the I/O Output of your Raspberry ...
29
votes
Will any external battery power a Raspberry Pi?
Short answer
Yes, most (but not all!) USB power banks are capable of powering a Raspberry Pi, since they usually have an output voltage of 5 V. And yes, by using a (quite large) 50 Ah power bank, you ...
20
votes
Accepted
Measure RPi3 power consumption without external hardware
The Pi has no inbuilt current or voltage sensors which could be used for monitoring its own current draw, or a battery supply. You will need to track down a multimeter or other measuring device (this ...
17
votes
Measure RPi3 power consumption without external hardware
The Pi 3, while idling, consumes about 220 mA. Under loads, it is known to reach up to 1 A, and with USB devices plugged in, it can reach 2.5 A. There is no on board current sensor, so this is only a ...
16
votes
How can I stress test my Raspberry Pi
I wrote the little command-line tool stressberry the other day which stresses your Raspberry, measures the core temperature, and produces nice plots. Install with
pip install stressberry --user
and ...
15
votes
Accepted
What can I use to power my Raspberry Pi Zero with rechargeable battery?
I took a quick look at some light and powerful lithium polymer batteries, and it looks to me like a battery similar in scale to the Zero is not going to provide much capacity. Let's keep in mind that ...
13
votes
Is it possible to detect input voltage using only software?
vcgencmd will show the internal voltages for core, sdram_c, sdram_i, and sdram_p:
vcgencmd measure_volts core
The output will look something like this:
volt=1.20V
The following shell commands will ...
12
votes
Accepted
DIY uninterruptable power supply (UPS) for Raspberry Pi Zero
Absolutely DO NOT connect the battery in parallel with the load. The charger will not know if the battery is full or not and will continue to pump power both to the battery and the step-up converter.
...
10
votes
How can I stress test my Raspberry Pi
For the CPU and most other things you can use
nice -19 stress-ng -c 4 --metrics --timeout 60s
For the GPU they suggest GeeXLab at geeks3d.com.
10
votes
Accepted
How long does the RPi last on a battery?
The pi can't draw more than 1A due to a fuse stopping the board drawing more than that. So how big a battery you need really depends on how long you want it to run. If you have a 500mAh battery, that ...
10
votes
Will any external battery power a Raspberry Pi?
As long as the power bank outputs 5V it will power the Pi.
It claims 50000mAh so it claims 2.5 amps per hour for 24 hours. Assume it will deliver half that so 1.25 amps for 24 hours.
If that is ...
9
votes
Accepted
Can I use a DC-DC step up module to power a Raspberry Pi from 2AA batteries?
Yes, should do
Just double checking the datasheet of the MT3608:
if using AA rechargables instead of batteries, mind the lower voltage (cell voltage 1.2 V), but for two cells in series still above ...
8
votes
Accepted
7.2V battery with Raspberry Pi
This will NOT work.
You cannot just use a resistor. If you try you will destroy your Pi.
You will need a regulator. A switching regulator is recommended.
8
votes
Accepted
Powering Pi from Ni-MH batteries
The batteries won't force current through the system. Your bigger problem, though, will be running the Raspberry Pi 2 at all on 4.8 V. It's very close to under-voltage warning (which I saw quoted as 4....
8
votes
Accepted
Power Pi4 with USB-C Power Bank
Intro:
Many of my contributions to this forum have centered around innovative ways to power a Pi which is awkwardly out of reach of a mains socket, specifically using POE. But what do you do if ...
7
votes
What can I use to power my Raspberry Pi Zero with rechargeable battery?
You can use:
A USB battery pack like this one from Adafruit.
Others have used powerbanks like this one these allow charging the battery and powering the Pi simultaneously (more info on using these ...
7
votes
L298N Not working with 4 x AA Batteries
The problem was that there was no ground between the L298N and the Raspberry Pi. By wiring the Ground (-'ve) terminal on the L298N to a ground pin on the Raspberry (as well as the batteries) it then ...
6
votes
Accepted
How to know how much battery power is remaining?
In the scenario of a USB power pack, you'd have to add a circuit to the Pi that monitored its own voltage, e.g. through an ADC (analogue-to-digital converter). This would give you the capability to ...
5
votes
Can I power my pi with an 800 ma/h battery?
It outputs current at 800 ma/h
I think this measurement/units are wrong. Amps are defined as Coulombs/s. So your current cannot be 800 mA/h. Your output current is 800mA. You can give a measure of ...
5
votes
What can I use to power my Raspberry Pi Zero with rechargeable battery?
Rechargeable powerbanks are great for this. They are made to recharge mobile phones, so they have standard USB output. I use them in a few of my projects with different Raspberry Pis including the ...
5
votes
Raspberry Pi Zero Battery Life With 4400mAh battery
Similar questions have been asked and answered, you might search for other questions.
Here are a few:
Battery Power Requirements
How long does the RPi last on a battery?
Community wiki
4
votes
How can I stress test my Raspberry Pi
XBMC doing multimedia decoding might be a good test as well as the UI there is in OpenGL. A game that constantly hammers the frame buffer (memory!) while including a numerical simulation like OpenTTD ...
4
votes
Can I power my pi with an 800 ma/h battery?
It may be marginal, you'll have to try and see. You won't damage the Pi (at worst if the power is insufficient you might corrupt an SD card).
http://www.raspberrypi.org/help/faqs/#powerReqs
4
votes
Accepted
Power Pi from Li battery?
You could build a boost converter using a TPS61030 boost converter from TI or you could use this product that uses it.
Personally I would be nervous using a cheap converter from ebay to power my RPi.
4
votes
Will any external battery power a Raspberry Pi?
Sources on the Raspberry Pi forums say the Raspberry Pi uses approximately 500mA add in the 250mA for the camera module, and round for a safety margin equals approximately 1A. A 50,000mAh battery ...
4
votes
Will any external battery power a Raspberry Pi?
Something to keep in mind is that some power packs will shut themselves down if there isn't enough of a power draw. For example, I have a New Trent PowerPak+ 13500mAH power pack, which shuts itself ...
4
votes
Accepted
Power Bank + raspberry pi 2, any throughts?
Short answer, yes it will work great. For some more info:
"The device is powered by 5v micro USB. Exactly how much current (mA) the Raspberry Pi requires is dependent on what you hook up to it. We ...
4
votes
Powering the Pi with 2 AA batteries
The Pi itself only needs 3V3 and less for its circuitry. It's supplied with 5V because USB peripherals and HDMI expect 5V.
If you don't need anything connected to the USB or HDMI then powering from ...
4
votes
Accepted
Using an I2C Battery Fuel Gauge Device Driver
Linux 4.4 has an updated driver for the bq27xxx series of fuel gauge IC's. This driver is available in the rpi-4.4.y development branch at the Raspberry Pi Foundation's github which supports the ...
4
votes
Can I use a DC-DC step up module to power a Raspberry Pi from 2AA batteries?
I also have an outrageous setup, but with way bigger batteries and is in a server setup.
Your idea will work, as stated by joan. What I would do differently is I'd get a power bank instead. Attach ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
battery × 192power × 55
power-supply × 55
pi-3 × 17
pi-zero-w × 16
pi-zero × 15
power-management × 15
gpio × 14
alternative-power × 13
raspbian × 11
pi-4 × 9
electronics × 9
ups × 9
usb-power × 8
voltage × 7
pi-3b+ × 6
dc-motor × 6
pi-2 × 5
hardware × 5
sensor × 5
touchscreen × 4
shutdown × 4
measuring × 4
wifi × 3
boot × 3