This guide will show you how to add a lithium-ion cell or lithium polymer battery to the ATMega328P SMD ProtoBoard I sell on Tindie.
What You Will Need?
Assemble the charger board using this post as a guide.
R1 – Charging Current Set Resistor
The formula to set the charging current is:
Charging Current(mA) = 1000V ÷ Resistance in KΩ.
|Resistor Value||Charging Current|
Some of the more popular values are in the table above.
|Led A||Led B|
For a dual status led indicator, it’s important that the combined forward voltage of both leds is >= 4.2v.
Before the leds will function you must select them using the following solder jumper…
STAT Output Selection
It is possible to monitor the charging cycle using the ATMega328 by bridging the left two pads with solder and linking pinhole A to an input of the MCU.
The right two pads, when linked, will connect the STAT output to the two leds.
Power Selection Jumper
There are a further two options for the power selection jumper:
The top two pads bridged with solder send the battery voltage to the DC-DC BoostProto (Coming Soon).
The bottom two pads bridged with solder send the battery voltage to the ATMega328 ProtoBoard through a 2 pin 0.1″ header.
MCP73831 DatasheetMCP73831.pdf (52 downloads)