In the previous few months I tried to cover almost all types of battery charging integrated circuits. Nowadays I am working with LiFePo4 which are basically lithium iron phosphate batteries. Compared to the old lithium ions they are safer because of the type of chemistry used. Although their energy density is almost halved of lithium ions. But a typical lithium ion can handle a typical 700-1000 cycles on the other hand these lifepo4 batteries are extremely durable and go up to 3000-5000 cycles. Which is good for long term usage, such as consumer electronics related to toys, medical equipment and all.

I got my hands on a battery from orange, it is 3C rated. Yes it is a little costlier side around 2x a simple lithium ion of same specs. Although I got the same 18650 form factor with a 2000mAH capacity. The C rating 3C here describes the max allowable changing and discharging current. So it looks very similar to our Lithium ion battery and so does our designed charger module.

The charging and discharging characteristics are basically common for this one and lithium ion, but we can’t simply put the same charging module in the TP4056. Because that one is not compatible with the voltage, LiFePO4 has a max changing voltage of 3.6Volts and base voltage is around 3.2 Volts. On the other hand, the lithium ion one has full charge voltage 4.2Volts and rated 3.7V base. This project is sponsored by PCBWAY. I ordered the PCBs from there. They look perfect, I have shared all the information below. It is easy to make project consider if you are looking for a good LiFePo4 Charger.
CN3058:
While searching the web, I found this IC for LiFePo4 charging. Charging modes are the same as TP4056 which will be discussed in the next few sections. CN3058 is from the same company I designed previously for NiCd/NimH but that was based on CN3085. A little different choice for name, yet this IC does everything which is needed to protect and charge the battery safely. The device contains an on-chip power MOSFET and eliminates the need for the external sense resistor and blocking diode. The regulation voltage is internally fixed at 3.6V with 1.5% accuracy, it can also be adjusted with an external resistor. Some are listed below:

- Input voltage range from 3.8V to 6V
- On-chip Power MOSFET
- No external Blocking Diode or Current Sense Resistors Required
- Preset 3.6V Regulation Voltage with an external resistor
- Programmable Continuous Charge Current Up to 1A
- Constant-Current/Constant-Voltage/Constant Temperature
- Automatic Low-Power Sleep Mode
- Status Indication for LEDs or uP Interface
- C/10 Charge Termination
- Automatic Recharge Battery Temperature Sensing
It is listed for 1A, but while testing I found it a little hot around the IC even at 700mA. So I reduced the current and saved my IC, btw it is always considered to use a small heatsink with it.
Circuit Diagram:
The circuit looks so clean and simple to understand in a go, here we have input capacitor C1, If using a type C keep it typically around 10uF and some more in parallel for better decoupling. A resistor which connected to CHARGE and DONE LED turned on when any of the 6,7 number pins pulled to low. Then VIN and Ground tab for power, as with USB, the input voltage is around 5v within the limit of this IC. The feedback pin has a resistor Rx, if using a single cell this can shorten directly. Otherwise we have to calculate as per the battery voltage, for example if we want to increase the charging voltage beyond a point.

Given by the equation: Vbat = 3.6+3.61×10-6×Rx
If Rx is chosen 10K then the battery charging voltage will be: 3.6 + 0.00361. Yes it will not affect much, although you never want to change the charging voltage because it is internally calibrated, so we will not use this function in our circuit.
After this we have Iset Resistor to set the maximum current which is given by this equation:
ICH = 1218V / RISET

If RISET is around 1218 Ohms it will charge at...
Read more »
Sagar 001