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 compact and efficient lithium-ion battery charging and protection module manufactured by Makers. It integrates the TP4056 linear battery charger IC with the DW01 battery protection IC, providing a complete solution for charging and safeguarding single-cell lithium-ion or lithium-polymer batteries. This module is widely used in portable electronics, DIY projects, and battery-powered devices due to its simplicity, reliability, and cost-effectiveness.

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 and IoT gadgets
  • DIY electronics projects
  • Battery-powered tools and toys

Technical Specifications

Key Technical Details

Parameter Value
Input Voltage Range 4.5V to 6V
Charging Current Adjustable, up to 1A (default: 1A)
Battery Voltage 4.2V (fully charged)
Protection Features Overcharge, over-discharge, and overcurrent
Charging Method Constant Current (CC) / Constant Voltage (CV)
Operating Temperature Range -10°C to +85°C
Dimensions ~25mm x 19mm

Pin Configuration and Descriptions

TP4056 Module Pinout

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

Indicator LEDs

LED Color Status Description
Red Charging in progress.
Blue Charging complete or no battery connected.

Usage Instructions

How to Use the TP4056 + DW01 Module in a Circuit

  1. Connect the Input Voltage:

    • Connect a 5V DC power source (e.g., USB power supply) to the IN+ and IN- pins.
    • Ensure the input voltage is within the range of 4.5V to 6V to avoid damaging the module.
  2. Connect the Battery:

    • Attach the positive terminal of the lithium-ion battery to the BAT+ pin.
    • Attach the negative terminal of the battery to the BAT- pin.
  3. Connect the Load (Optional):

    • If you want to power a load while charging the battery, connect the load to the OUT+ and OUT- pins.
  4. Adjust the Charging Current (Optional):

    • The default charging current is set to 1A. To adjust it, replace the onboard resistor (Rprog) with a different value:
      • Charging current (Icharge) = 1200V / Rprog (in ohms).
      • For example, use a 2kΩ resistor for a charging current of 600mA.
  5. Monitor the Charging Status:

    • Observe the onboard LEDs to determine the charging status:
      • 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 module may heat up during operation. Ensure proper ventilation or heat sinking if necessary.
  • Input Voltage: Avoid exceeding the maximum input voltage of 6V to prevent damage to the module.
  • Load Current: Do not exceed the module's maximum output current (1A) to ensure safe operation.

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 connect the module and monitor the battery voltage using the Arduino.

Circuit Connections

  1. Connect the OUT+ and OUT- pins of the TP4056 module to the Arduino's VIN and GND pins, respectively.
  2. Connect the battery to the BAT+ and BAT- pins of the module.
  3. Connect a 5V USB power source to the IN+ and IN- pins for charging.

Arduino Code

// Example code to monitor battery voltage using Arduino UNO
const int batteryPin = A0; // Analog pin connected to battery voltage divider
float voltageDividerRatio = 2.0; // Adjust based on your resistor values

void setup() {
  Serial.begin(9600); // Initialize serial communication
  pinMode(batteryPin, INPUT); // Set battery pin as input
}

void loop() {
  int analogValue = analogRead(batteryPin); // Read analog value
  float batteryVoltage = (analogValue * 5.0 / 1023.0) * voltageDividerRatio;
  
  // Print 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 input voltage or excessive charging current.
    • Solution: Ensure the input voltage is within the 4.5V to 6V range. Reduce the charging current by replacing the Rprog resistor.
  2. Battery Not Charging:

    • Cause: Incorrect wiring or damaged battery.
    • Solution: Double-check all connections. Verify the battery is functional and compatible with the module.
  3. No LED Indicator:

    • Cause: No input power or faulty module.
    • Solution: Confirm the input voltage is present. Replace the module if necessary.
  4. Load Not Powering On:

    • Cause: Insufficient battery charge or excessive load current.
    • Solution: Fully charge the battery and ensure the load current does not exceed 1A.

FAQs

Q: Can I use the TP4056 module to charge multiple batteries in series?
A: No, the TP4056 + DW01 is designed for single-cell batteries only. Charging multiple batteries in series requires a specialized charger.

Q: How do I adjust the charging current?
A: Replace the onboard Rprog resistor with a different value. Use the formula Icharge = 1200V / Rprog to calculate the desired charging current.

Q: Can I use the module without a battery connected?
A: Yes, the module can power a load directly from the input voltage, but this is not recommended for long-term use.

Q: What happens if the battery is over-discharged?
A: The DW01 protection IC will disconnect the battery to prevent damage. Reconnect the battery to a charger to restore functionality.