Hi!
I want to run an Arduino inside a device, using a LiPo battery. Since it's embedded I also want people to be able to charge that battery via USB when it's not in use. The LiPoly Backpack for the Trinket seems perfect, but I'm wondering if I can use it with an Arduino.
From what I gather the Backpack has a BAT pin and a 5V pin, and if the BAT pin is higher (ie if there's no USB connected) then it discharges the battery. Therefore I imagine that if it's attached to the USB breakout and it's plugged in/not plugged in the same logic applies, but I'm not sure if I'm missing something here, or misunderstanding how it works.
Would the setup below work for using this with an Arduino Uno? (I'm using a USB breakout because it would have to be accessible from outside the enclosure.)
I would just buy a Backpack and try it out, but since I live outside of the US/Europe shipping is really expensive so I'd rather make sure it's actually what I need.
Thank you so much for your help!
Using a LiPoly Backpack to power Arduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- no_u
- Posts: 6
- Joined: Wed Jan 06, 2016 3:31 pm
Using a LiPoly Backpack to power Arduino
- Attachments
-
- backpack.png (281.47 KiB) Viewed 219 times
- adafruit_support_bill
- Posts: 88144
- Joined: Sat Feb 07, 2009 10:11 am
Re: Using a LiPoly Backpack to power Arduino
That will not work as drawn. The 5v pin on the backpack is an input to the charge controller. It is designed to be connected the USB pin on the Trinket. It will not work if you short it to the BAT output pin. You should connect the 5v pin of your USB jack breakout directly to the 5v pin of the backpack.
Note that your Arduino will only see battery voltage on the VIN pin. That is under-spec for most Arduino boards. Some may work anyway, but it is not guaranteed. A PowerBoost shield might be a better choice: https://www.adafruit.com/product/2078
Note that your Arduino will only see battery voltage on the VIN pin. That is under-spec for most Arduino boards. Some may work anyway, but it is not guaranteed. A PowerBoost shield might be a better choice: https://www.adafruit.com/product/2078
- no_u
- Posts: 6
- Joined: Wed Jan 06, 2016 3:31 pm
Re: Using a LiPoly Backpack to power Arduino
Hi, thanks so much for your reply! I appreciate it. I hope you can clarify one thing: With this setup, can I not power the Arduino from the USB when it's plugged in?
- adafruit_support_bill
- Posts: 88144
- Joined: Sat Feb 07, 2009 10:11 am
Re: Using a LiPoly Backpack to power Arduino
Both charger output and battery are wired in parallel with the Arduino, so yes your Arduino will receive power when the backpack is connected via USB.
Please be positive and constructive with your questions and comments.