0

=> Raspberry pi 3 model B powered with car battery I have two questions :

1- How can I calculate car battery life ?

2- Is their negative impact for the start-up of the vehicle when I use his battery when the car is powered off ?

MED-AMINE
  • 3
  • 2

1 Answers1

3

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 Amps at 5 Volts.

  • 2 Amps * 5 Volts = 10 Watts

For a simplistic guesstimate, you can simply divide:

  • (540 Watts * Hour) / 10 Watts = 54 Hours

Please note that this guesstimate is on the high end of plausible. Lead Acid batteries do not discharge linearly.

Affect on starting

This depends on how everything is connected. When a vehicle's ignition is placed in Start, the accessories are all turned off. The only thing receiving power is the starter motor.

So, if you've hooked up your Pi through the accessory circuit, the Pi won't affect starting at all. However, the Pi will also lose power during an ignition event.

If you've configured a voltage regulator circuit that provides 5 volts directly from the battery, than the Pi will draw current at all times even during an ignition event.

In the direct battery connection scenario, the 1 or 2 Amp draw is unlikely to affect ignition if the ambient temperature isn't too extreme. However, the voltage across the battery may drop as the starter motor begins to turn. So, the Pi's supply voltage may become erratic causing unexpected behavior.

In either case, the Pi will certainly drain the battery over time and lower the overall battery's lifetime.

RubberStamp
  • 1,399
  • 1
  • 10
  • 16
  • Thanks for your help, the problem is i'm using a car charger OBD Dc converter module 12V 24V to 5v 2a, the alimentation is always available even the car is powered off and the raspi consumes from the battery but the car need at least 12.3V to start-up. – MED-AMINE Nov 22 '18 at 08:37
  • @MED-AMINE : If you are concerned about battery life, you could create a fairly simply comparator circuit which would trigger a shutdown of the Pi if the voltage drops below a set value... combine a LM311 comparator ... with the RUN pin on the Pi – RubberStamp Nov 24 '18 at 13:29