Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

26
votes
6answers
78k 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 ...
17
votes
3answers
20k 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 ...
16
votes
2answers
3k 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 ...
15
votes
9answers
65k 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 ...
10
votes
6answers
38k 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 ...
9
votes
3answers
885 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 ...
8
votes
2answers
49k 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 ...
8
votes
2answers
8k 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, ...
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
2answers
6k 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
5answers
1k 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
3answers
17k 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 ...
7
votes
1answer
689 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
2k 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
1k 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
11k 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
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
3k 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. ...
4
votes
3answers
281 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
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)?
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
5k 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
5k 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
2k 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
1answer
693 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
449 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
488 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
87 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
391 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
7k 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
142 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
350 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 ...
3
votes
3answers
20k 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 ...
2
votes
2answers
835 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
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
433 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
2answers
378 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
105 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
1k 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
774 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
1answer
959 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 ...
2
votes
1answer
373 views

Getting more voltage/amperage from the Raspberry Pi 2 GPIO pins

So yeah, I'm trying to get some more voltage/amperage from the GPIO pins on my Raspberry Pi 2 Model B. I've ran several tests and I'm only getting about 3.2V and 30-40mA. This cannot do much, there ...
2
votes
2answers
668 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 ...
2
votes
1answer
1k views

PI2B safe shutdown procedure on low battery and auto start

I have a RPI2B controlling a mobile CCTV setup. System runs on 12V (solar panels + batteries) with a low voltage disconnect (LVD) and PI powered by a buck step-down converter. RPI drives a relay via ...
2
votes
1answer
300 views

Controlling a backup battery after shutdown

Connected to my pi is an adafruit fona (a cellular phone), and a manhattan usb hub with external power. My pi, as well as the fona, are connected to a 3.7V 1200mAh backup battery. The pi is configured ...
2
votes
5answers
9k views

Will a Duracell 9V battery power my Raspberry Pi for 24 hours? [duplicate]

Will a Duracell 9V battery power my Raspberry Pi (plus camera module) for 24 hours? I've tried power banks and the 50,000mAh rating seems a bit exaggerated, considering I'm getting just 5/6 hours ...
2
votes
1answer
927 views

cansend to a CANBus device doesnt work

I am trying to control an Elcon battery charger (http://www.elconchargers.com/catalog/item/7344653/7638003.htm ) which outputs a DC voltage and current and can be set through a CANBus adapter. I ...