IG-LiPo-Battery-Gauge
makhowastaken·iG-LiPo-Battery-Gauge
About the IG-LiPo-Battery-Gauge PCB
IG-LiPo-Battery-Gauge is an open source AVR/Arduino PCB design by makhowastaken, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 23.4 × 13.7 mm, with 21 components from 8 distinct parts.
Its main chip is the ATtiny48-AU, from the AVR/Arduino family. By type, the board carries 10 inductors, 3 capacitors, 3 resistors, 1 IC and 1 connector.
It belongs with the power & battery designs in this gallery.
From the project
Modified version of https://github.com/insidegadgets/LiPo-Battery-Gauge
I made this because I accidentally ordered the wrong ATTINYs and it was cheaper to make new custom PCBs than to order the correct MCUs. I also tweaked the LED board that Alex uploaded to comply with OSHpark's minimum size requirements.
I've uploaded the tweaked EAGLE BRD file and uploaded the exported gerbers if you want to use a different manufacturer. This PCB fits nicely in a GBA right below the LCD. See my youtube video for more info on the install and usage.

Main components on the IG-LiPo-Battery-Gauge
IG-LiPo-Battery-Gauge bill of materials (BOM)
21 components, 8 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATtiny48-AU | TQFP-32_7x7mm_P0.8mm | U1 |
| 1 | AVR_SPI_6 | PinHeader_2x03_P2.54mm_Vertical | J1 |
| 3 | Conn_01x01 | PinHeader_1x01_P1.00mm_Vertical | AFTER_POWER_SWITCH1, LIPO+1, LIPO-1 |
| 10 | Conn_01x01 | PinHeader_1x01_P1.00mm_Vertical | L1, L2, L3, L4, L5, L6, L7, L8 +2 |
| 3 | 0.1uF | C_0603_1608Metric_Pad1.05x0.95mm_HandSolder | C1, C3, C4 |
| 1 | 1M | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R2 |
| 1 | 10K | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R6 |
| 1 | 320K | R_0603_1608Metric_Pad1.05x0.95mm_HandSolder | R7 |
IG-LiPo-Battery-Gauge design files
The KiCad project lives in the makhowastaken/iG-LiPo-Battery-Gauge repository on GitHub; these links point at the commit this page was built from.
IG-LiPo-Battery-Gauge: common questions
What microcontroller does the IG-LiPo-Battery-Gauge use?
The IG-LiPo-Battery-Gauge is built around the ATtiny48-AU, from the AVR/Arduino family.
How big is the IG-LiPo-Battery-Gauge PCB?
The IG-LiPo-Battery-Gauge measures 23.4 × 13.7 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the IG-LiPo-Battery-Gauge?
21 components, from 8 distinct parts. The full bill of materials is listed on this page.
Where can I download the IG-LiPo-Battery-Gauge design files?
From the makhowastaken/iG-LiPo-Battery-Gauge repository on GitHub, which has the KiCad layout; the links under Design files point to each one.
Can I use the IG-LiPo-Battery-Gauge design in my own project?
Yes, under the terms of its GPL-3.0 license, which makhowastaken chose for the repository.
Can I test firmware for the IG-LiPo-Battery-Gauge without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0kAVR/Arduino
Megadesk
gcormier
41.7 × 32.2 mm23 parts2LGPL-3.0818AVR/Arduino
Easyduino Atmega Nano
Hanqaqa
43.4 × 18 mm30 parts4LCERN-OHL-P-2.0746