Batteries - johnosbb/Automation GitHub Wiki

Battery Technology

TP4056 Battery Charging Mpdule

The TP4056 is a complete constant-current/constant-voltage linear charger for single-cell lithium-ion batteries. Here are its key characteristics:

Charging Specifications:

  • Standard charging current: 1A (adjustable with an external resistor)
  • Input voltage range: 4.5V-5.5V (typically powered via USB)
  • Battery charging voltage: 4.2V ±1%
  • Charging accuracy: ±1.5%

Protection Features:

  • Over-voltage protection
  • Over-current protection
  • Reverse polarity protection
  • Temperature protection (with optional thermistor)
  • Short circuit protection

Status Indicators:

  • Red LED: Charging in progress
  • Blue LED: Charging complete
  • (Some variants may use different LED colors)

Common Applications:

  • DIY power banks
  • Portable device charging
  • Battery-powered projects
  • Solar charging systems

Notable Advantages:

  • Very low cost
  • Widely available
  • Simple to implement
  • Built-in protection features
  • Minimal external components needed

The module is safe to use with most 3.7V lithium-ion batteries when properly connected, but one must always observe proper battery safety practices and ensure correct polarity when connecting due to the risks of fire.

References