Author Options:

Charge battery and play while device is on, charge battery while device is off. How can this be done? Answered

Working on a small project and I've hit a small bump.  My device has internal batteries that I want to charge while it is plugged in and turned on, and then when I switch the device off, the batteries still charge while it is plugged in.

I'm using Li-ion and yes, I have a charging/protection circuit for them.  So through that circuit, they can be hooked up normally.  I also have a power regulator attached to the main device.  So it can't get fried.

I'm hoping to accomplish this through a switch.  Maybe DPDT?  But I'm unsure how to wire it.  I tried one way with a DPDT and it just stays on...

3 Replies

Re-design (author)2010-02-04

Regulate the output of the battery so that you limit the voltage going to the device.

Connect the charger to the battery.

You can now charge while you play, charge while you don't play.  This is how a phone, radio etc. charges in all states.

Select as Best AnswerUndo Best Answer

3VIL G3NIUS (author)2010-02-04

 Couldn't you just have the battery charge circuit continuously hooked up to the battery and just switch the wire going from the battery to what ever your device is?
else you could have the charger separate from the battery and circuit and just plug it in to charge. like portable devices.

Select as Best AnswerUndo Best Answer



This seemed to be exactly what I was looking for.  But thanks Evil.

Select as Best AnswerUndo Best Answer