Skip to content
PowerBattery

3.7V 2000mAh LiPo Battery

Slim rechargeable LiPo cell for compact wearable and drone builds.

Wiring & code for

LiPo 2000mAh practical reference

A rechargeable lithium-polymer pouch cell offering a good capacity-to-weight ratio for wearables, drones, and compact robots. Unlike a rigid cylindrical 18650, a LiPo pouch cell is thin, flexible in shape, and lightweight for its capacity, making it well suited to projects where the battery needs to fit into a slim enclosure or minimize overall weight — but it requires careful handling, since LiPo cells are more sensitive to puncture, overcharge, and over-discharge damage than more rugged cell formats.

Key specifications

  • Chemistry: Lithium-polymer (LiPo), single cell
  • Nominal voltage: 3.7V (charged: 4.2V, discharged cutoff: ~3.0-3.2V)
  • Capacity: 2000 mAh
  • Connector: Common 2-pin JST-PH connector (2.0mm pitch) — verify polarity before connecting, as JST connector polarity is not universally standardized across suppliers
  • Discharge rate: Typically 1C-2C continuous for standard (non-high-discharge) LiPo cells, check the specific cell's rated C-rating for higher-draw applications
  • Protection: Bare cell has no built-in protection circuit — requires a separate charge/protection module (e.g. TP4056 with DW01) for safe charging and discharge cutoff
  • Physical form: Thin flexible pouch, size and shape vary by supplier at a given capacity

Pinout and connection notes

Always verify the exact polarity of the JST connector before plugging into a charge board or power circuit, since not all suppliers wire the same pin as positive; reversing polarity can damage both the cell and connected electronics. Never charge a bare LiPo cell without a proper protection/charge circuit, never puncture or bend the pouch, and always monitor charging, since damaged or improperly charged LiPo cells present a fire risk.

  • Red wire (+): Positive terminal via JST-PH connector
  • Black wire (-): Negative terminal via JST-PH connector

Integration checklist

  1. Confirm the exact part number and breakout-board revision.
  2. Verify supply voltage, current demand, logic levels, and signal direction against the datasheet.
  3. Check controller pin assignments and bus address or interface mode against the example code.
  4. Power up with external loads disconnected, then test signals before full integration.
  5. If readings or communication fail, check power and ground first, then pin mapping, interface settings, and library initialization.

Troubleshooting and reproducibility

Record the board used, wiring, library/version, supply arrangement, and measured behavior. Use the selected board-specific wiring example as the source of truth. Never assume visually similar modules share identical voltage tolerance or pin order.

Board Integration

Library

Power supply (no code library) by Not applicable

Use the exact ESP32 dev-board USB/VIN documentation. No code library is required for power wiring.

Wiring

Component pinESP32 pinNote
Regulator input +Protected battery output +Use a protected single-cell LiPo and a regulated 5V boost converter rated for ESP32 current peaks.
Regulator input -Protected battery output -Verify polarity and use undervoltage protection.
ESP32 documented 5V/VIN inputRegulated 5V output +Confirm the exact dev-board input range. Never feed 5V into the 3V3 pin.
ESP32 GNDRegulated output -Verify output voltage before connecting the board.

Swipe sideways to see every column →

C++

Use a chemistry-appropriate CC/CV charger and suitable protection. A TP4056 is a charger, not a boost converter. Do not charge a damaged, swollen, or unattended LiPo cell.

View full ESP32 guide