BrockBreath
Posts: 4
Joined: Thu May 14, 2020 11:09 am

Portable power

Fri Jun 26, 2020 5:35 pm

Whilst I am ok with the IT side of the Pi my electronics knowledge is poor. I am looking to power my Rasp Pi 4 4MB and basic camera in my car, so I need a cigarette lighter socket power supply or a battery pack. I would like about 20 minutes power if a battery pack. I do not want to start hard wiring into car power circuit. I have read enough that I have confused myself and I am unsure what I need. Is there a way though the power provider to force a clean shut down or can you use software to monitor battery life and close down before the battery runs out?

Any help or pointers would be great.

User avatar
TommyG007
Posts: 5
Joined: Fri Jun 26, 2020 4:30 pm
Location: South Wales

Re: Portable power

Sat Jun 27, 2020 3:53 pm

I would definitely try to use the USB car charger option instead of using a power bank.

Depending on which version of the Pi you have you would need to supply it with adequate power, see here for the various models: https://www.raspberrypi.org/documentati ... /README.md

Let us assume you have a Pi4.

Firstly, you would need to make sure the car cigarette lighter socket can deliver at least 3A, then you'd need to get yourself a USB cigarette charger that's capable of delivering 3A.

Assuming the Pi is always connected to the car's USB charger it would automatically power on when the car is started, but you'd need another method of shutting down the Pi gracefully rather than just abruptly killing the power when the ignition is switched off.

You could wire a simple button to the GPIO pins which when pressed runs a small script instructing the Pi to gracefully shut down: https://www.quartoknows.com/page/raspbe ... own-button at least that way you can press the button before switching off the ignition.

W. H. Heydt
Posts: 12430
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Portable power

Sat Jun 27, 2020 6:48 pm

I would start by looking at an earlier Pi that requires less power. Many "powerbanks" can provide 2A to 2.5A which, in combination with a Pi2B will provide sufficient power and can be had with capacities to run for hours.

Using a Pi4B, you will have to look for a solution that will provide a solid 3A and maintain 5V at that current level. This will limit your choices and increase the cost over a lower current device.

LTolledo
Posts: 3321
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Portable power

Sat Jun 27, 2020 8:55 pm

what is the purpose of that "raspberry pi + camera + 20minutes"?

a [RPiZ(W) + camera] will run off a 1A power adapter.....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

User avatar
Imperf3kt
Posts: 3575
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Portable power

Sat Jun 27, 2020 10:57 pm

The Nintendo Switch official car adapter is 5v 3A rated with a USB-C plug.

I have had one ages, still haven't given it a try though.
55:55:44:44:4C
52:4C:52:42:41

BrockBreath
Posts: 4
Joined: Thu May 14, 2020 11:09 am

Re: Portable power

Sun Jun 28, 2020 10:12 am

LTolledo wrote:
Sat Jun 27, 2020 8:55 pm
what is the purpose of that "raspberry pi + camera + 20minutes"?

a [RPiZ(W) + camera] will run off a 1A power adapter.....
I want to record video that I can then analyse later. It is good that a Pi Zero W will run of 1A power adapter; unfortunately I have neither!

BrockBreath
Posts: 4
Joined: Thu May 14, 2020 11:09 am

Re: Portable power

Sun Jun 28, 2020 10:13 am

Imperf3kt wrote:
Sat Jun 27, 2020 10:57 pm
The Nintendo Switch official car adapter is 5v 3A rated with a USB-C plug.

I have had one ages, still haven't given it a try though.
Thats good news thanks, I will look into the Nntendo option. Thanks for letting me know.

Return to “Beginners”