🔋 Battery

Battery power solutions for your DNS Driveby.


...

Official Battery Shim

This product is coming soon!

The Power Problem

While DNS Driveby kits come with a LiPo connector, powering the kits & charging them isn’t so straightforward. In fact, it can be dangerous!

The LiPo battery JST jack passes directly to the 5V / USB pin on the D1 Mini - so if you use USB with a LiPo battery connected, it will attempt to charge it - without any regulation or protection.


...

Battery Level

Reading battery level also poses a problem. Since there’s no dedicated circuit to “switch off” the connection when the LiPo battery is too low, you can fully discharge and damage it.

DNS Driveby v1.2 kits use a resistor voltage divider to measure battery voltage, and puts the board into deep-sleep mode when the battery voltage is below 3V. Read more here.

Using a charging solution that has over-discharge protection would solve this issue, but these solutions do not allow you to gauge battery level.

These are some nice options for reading battery level over I2C:

Support for these chips coming soon.

Charging Solutions

1. Inline charging

There are no existing solutions I could find that offer this in a small form-factor - let alone easy + cheap to source. But I’m designing one :)

2. Charge the battery separately

This is currently the recommended way to charge LiPo’s. Disconnect your LiPo battery, and charge it with an external circuit like the ones listed below. As long as your battery fits the JST 2.0 port, and you double check the polarity, you’ll be good to go!

NameDescriptionPrice
Adafruit Micro Lipo ChargerCompact charging up to 500 mAh$6
Generic TP4056 BreakoutExtremely ubiquitous LiPo charger$1
3. Wemos Battery Shield

Don’t let this board decieve you, its actually the worst charging solution I’ve tried.

While it comes in D1 Mini form factor (meaning you can stack it on your existing D1 Mini), it uses a slightly-too-large JST 2.54 connector that doesn’t securely hold the battery, and also requires you to charge through a separate USB port (and it’s MicroUSB, eww).


...