From: Dave Hylands <dhylands@gm...> - 2006-03-15 15:29:35
> So comes my question :
> Is it easy to add a Li-Ion battery that powers the system when unplugged =
> that charges when plugged ? (not only plugging battery over USB power I
> think ..?)
> In fact, I would like to build a system that can use USB or battery power
> and know from where it takes it (to ask the system to stop cleanly - with=
> GPIO and a kernel driver).
There is a plethora of battery charging chips out there. Dallas and
Maxim have a whole slew of them.
I see that SparkFun just added the Max1555 which will charge Li-Ion or
It has a status pin to indicate if a charging source is available.
Dallas makes some interesting ones which are designed to go with the
battery. They use a 1-wire interface (which has a unique 64-bit ID)
and have some EEPROM, so you can record things like charging
histories, or other information that you want to go with the battery.
Vancouver, BC, Canada