Discover the TP4056 Battery Charging Module circuit diagram and wiring details. Download comprehensive resources to enhance your electronics projects.
The TP4056 is a linear Lithium-Ion battery charger IC designed for single-cell lithium-ion or lithium-polymer batteries. Its simplicity, affordability, and efficiency make it a popular choice for DIY electronics and consumer applications. This charging circuit integrates over-voltage, over-current, and thermal protection to ensure safe charging.
Circuit Components and Explanation
1. USB Connector (Input Section):
- Component: USB1 (Micro USB connector)
- Pins: MTN1, MTN2, MTN3, MTN4, MTN5.
- Purpose: Provides a standard USB input voltage of 5V for powering the circuit.
- Connections:
- Pin 1 (VCC): Connected to the input voltage (5V).
- Pin 5 (GND): Connected to ground.
2. Capacitor (C3):
- Value: 100 nF (0.1 µF).
- Purpose: Filters noise and stabilizes the input voltage.
- Connection: Connected across the input terminals to maintain a steady voltage supply.
3. TP4056 IC (U1)
Pinout and Functions:
PROG (Pin 2):
- Purpose: Used to set the charging current with an external resistor (R3).
- Connection: Resistor R3 (1.2 kΩ) is connected to the ground, determining the charging current as For 1.2 kΩ, the charging current is approximately 833 mA.
TEMP (Pin 1):
- Purpose: Monitors temperature for safety. If unused, it is connected to the ground.
CHRG (Pin 7):
- Purpose: Open-drain pin to indicate charging status.
- Connection: Connected to a red LED (LED2) via R2 (1 kΩ). When charging, the LED turns ON.
STDBY (Pin 6):
- Purpose: Indicates standby or charging complete.
- Connection: Connected to a green LED (LED1) via R1 (1 kΩ). Turns ON when charging is complete.
VCC (Pin 4):
- Purpose: Input power pin for the IC.
- Connection: Connected to the positive input voltage (5V).
BAT (Pin 5):
- Purpose: Battery output pin for charging the lithium battery.
- Connection: Connected to the battery terminal via the DW01A protection IC.
GND (Pin 3):
- Purpose: Ground connection for the IC.
- Connection: Connected to the ground plane of the circuit.
CE (Chip Enable, Pin 8):
- Purpose: Enables or disables charging.
- Connection: Internally connected to VCC to enable the charger.
4. DW01A Battery Protection IC (U2)
Pinout and Functions:
OD (Pin 1):
- Purpose: Over-discharge detection output.
- Connection: Connected to the gate of MOSFET Q1 for controlling discharge.
CS (Pin 2):
- Purpose: The current sense pin monitors the charge/discharge current.
- Connection: Connected across resistor R5 (100Ω).
OC (Pin 3):
- Purpose: Overcharge detection output.
- Connection: Connected to the gate of MOSFET Q1 to stop overcharging.
VCC (Pin 4):
- Purpose: Supply voltage input.
- Connection: Connected to the BAT pin of TP4056.
TD (Pin 6):
- Purpose: Time delay for overcharge/over-discharge detection.
- Connection: Internally set.
GND (Pin 5):
- Purpose: Ground connection.
- Connection: Connected to the ground plane.
5. MOSFET (Q1, FS8205):
- Type: Dual N-Channel MOSFET.
- Purpose: Controls the charging and discharging of the battery.
- Connection: Operates based on the signals from the DW01A IC.
6. Capacitors (C1 and C2):
- C1 (10 µF): Filters noise at the battery terminals.
- C2 (10 µF): Stabilizes the battery output voltage.
7. Resistors (R1, R2, R3, R4, R5):
- R1 and R2 (1 kΩ): Current-limiting resistors for the green and red LEDs, respectively.
- R3 (1.2 kΩ): Sets the charging current for the TP4056.
- R4 (1 kΩ): Pull-up resistor for DW01A signals.
- R5 (100Ω): Current sense resistor for over-current detection.
Working Principle
Input Power Supply:
- The input voltage (5V) is provided through a micro-USB connector. Capacitor C3 filters the input to ensure smooth operation.
Charging Current Setting:
- The charging current is determined by resistor R3 connected to the PROG pin of the TP4056. For a 1.2 kΩ resistor, the charging current is approximately 833 mA.
LED Indicators:
- The red LED (LED2) turns ON when charging starts. The green LED (LED1) turns ON when charging is complete or the module is on standby.
Battery Protection:
- The DW01A IC monitors the battery for overcharge, over-discharge, and overcurrent conditions. It sends control signals to the FS8205 MOSFET, enabling or disabling the charging and discharging pathways.
Battery Charging:
- The TP4056 regulates the charging voltage and current to safely charge the lithium-ion battery. The BAT pin outputs the required charging voltage (4.2V).
Output Voltage:
- The charged battery provides an output through the OUT+ and OUT- terminals. Capacitors C1 and C2 stabilize the output voltage.
Circuit Connection And Wiring:
Advantages of TP4056 Charging Module
- Compact Design: Ideal for small electronic projects.
- Integrated Protection: Prevents overcharging, over-discharging, and overcurrent.
- Adjustable Charging Current: Supports various charging requirements.
- Simple Circuit: Easy to implement and widely available.
Applications
- Portable Power Banks
- Lithium Battery Chargers
- DIY Electronics
- Wearable Devices
- Wireless Earbuds Charging Cases