Skip to main content
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
11 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
6 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
  • 22.6k
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
  • 22.6k
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
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

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
  • 59.5k
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

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,214
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,214
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
  • 61k
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,419
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,519
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,998
3 votes

Raspberry pi 0w is making a humming/buzzing sound?

Its probably "Coil whining" you hear from the inductor in the Adafruit PowerBooster. Ref.: https://en.wikipedia.org/wiki/Electromagnetically_induced_acoustic_noise
Mats Karlsson's user avatar
3 votes

Shutdown on low power with INA219 UPS HAT

You've not supplied any details on this UPS - other than a link to a web page that says the unit is discontinued. The best source of information for your question is probably the manufacturer. The mfr....
Seamus's user avatar
  • 22.6k
3 votes
Accepted

Running a Raspberry Pi from a car battery using a Witty Pi 3 (sanity check)

The Witty Pi HAT outputs power to the Pi via the 5V and GND pins on the 40 pin header connector.
CoderMike's user avatar
  • 6,998
3 votes

Reduce power consumption Raspberry PI 4

It is not possible to manage Pi power consumption (other than limiting running processes, which has limited impact). The Foundation site has power usage for most models Pi Power which range from 600mA ...
Milliways's user avatar
  • 61k
3 votes
Accepted

Reasons the Pico W doesn't work when powered by new CR2032 battery?

CR2032 cell ratings depend on manufacturers, but in general a typical cell is limited to continuous 1-4mA and peak 6-12mA current draw. The Pico consumption varies widely (between ~1.5mA and ~100mA), ...
Dmitry Grigoryev's user avatar

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