Skip to the content
2 layers33.5 × 55.5 mmBatteryCharger FuelGauge Breakout Board, the printed circuit board in 3D

BatteryCharger FuelGauge Breakout Board

pbdaran/BatteryCharger_FuelGauge

Designing a compact, reliable battery management breakout board isn’t just about cramming chips together — it’s about understanding the trade-offs behind every component choice.

Size
33.5 × 55.5 mm
Copper layers
2
Thickness
1.57 mm
Parts
34
Nets
26
Pads
107
Tracks, vias
212, 115
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 Aug 2025
Updated
10 Aug 2025

Overview

BatteryCharger FuelGauge Breakout Board is an open-source printed circuit board by pbdaran, from the pbdaran/BatteryCharger_FuelGauge repository on GitHub, published under the MIT licence. It is a 2-layer board of 33.5 × 55.5 mm with 34 parts on 26 nets, routed with 212 tracks and 115 vias.

It is built around the BQ24040DSQT, BQ27621YZFR-G1A and RMCF0603FT10K0, with the RMCF0603FT1K00, G800W305018EU and CC0603KRX7R7BB104 among its other parts. Its parts include 13 resistors, 5 capacitors, 4 connectors, 2 ICs and 1 diode. It belongs with the interfaces and adapters and microcontroller boards boards of this library.

Main components

8

README

README.md

Breakout Board: Battery Charger & Fuel Gauge — Design Story and Choices

Designing a compact, reliable battery management breakout board isn’t just about cramming chips together — it’s about understanding the trade-offs behind every component choice.
Here’s the thinking behind the Battery Charger & Fuel Gauge Breakout Board and why I chose the ICs I did.

1. The Battery Charger: BQ24040 vs. TP4056

The TP4056 has earned its fame in the maker world — it’s cheap, easy to use, and well supported. But it hides a quirk that can cause headaches in certain designs.

The TP4056 quirk:

  • Pre-charge threshold: ~3.0 V
  • Fixed pre-charge (trickle charge) current: 10 mA
  • If your battery is below 3 V and you have an LDO pulling ~10 mA from the charger output (to power 3.3 V logic, for instance), the TP4056 will happily supply that current to the LDO… and zero to the battery.
  • Result? The battery never rises above 3 V, and the charger never switches to constant current mode. Stalemate.

How the BQ24040 solves it:

  • Lower pre-charge threshold: ~2.5 V (battery starts charging earlier in its discharge)
  • Configurable pre-charge current: e.g., 50 mA — plenty to both feed your LDO and still trickle energy into the cell.
  • Additional perks:
    • Power path management: can supply load and charge battery simultaneously.
    • Status outputs for charge and fault indication.
    • Thermal regulation built in.

This means your system boots faster from a dead battery, and you don’t get stuck in a “never charging” deadlock.

2. The Fuel Gauge: BQ27621-G1 and the Calibration Dilemma

Battery fuel gauging is trickier than it looks. You can measure voltage, but it doesn’t tell the whole story about state of charge (SoC).

Two main approaches:

  1. Impedance Tracking — Highly accurate, but requires painful calibration and “training” cycles to match the gauge to your specific cell.
    Great for high-volume products, less great for quick prototypes or small-run boards.
  2. Voltage Correlation — Uses cell voltage, temperature, and discharge patterns to estimate SoC. Less accurate over extreme conditions, but easy to set up.

The BQ27621-G1 uses a dynamic voltage correlation algorithm:

  • No complex calibration process.
  • Good enough accuracy for most portable projects.
  • Very low quiescent current — ideal for battery-powered devices.
  • I²C interface for easy microcontroller integration.

For a breakout board aimed at prototyping and flexibility, avoiding impedance tracking’s long setup time is worth the small trade-off in accuracy.

3. Board Connections and Options

This board isn’t just two chips and some passives — it’s designed to be flexible in different setups.

Key features:

  • USB input for charging.
  • Battery JST connector for Li-Ion/Li-Po cells.
  • Load output that stays powered even while charging (thanks to the BQ24040’s power path management).
  • I²C interface (SDA, SCL) for reading fuel gauge data.
  • Configurable pre-charge current via resistor selection.
  • Charge status pins for LED indicators or MCU monitoring.

4. Why This Combo Works Well

The BQ24040 + BQ27621-G1 pairing offers:

  • Robust charging under low-voltage conditions.
  • Accurate-enough battery state reporting without lengthy setup.
  • Support for both charging and powering your project at the same time.
  • Minimal parts count without sacrificing essential battery management features.

Refer to the Design Document for the board configurations

Parts

34
QtyValueFootprintReferences
410kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R5, R8, R9
45.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R3, R13, R14
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
31kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7, R10, R11
31uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC2, C4, C5
3FiducialFiducial:Fiducial_0.5mm_Mask1mmFID1, FID2, FID3
2Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2, J4
2SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP1, JP2
10.1uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3
10.47uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1
11.8MResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4
12kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6
1BQ24040BCFG_FP:WSON-10-1EP_2x2mm_P0.4mm_EP1.5x0.9mmU2
1BQ27621-G1Package_BGA:Texas_DSBGA-9_1.62x1.58mm_Layout3x3_P0.5mmU1
1Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1D_TVSDiode_SMD:D_SMB_HandsolderingD1
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ3

Similar boards

  • 4 layers56.5 × 45 mmPower board, the printed circuit board in 3D

    Power board

    alex-dnd/power_board

    Универсальная четырёхслойная плата питания от 6S на LMR33630: выходы 5 В и 7 В до 3 А. KiCad 10.

    51 parts
  • 6 layers95 × 55 mmGlasgow, the printed circuit board in 3D

    Glasgow

    GlasgowEmbedded/glasgow

    Scots Army Knife for electronics

    782 parts2.2k0BSD
  • 2 layers38.5 × 30.2 mmJazz, the printed circuit board in 3D

    Jazz

    devisunofficial/Jazz

    Jazz is a bluetooth speaker that uses ESP32 for bluetooth connection

    29 parts
  • 6 layers54 × 28 mmWius new, the printed circuit board in 3D

    Wius new

    ssavazzi02/tinyProbe_wius

    142 parts
  • 4 layers99.8 × 94.6 mmStar tracker card, the printed circuit board in 3D

    Star tracker card

    oresat/oresat-star-tracker-hardware

    Hardware for OreSat's Star Tracker

    263 parts49
  • 4 layers99.8 × 94.6 mmOresat batteries, the printed circuit board in 3D

    Oresat batteries

    oresat/oresat-batteries

    Battery board for OreSat

    354 parts29

Questions

How big is the BatteryCharger FuelGauge Breakout Board PCB?

It measures 33.5 × 55.5 mm and has 2 copper layers, 1.57 mm thick.

What parts does the BatteryCharger FuelGauge Breakout Board use?

34 parts, built around the BQ24040DSQT, BQ27621YZFR-G1A, RMCF0603FT10K0 and RMCF0603FT1K00. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the BatteryCharger FuelGauge Breakout Board KiCad files?

From the pbdaran/BatteryCharger_FuelGauge repository on GitHub, at the commit this page was made from: the board is Hardware Design/BatteryCharger_FuelGauge_Breakout_Board.kicad_pcb and its schematic Hardware Design/BatteryCharger_FuelGauge_Breakout_Board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BatteryCharger FuelGauge Breakout Board design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).