JoeyJoeJo
Posts: 2
Joined: Thu Dec 13, 2012 2:31 pm

Battery pack

Sun Dec 23, 2012 7:10 am

According to Wikipedia, the raspberry pi can accept power input from the GPIO pins. Is that true? If so, and I could hook up a lithium battery to the GPIO pins, could it be charged via the pi's micro USB port?

User avatar
malakai
Posts: 1382
Joined: Sat Sep 15, 2012 10:35 am
Contact: Website

Re: Battery pack

Sun Dec 23, 2012 7:27 am

According to Wikipedia, the raspberry pi can accept power input from the GPIO pins. Is that true?
Yes everything on the Wiki is true :)
If so, and I could hook up a lithium battery to the GPIO pins
Yes depends on the battery I suppose
could it be charged via the pi's micro USB port?
Yes but not at the same time it's powering the Pi and it actually depends on how much power it needs to be charged
http://www.raspians.com - always looking for content feel free to ask to have it posted. Or sign up and message me to become a contributor to the site. Raspians is not affiliated with the Raspberry Pi Foundation. (RPi's + You = Raspians)

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Battery pack

Sun Dec 23, 2012 8:41 am

JoeyJoeJo wrote:According to Wikipedia, the raspberry pi can accept power input from the GPIO pins. Is that true? If so, and I could hook up a lithium battery to the GPIO pins, could it be charged via the pi's micro USB port?
That is the opposite way to the way things normally run with the pi - it is usual to power the pi by the micro usb port, and to supply (limited) power to peripherals via the GPIO port.
Not sure what you are expecting if you want to power and charge the same battery via the pi?

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
joan
Posts: 14959
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Battery pack

Sun Dec 23, 2012 10:11 am

Yes, you can power the Pi from the P1 pins (+5V and ground).

No, don't connect a lithium battery directly to the pins, you need to supply 5V which the battery probably doesn't. Use a UBEC or similar to convert the battery output to 5V.

Charge the battery via the micro USB? No.

Return to “Interfacing (DSI, CSI, I2C, etc.)”