Electronic – Lithium Battery Charger IC – Charging and Power

lithiumpower

Basically, for the circuit I'm making, I need it to be powered by a Lithium battery. Also, this Lithium battery has to be able to be charged via USB.

I have seen external chargers for doing so, however, these would require for me to take the battery out each time and then re-charge it.

I have found this product, on sparkfun: Sparkfun

And the circuit/useage schematic looks like:

enter image description here

So if I understand this correctly:

Pin 1: USB (Power Lead)
Pin 2: USB (GND)

Pin 5: BAT (Power Lead)

The question is this: Suppose this is charging the battery, how can I therefore power the circuit? Since, I'm guessing that both of the leads from the Lithium battery go into the charger, rather than the circuit or the PIC?

Best Answer

You MUST look at the diagrams in the data sheet and understand what they show.

You must read the answers that people give and actually take note of what they say.
apalopohapa have you a completely clear answer.
You ignored what he said and just asked the question again.

He said "The battery goes both to the charger and the circuit."

This means

  • The battery goes to the charger

and

  • the battery at the same time goes to the circuit.

If you read a sentence like that and it makes no sense then read it again (and again and again) - maybe draw a diagram - or simply look at the diagram in the datasheet.
It shows the output going to the battery
AND AT THE SAME TIME to the system load.

And apalopohapa also said "When you are charging the battery, you are still powering the circuit."

This means

  • When you are charging the battery

  • you are still powering the circuit.

If that does not make sense then reread, rereread, rererereread.

Look at this diagram.
The charger IC output is connected to the battery
AND
AT THE SAME TIME
The charger IC output is connected to the load.
It connects to the load and battery at the same time.
It connects to the battery and the load at the same time.
All 3 are connected together at once.
Does that make sense?

enter image description here