Questions tagged [battery]

In electricity, a battery is a device consisting of one or more electrochemical cells that convert stored chemical energy into electrical energy.

Filter by
Sorted by
Tagged with
31
votes
7answers
107k views

Will any external battery power a Raspberry Pi?

I am working on a project that needs the Raspberry Pi to work without a mains connection. I have considered buying a 50000mAh USB power bank. Would this power a Raspberry Pi, and if so, would it ...
21
votes
6answers
67k views

How can I stress test my Raspberry Pi

I recently picked up a battery powered USB cell phone charger and I'm running some tests to see what kind of battery life I will get. Right now I'm just testing at Idle. I want to also run a test ...
18
votes
3answers
22k views

Is it possible to detect input voltage using only software?

I'm a newbie to Raspberry Pi's, but one of the things I was thinking about doing is running it off batteries (I see many people do this) - that led me to concerns about shutting down gracefully. Is ...
17
votes
9answers
93k views

What can I use to power my Raspberry Pi Zero with rechargeable battery?

Is there a 5 V rechargeable battery and cables compatible and comparative in size with Raspberry Pi Zero? I don't want to have to plug my Raspberry Pi in every time and nonrechargables get ...
16
votes
2answers
4k views

Measure RPi3 power consumption without external hardware

I power my RPi3 using a power bank for smartphones, and I'd like to check how much power the Pi draws from it while my project is running. I don't have any special equipment for power measurement. Is ...
11
votes
3answers
1k views

Powering Pi from Ni-MH batteries

I would like to power my RPi2 from the 5V GPIO pin via 4 Ni-MH rechargeable batteries (4.8V) but I'm afraid about peak current. Can it somehow produce more than 2.5A? Should I use a fuse to limit that ...
11
votes
2answers
68k views

How long does the RPi last on a battery? [duplicate]

For how long can the Raspberry Pi run when powered from a battery of a given capacity? Of course this will strongly depend on how it is used and what devices are connected, but I am trying to get a ...
10
votes
2answers
12k views

Battery Power Requirements

Is this Maplin Power Bank 4000mAh pwerful enough to power the Pi with all of the peripherals below? This is useful as I cannot order online, and it is currently £15. I have a Raspberry Pi Model B, ...
9
votes
3answers
24k views

How to know how much battery power is remaining?

i got 2600 mAh powerbank for Pi and it manages to stay for some time for my use..But i want to avoid wrong shutdowns due to power failures so .. Which will be the best way to avoid power failure ...
8
votes
5answers
2k views

UPS for raspberry pi

I want to be able to power my pi like a smartphone (ie from battery or from mains (while charging the battery), hot swappable) I know there are boards like the MoPi that achieve this, but the ...
7
votes
2answers
2k views

Can I use a DC-DC step up module to power a Raspberry Pi from 2AA batteries?

I understand that I can use 4AA batteries and a step down module to get 5V and power the Pi, however briefly. However, now I'm getting real outrageous and want to trying powering the Pi from just 2AA, ...
7
votes
3answers
34k views

Raspberry Pi Zero Battery Life With 4400mAh battery

Like many other Raspberry Pi Zero users out there, I have decided to make a portable retro gaming handheld. One of the larger concerns for me when it comes to this is battery life. The Zero has very ...
7
votes
2answers
7k views

How long can a RaspberryPi run for on 4 or more AA batteries?

I'm looking to power my Raspberry Pi via rechargeable batteries, but I would like to know how long can it run with x number of batteries. I want to eventually be able to mount it outside and solar ...
7
votes
1answer
3k views

Raspberry Pi battery state?

I use a power bank to power my Raspberry Pi, and I want to create script to turn off the Raspberry Pi when the battery level is low, but I cannot find any command to visualize the battery level. I ...
6
votes
3answers
3k views

Powering the Pi with 2 AA batteries

I've tested the Pi with a single 3.7V 18650 battery and this < 5$ power boost/power bank. It works, and this single battery runs for at least 1.5 or 2 hours. (Sidenote: during my tests, the ...
6
votes
0answers
2k views

Running RPi on Solar Panel and battery [closed]

I’m quite new in electronic projects and so my basics are quite limited. I've been reading a lot regarding this topic (refer to the title) and I’m currently planning to buy the suitable Solar Panel, ...
5
votes
1answer
15k views

DIY uninterruptable power supply (UPS) for Raspberry Pi Zero

I have several pi-zero boards and I utilize them to monitor environmental conditions (such as humidity, temperature and intrusion) of each room in home. For continuous operation, I want to eliminate ...
5
votes
2answers
3k views

Estimated run time off of 9V

What would be the estimated run time off of parallel 9V batteries fed through a LM7805 5V regulator (no peripherals)?
5
votes
3answers
2k views

Powering the Pi from battery (power consumption)

I've got a Pi 2 B+ and I plan on using one of those portable battery-powered phone chargers to power it. I'd like to get about 8 hours of continuous power. I'll also be powering a 5-inch LCD and a ...
5
votes
2answers
4k views

Automatic shutdown of Pi Zero on low battery

I am trying to build a battery powered Pi Zero, using a LiPo battery and the Adafruit Powerboost 500. I would like to be able to use the low battery output (LBO) on the powerboost to tell the Pi to ...
5
votes
1answer
2k views

Power with batteries on 3.3V

I've already investigated how to power the RPi with batteries (I did some tests with AA batteries and with 18650 batteries) using a 5V "boost" step-up DC-DC converter, in some other questions here. ...
5
votes
2answers
4k views

Powering 2 servos with 5v output of L298N dual motor driver

I am using L298n Dual Motor Controller to control two dc motors for my robot. But I want it to power the servos too. I have created this circuit design. can I power the SG90 Servo with L298n? Is ...
4
votes
4answers
708 views

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

I am looking to use four 18650 batteries and a step-down DC-DC converter to power my Raspberry Pi 4. The negative terminal of the DC-DC converter is common for the input and the output. I would like a ...
4
votes
3answers
287 views

Can I power my pi with an 800 ma/h battery?

I bought a rayovac portable charger. It outputs current at 800 ma/h, as stated on the product packaging. My goal here was to make my pi (model B) itself portable, as the battery outputs that current ...
4
votes
2answers
2k views

Power Pi4 with USB-C Power Bank

Can a USB-C Power Bank be used to power a Pi 4 for off-grid or mobile uses where the Pi cannot be tethered to either a mains electric socket or a POE switch?
4
votes
2answers
7k views

Power Bank + raspberry pi 2, any throughts?

I am currently thinking about buying a Power Bank to use as a power supply for my Raspberry Pi 2. At the moment I am looking at the XIAOMI Power Bank 5V 2.1A 16000mAh. My questions are: Will it work ...
4
votes
4answers
6k views

Battery pack for model B RPI, Thoughts?

Thinking of getting the battery pack linked to below for my model b Raspberry pi, i am wondering if anyone knows anything about it and how could it is because for first glance it looks amazing. Thanks ...
4
votes
2answers
6k views

Portable power supply for RPI3 and official touchscreen requirements

I have recently bought and assembled a Raspberry PI 3, official touchscreen and case / enclosure. I want to be able to use it whilst out and about with a rechargeable battery and if possible allow ...
4
votes
1answer
7k views

How many AA batteries do I need to power a raspberry pi zero and for how long does it last? [duplicate]

Since the raspberry pi zero takes less power to power up. How many AA batteries do I need to power it up to play a movie in a loop? And how long would this last?
4
votes
2answers
684 views

Powering Portable Rpi

So I would like to have a laptop-esque setup with my rpi. I have my pi, my keyboard, and I want to buy a small USB monitor along with an external battery pack with USB ports. My question is to make ...
4
votes
1answer
1k views

Remotely connecting to the PI to download images

I'm trying to build a little project (my first) with my Pi which is running Raspbian. I want to set up a camera on my piece of land where I'm going to build my house to take some time lapse photo's. ...
4
votes
1answer
549 views

Making batteries last for pi outside

I want to use the pi to analyze the moisture of my plants and decide to water or not. I want it set up in the garden. There is no power supply, so the pi will need to run on batteries. The plan is ...
4
votes
1answer
233 views

Power off Raspberry Pi if charger of powerbank is connected and turn back on if disconnected

I have a (maybe trivial) problem. I want to power a Raspberry Pi (more specific a SteroPi) with a power bank. The power bank has the feature, that its output is always on. So even if I plug in a ...
4
votes
1answer
697 views

UPS for Raspberry Pi and router (TPLINK TD-W8961) [duplicate]

I have started hosting a website on my raspberry pi, but because of the power outages, and mostly because I'm itching for a DIY project I would like to build a UPS for my pi and my router(12v-1,5A). ...
4
votes
0answers
98 views

Raspberry Pi wild boar reppelent [closed]

In my father's farm, he may face a problem with wild boars. There are currently too many of them around. They already came to my father's farm but they did not destroy anything (there's not much to ...
3
votes
2answers
970 views

L298N Not working with 4 x AA Batteries

I have a 6V motor attached to a HiLetgo Module L298N Dual H Bridge and controlled via two Raspberry Pi 3B GPIO pins (current just using HIGH & LOW). If I use a 5V power supply from my Raspberry ...
3
votes
5answers
10k views

Power Raspberry with LiPo battery

I have a LiPo batterery: EZ-power LiPo 4000mah - 2s 7.4 How could I power the Raspberry, I just know that Pi works at almost 5V.
3
votes
1answer
241 views

Am I Correctly Calculating mAh for the Pi?

I am trying to figure out what size battery I will need to power my RPi and 2 components with it. I want to build a "tablet" of sorts, mainly because I don't want to spend $800 on a Wacom tablet when ...
3
votes
3answers
9k views

Battery powered Raspberry Pi [duplicate]

I am interested in using the Raspberry Pi in portable projects for data collection outdoors. How would I go about running the RPi on batteries? Have any software tools been developed to monitor ...
3
votes
2answers
381 views

Battery Supply Question

This question may have been asked several times, regardless: It's been quite sometime since I took my electrical courses in tech school and had a question about battery powering my RPi. I currently ...
2
votes
2answers
1k views

How can I monitor power usage via the CLI?

On Ubuntu, there is a way to monitor power usage by a Linux device via the CLI and inside the task manager if it's a laptop. I am powering my Pi via a lead-acid battery, and I'd like to have a ...
2
votes
2answers
6k views

Car Powered Raspberry Pi: Safe Shutdown and Power On

Apologies if this is a duplicate, but I can't seem to find a suitable solution. I need to power a Raspberry Pi in a car, and for obvious reasons need to shutdown gracefully, however, I need it to ...
2
votes
1answer
3k views

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

Is it possible to check how much power is left on the battery powering my Raspberry Pi zero using the terminal?
2
votes
1answer
475 views

Power Pi from Li battery?

I would like to use a 4.2V(voltage varies from 3.6v up to 4.2v) Li battery to power a Pi - for this it seems like I would need a DC-DC boost converter. From what I found, all of those seem to create ...
2
votes
1answer
116 views

Automatically turn on if battery is full.

I want to power a RPi off of a battery and need it to autonomously turn on once its battery is charged. How can this be achieved?
2
votes
1answer
2k views

I2Cdetect doesnt detect my I2C device

I am using a BQ27441EVM-G1B. It is a TI battery fuel gauge board, that is used to measure the battery voltage, current and charge left etc. Datasheet - http://www.ti.com/lit/ds/symlink/bq27441-g1.pdf ...
2
votes
2answers
861 views

Portable power supply for a PiHub?

I love my PiHUB and would like to have a or table power source, so I can make my projects mobile :) Is there any product that I could use? It uses 3A 5.2V. Alternatively I'd appreciate any ...
2
votes
4answers
663 views

Using battery pack as a UPS

I need to use raspberry devices as mini servers. I'll need to install ~100 of them in different locations. In those areas, electricity power offs are quite common, so I'm thinking using a cheap usb ...
2
votes
2answers
1k views

battery power for RPI and IR LED bank?

I built a simple night vision set up using a model A RPI, pi NOIR camera, and car backup camera monitor. I made a simple infrared light by wiring 4 sets of 6 LEDs in series, so 24 total, let's see if ...
2
votes
1answer
2k views

Battery level of USB power bank [duplicate]

I plan to use a USB power bank to power my Raspberry Pi 3 Model B, but I need to know the battery level/percentage. There is the battery icon and percentage in the top right corner. Does this ...