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 ...
goobering's user avatar
  • 10.7k
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 ...
Patrick Cook's user avatar
  • 6,365
17 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 ...
Nico Schlömer's user avatar
13 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. ...
Aloha's user avatar
  • 7,156
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.
Frank Breitling's user avatar
10 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 ...
F1Linux's user avatar
  • 1,667
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 ...
John HaxSyn's user avatar
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?
5 votes

Voltage monitoring of battery pack (i.e. before voltage regulation)

The PiCheckVoltage project may be stale for a reason. It strikes me as a bit over-complicated for the situation you've described. However, parts of the code may be useful. Here are some alternatives ...
Seamus's user avatar
  • 22k
5 votes

Voltage monitoring of battery pack (i.e. before voltage regulation)

In my Raspberry Pi tablet, I use very low frequency PWM to measure the battery voltage. One half of a dual voltage comparator was set up as a sawtooth oscillator operating at approximately 100Hz. The ...
Stefan Vorkoetter's user avatar
5 votes

Reduce power consumption Raspberry PI 4

As @Milliways correctly stated in his answer, the RPi technically has no "sleep" state. However, using the Low Power Mode configuration described in this answer, and the addition of a Real ...
Seamus's user avatar
  • 22k
4 votes
Accepted

Can This UPS(UNINTERRUPTIBLE POWER SUPPLY) Run a Raspberry Pi for 24hours?

So, you choose this ups here: http://www.cdrking.com/index.php?mod=products&type=view&sid=16847&main=140 Which sadly won't give any information on how large the Power Storage is (Mostly in ...
alsternerd's user avatar
4 votes

How to check how much battery is left on my Raspberry Pi in the terminal?

This isn't too difficult, although you're going to need a couple of additional components. There's a good walkthrough of the process at raspi.tv. The example there sends an email to a gmail account ...
goobering's user avatar
  • 10.7k
4 votes
Accepted

I can't power my RPi 3b with AA batteries

Unfortunately the voltage regulator you're using (the QLT POWER QDC1S-1205S) is only capable of supplying a maximum of 400mA. Just about all models of the Pi will require more current than that - the ...
goobering's user avatar
  • 10.7k
4 votes

Battery Power supply for Pi-3, LCD and transceiver

You need one 12V battery with enough amp-hours to give you a viable lifespan, one 5V UBEC and one 3.3V regulator (with a couple of capacitors on its input and output for stability). Connect the ...
goobering's user avatar
  • 10.7k
4 votes
Accepted

Am I Correctly Calculating mAh for the Pi?

The calculation looks good so far. Please note that power banks give the capacity in mAh only for their internal voltage (most times). Best is to look at the capacity in (m)Wh. The calculation for ...
Uwe Plonus's user avatar
4 votes

Battery level monitoring circuits

USB power banks vary, but mostly they will have a single 3.7V cell and a boost converter to bring that up to 5V. The cell will be charged to, say, 4.2V and decrease to, say, 3.1V. The boost converter ...
Pete Kirkham's user avatar
4 votes

How to add Capacitors to Raspberry Pi

You need the supercaps to be in parallel to the power supply, not in series. However, before fixing your circuit, mind a few things: If you simply connect your supercaps between 0 and 5V, most power ...
Dmitry Grigoryev's user avatar
3 votes

Automatically turn on if battery is full.

A simple voltage controlled switch to apply the primary power to the RPi would be the simplest. You would have to make sure that once "ON" it would lock "ON" until reset, the reason for this is not ...
spicetraders's user avatar
3 votes

Portable power supply for RPI3 and official touchscreen requirements

What requirements such as voltage and power regulations would I need to consider? First a warning about the fact that stated output voltage (in this case 5V) and current (for the 3 with nothing ...
goldilocks's user avatar
  • 58.9k
3 votes

Raspberry Pi battery state?

No Raspberry Pi can correctly measure its input voltage without at least one additional component. https://github.com/aboudou/picheckvoltage Some Raspberries can detect whether the input voltage is ...
flakeshake's user avatar
  • 6,235
3 votes

Automatic shutdown of Pi Zero on low battery

It is not obvious but the LBO output pin on that PWB is connected to the corresponding pin on the IC and to the base of a PNP Common-Emitter stage - however that transistor does have a built-in pair ...
SlySven's user avatar
  • 3,621
3 votes

Battery level of USB power bank

Only batteries supporting the Smart Battery Standard over SMBus/I2C can be used with Raspbians Battery Monitor applet. The only battery supporting this (AFAIK) is built into the pi-top Laptop. No ...
flakeshake's user avatar
  • 6,235
3 votes

Is it safe to use this battery with the Raspberry Pi Zero?

Safe? YES Will it work? NO you need 5V
Milliways's user avatar
  • 60k
3 votes
Accepted

Car battery life with raspberry pi 3 model B

Car Battery Life An average sedan car battery can provide about 45 Amp Hours at 12 Volts. 45 Amps * 12 Volts * 1 Hour = 540 Watts * Hours The Raspberry Pi 3B has a maximum current draw of about 2 ...
RubberStamp's user avatar
  • 1,399
3 votes

Car Powered Raspberry Pi: Safe Shutdown and Power On

Feed both sources to a single voltage regulator through diodes. Additionally, provide a GPIO signal from accessory source which will tell the RPi whenever accessory power is present, so ther RPi can ...
Dmitry Grigoryev's user avatar
3 votes
Accepted

Battery Usage Pi Zero W for video stream

The raspberry Pi Zero W consumes 230 mA with camera connected and capturing video at 1080p It further consumes 170 mA when wifi is turned on 230+170=400 mA Add 100 mA more to that just to avoid any ...
Abdullah's user avatar
3 votes

powering a pi 3B using two 18650 batteries in series. what circuits do I need?

Yes, this should be feasible. The 3B will consume about 1A maximum and this module will be able to handle that uncooled. If you need more current (f.e. for USB devices) cooling the device will allow ...
Ljm Dullaart's user avatar
  • 2,491
3 votes

Voltage monitoring of battery pack (i.e. before voltage regulation)

One option would be to use an MCP3002 ADC (2 channel analogue to digital converter). Use a voltage divider circuit (2 resistors) to convert your battery voltage to a voltage range upto 3.3V. Feed this ...
CoderMike's user avatar
  • 6,982

Only top scored, non community-wiki answers of a minimum length are eligible