Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use TP4056 + DW01: Examples, Pinouts, and Specs

Image of TP4056 + DW01
Cirkit Designer LogoDesign with TP4056 + DW01 in Cirkit Designer

Introduction

The TP4056 + DW01 is a lithium-ion battery charging and protection module manufactured by Makers. It combines the TP4056 linear battery charger IC with the DW01 battery protection IC, providing a compact and efficient solution for charging and safeguarding single-cell lithium-ion or lithium-polymer batteries. The module is widely used in portable electronics, DIY projects, and battery-powered devices due to its simplicity, reliability, and integrated safety features.

Explore Projects Built with TP4056 + DW01

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
Image of playbot: A project utilizing TP4056 + DW01 in a practical application
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Dual-Microcontroller Audio Processing System with Visual Indicators and Battery Management
Image of proto thesis 2: A project utilizing TP4056 + DW01 in a practical application
This is a portable audio-visual device featuring two Wemos microcontrollers for processing, Adafruit MAX4466 microphone amplifiers for audio input, and an LCD TFT screen for display. It includes power management with TP4056 modules and LiPo batteries, and user-controlled toggle and rocker switches.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Battery-Powered Multi-Sensor System
Image of Dive sense: A project utilizing TP4056 + DW01 in a practical application
This circuit consists of a TP4056 module connected to a 3.7V LiPo battery, providing a charging interface for the battery. The TP4056 manages the charging process by connecting its B+ and B- pins to the battery's positive and ground terminals, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Raspberry Pi Pico GPS Tracker with Sensor Integration
Image of Copy of CanSet v1: A project utilizing TP4056 + DW01 in a practical application
This circuit is a data acquisition and communication system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors (BMP280, MPU9250) for environmental data, a GPS module for location tracking, an SD card for data storage, and a WLR089-CanSAT for wireless communication. The TP4056 module handles battery charging, and a toggle switch controls power distribution.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with TP4056 + DW01

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of playbot: A project utilizing TP4056 + DW01 in a practical application
ESP32-Powered Wi-Fi Controlled Robotic Car with OLED Display and Ultrasonic Sensor
This circuit is a battery-powered system featuring an ESP32 microcontroller that controls an OLED display, a motor driver for two hobby motors, an ultrasonic sensor for distance measurement, and a DFPlayer Mini for audio output through a loudspeaker. The TP4056 module manages battery charging, and a step-up boost converter provides a stable 5V supply to the components.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of proto thesis 2: A project utilizing TP4056 + DW01 in a practical application
Dual-Microcontroller Audio Processing System with Visual Indicators and Battery Management
This is a portable audio-visual device featuring two Wemos microcontrollers for processing, Adafruit MAX4466 microphone amplifiers for audio input, and an LCD TFT screen for display. It includes power management with TP4056 modules and LiPo batteries, and user-controlled toggle and rocker switches.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Dive sense: A project utilizing TP4056 + DW01 in a practical application
ESP32-Based Battery-Powered Multi-Sensor System
This circuit consists of a TP4056 module connected to a 3.7V LiPo battery, providing a charging interface for the battery. The TP4056 manages the charging process by connecting its B+ and B- pins to the battery's positive and ground terminals, respectively.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of CanSet v1: A project utilizing TP4056 + DW01 in a practical application
Battery-Powered Raspberry Pi Pico GPS Tracker with Sensor Integration
This circuit is a data acquisition and communication system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors (BMP280, MPU9250) for environmental data, a GPS module for location tracking, an SD card for data storage, and a WLR089-CanSAT for wireless communication. The TP4056 module handles battery charging, and a toggle switch controls power distribution.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Charging single-cell lithium-ion or lithium-polymer batteries
  • Power banks and portable chargers
  • Wearable devices
  • DIY electronics projects
  • Battery-powered IoT devices

Technical Specifications

Key Technical Details

Parameter Value
Input Voltage Range 4.5V to 5.5V
Charging Voltage 4.2V ± 1%
Maximum Charging Current 1A (adjustable via external resistor)
Battery Overcharge Protection 4.3V ± 0.05V
Battery Overdischarge Protection 2.4V ± 0.1V
Overcurrent Protection 3A (typical)
Operating Temperature Range -40°C to +85°C
Dimensions ~25mm x 19mm

Pin Configuration and Descriptions

Pin Name Description
IN+ Positive input terminal for the charging voltage (4.5V to 5.5V).
IN- Negative input terminal (ground) for the charging voltage.
BAT+ Positive terminal for the lithium-ion battery connection.
BAT- Negative terminal for the lithium-ion battery connection.
OUT+ Positive output terminal for the load connected to the battery.
OUT- Negative output terminal for the load connected to the battery.

Usage Instructions

How to Use the TP4056 + DW01 in a Circuit

  1. Power Supply Connection: Connect a 5V DC power source (e.g., USB) to the IN+ and IN- pins. Ensure the input voltage is within the 4.5V to 5.5V range.
  2. Battery Connection: Connect the positive terminal of the lithium-ion battery to the BAT+ pin and the negative terminal to the BAT- pin.
  3. Load Connection: If you want to power a load while charging the battery, connect the load to the OUT+ and OUT- pins.
  4. Adjust Charging Current: The charging current can be adjusted by changing the value of the resistor connected to the PROG pin of the TP4056 IC. For example:
    • 1.2kΩ resistor = 1A charging current (default)
    • 2kΩ resistor = 0.5A charging current
  5. LED Indicators:
    • Red LED: Charging in progress.
    • Blue LED: Charging complete.

Important Considerations and Best Practices

  • Battery Compatibility: Use only single-cell lithium-ion or lithium-polymer batteries with a nominal voltage of 3.7V.
  • Heat Dissipation: The TP4056 IC may heat up during charging. Ensure proper ventilation or add a heatsink if necessary.
  • Avoid Reverse Polarity: Double-check the polarity of the battery and power supply connections to prevent damage.
  • Load Current: Ensure the load current does not exceed the module's overcurrent protection limit (3A typical).

Example: Using TP4056 + DW01 with Arduino UNO

The TP4056 + DW01 module can be used to power an Arduino UNO from a lithium-ion battery. Below is an example of how to monitor the battery voltage using the Arduino's analog input.

Circuit Connections

  • Connect the OUT+ pin of the TP4056 module to the Arduino's VIN pin.
  • Connect the OUT- pin of the TP4056 module to the Arduino's GND pin.
  • Use a voltage divider circuit to step down the battery voltage for safe measurement by the Arduino's analog pin.

Arduino Code

// Define the analog pin connected to the voltage divider
const int batteryPin = A0;

// Define the voltage divider ratio (e.g., R1 = 10kΩ, R2 = 10kΩ)
const float voltageDividerRatio = 2.0;

// Reference voltage of the Arduino (5V for most boards)
const float referenceVoltage = 5.0;

void setup() {
  Serial.begin(9600); // Initialize serial communication
}

void loop() {
  int analogValue = analogRead(batteryPin); // Read the analog pin
  float batteryVoltage = (analogValue / 1023.0) * referenceVoltage * voltageDividerRatio;

  // Print the battery voltage to the Serial Monitor
  Serial.print("Battery Voltage: ");
  Serial.print(batteryVoltage);
  Serial.println(" V");

  delay(1000); // Wait for 1 second before the next reading
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Module Overheating:

    • Cause: High charging current or insufficient ventilation.
    • Solution: Reduce the charging current by increasing the resistor value on the PROG pin or improve ventilation.
  2. Battery Not Charging:

    • Cause: Incorrect connections or damaged battery.
    • Solution: Verify all connections and ensure the battery is functional.
  3. No Output Voltage:

    • Cause: Battery is overdischarged or module is damaged.
    • Solution: Check the battery voltage. If it is below 2.4V, precharge the battery using a dedicated charger.
  4. LEDs Not Working:

    • Cause: Faulty LEDs or incorrect wiring.
    • Solution: Inspect the LEDs and connections. Replace faulty components if necessary.

FAQs

Q: Can I use the TP4056 + DW01 module to charge multiple batteries in series?
A: No, the module is designed for single-cell lithium-ion or lithium-polymer batteries only.

Q: How do I adjust the charging current?
A: Change the resistor connected to the PROG pin of the TP4056 IC. Refer to the datasheet for resistor values corresponding to different charging currents.

Q: Is it safe to leave the battery connected to the module after charging?
A: Yes, the DW01 protection IC prevents overcharging and overdischarging, ensuring battery safety.

Q: Can I power a load while charging the battery?
A: Yes, the module supports simultaneous charging and discharging, but ensure the load current does not exceed the module's limits.