-1

I am working on a project for which I need to attach the four raspberry pi boards on the ceiling of the room (one at each corner).

The script that will run constantly scans the BD Address and the RSSI values of the nearest ble devices.

Now, due to the unavailability of power sockets I need some power solutions for my boards. I have 3.7 volt 560 mAH lithium batteries. Is it possible to use these in any way? or some other cheap and best solution (the project is with a company and not much budget is allotted for the same).

Thanks in advance Aditya

2
  • 1
    Is it possible to use batteries to power a pi? Yes. Will the batteries you have work for your needs? We dont have enough information to answer this. What model pi? Have you tested the current consumption of one of the pi's while running the code/peripherals you intend on running? How long do they need to run for between charges?
    – Chad G
    Jul 10, 2020 at 16:22
  • @ChadG the model of the pi is 3b. I need approx 4-5 hours of continuous power. Jul 13, 2020 at 11:13

4 Answers 4

2

I use Anker phone batteries for projects a lot. I'm sure there are better solutions, but not simpler ones. The big will keep my Pi3 running for at least a day or two. The smaller one might be more practical for you at just $20.

https://www.amazon.com/Portable-Charger-Anker-PowerCore-20100mAh/dp/B00X5RV14Y/ref=sr_1_2?dchild=1&keywords=anker+phone+batteries&qid=1595779236&sr=8-2

https://www.amazon.com/Anker-PowerCore-Ultra-Compact-High-Speed-Technology/dp/B0194WDVHI/ref=sr_1_3?dchild=1&keywords=anker+phone+batteries&qid=1595779236&sr=8-3

2

If that is a rechargeable lithium, something like https://www.ebay.co.uk/itm/1PCS-5V-Micro-USB-1A-18650-Lithium-Battery-Charging-V0Q3-Charger-To-Board/402292719717?hash=item5daa83c065:g:uX0AAOSwx79evOvj should do the job.

I've bought some from one supplier (if you look around Ebay there are some providing a pack of 5) and they produce the expected 5V output from the battery but haven't got around to connecting one to my Pi yet. For the cost though, you can't lose much!

My only comment about your battery is that it may go flat fairly quickly (Wikipediea says 300mA average so only a couple of hours) - that may of course not be an issue for you.

Also, check that your battery can take the 1A charge current that these modules produce. It can be modified, but you'll need to understand the datasheet and change components to reduce the charge current.

2

If we ignore Peukert's Law for the moment, each one of your batteries (3.7 volt 560 mAH lithium batteries) will run one RPi4b for at most 1 hour. Let's do the math:

RPi4B power consumption ~ 500mA (if lightly loaded)

Time = 560mAh/500mA = 1.12 hours

But this is unrealistically optimistic because:

  1. You'll need a boost converter voltage regulator to get the voltage up to the 5V level required by RPi; its efficiency may be optimistically estimated at 80%.

  2. The discharge rate needed (500mA from a 560MAh-rated battery) does not allow you to ignore Peukert's Law.

Just as a WAG, it be surprised if your battery would last 30 minutes.

2

A 560mAh 3.7V battery contains 2.07Wh of energy. Given you'll need a boost converter that might be 85% efficient, that leaves you with 1.76Wh of energy. A RPi operates at 5V, and the amount of current drawn depends on the model and what it is doing. Around 400mAh is typical for a Pi3B not doing much, so that's 2W (5V * 0.4A). So your battery is going to last just over 50 minutes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.