DEV Community

Hedy
Hedy

Posted on

How to power an arduino nano with a lipo battery with charger?

To power an Arduino Nano with a LiPo battery and charger, you'll need to ensure safe charging, voltage regulation, and protection. Here's a full guide:

Image description

What You Need

Image description

Common Wiring Setup
Option 1: TP4056 → 5V to Nano
If your TP4056 has a boost converter (or you add one):

text

[LiPo 3.7V Battery]
      |
      v
[TP4056 Charger] → [Boost Converter 3.7V → 5V] → Arduino Nano 5V pin
Enter fullscreen mode Exit fullscreen mode
  • Battery → TP4056 (B+ and B−)
  • TP4056 OUT+ → Boost IN+
  • Boost OUT+ → Nano 5V pin
  • This powers the Nano directly with 5V (regulated)

Option 2: Direct to VIN (when safe)
If your LiPo is fully charged (~4.2V), you can power the VIN pin, but note:

  • Nano’s regulator requires ≥6V for full 5V output
  • LiPo may drop to ~3.3V, causing instability

So VIN is not ideal for single-cell LiPo without boosting.

TP4056 Pinout Reminder:

Image description

Boost Converter (if needed)
If you want reliable 5V for your Nano:

  • Use a MT3608 boost converter (or similar)
  • Input: 3.3V–4.2V
  • Output: 5V → connect to Nano 5V pin

USB Charging Support

  • Plug USB into TP4056 module to charge battery
  • It charges even while Arduino Nano is running
  • Charging LED indicators:

  • Red = Charging

  • Blue = Full

Tips

Image description

Summary

Image description

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.