I'm looking for an easy and smart way to have a 3.3V Arduino PRO mini with one little LiPo (1 cell only - 1S) embeded, acting as UPS.
LiPo must to be on charge when external power (from DC or USB) is available and feeds Arduino when DC or USB is unplugged. Of course, Arduino mustn't turn off in the meanwhile!
I know that Olimexino does it and I would like to do the same with Arduino PRO mini.
I don't want to use shield. It must be a very cheap solution. I found a couple of ICs that could be useful: MAX1551/5 and ltc4071.
One solution would be a battery charger like Adafruit sells. You hook the battery up, and if there is external power, it uses it to charge the battery. You can charge while the Arduino is running. Adafruit sells 3 different modules of charger that you can power the chip while charging the batteries:
The chip Adafruit uses for the first link is the MCP73861. The MCP73833 is the new replacement for the MCP73861 (the biggest difference seems to be the MCP73861 can use input voltages up to 12 volts, while the MCP73833 can use voltages up to 6 volts, which is where the limits for the other boards come from).
Qbert:
Thank you, but it looks to me a simple li-po charger, not a power back-up solution (UPS).
Maybe I'm not understanding what you want. Quoting from the page:
2 JST connections so you can keep the battery plugged in and powering your project
As I understand it, if you plug in the battery into one JST connector, plug your board into the other, it will run from the battery. If you plug in power via USB or DC current, it will charge the battery and allow you to run the Arduino.
Plug in 5V source (USB port) to charge, battery takes over when charge source is removed.
It installs in the socket on the left in this picture, a couple or Rs & Cs to support it go on the right. I should take a new picture!
A 1000mAH LiPo flat battery is secured to the bottom of the card.
I've posted the schematic for it before, will see if I can find a link. http://crossroadsfencing.com/BobuinoRev17