Skip to the content
2 layers102.8 × 46.5 mmMETAL AIR BMS, the printed circuit board in 3D

STM32-based Single Cell Metal-Air Battery Management System (BMS) featuring real-time voltage/current monitoring, temperature sensing, hydrogen gas detection, protection mechanisms, UART communication, and a Python-based monitoring & data logging application.

Size
102.8 × 46.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
88
Nets
75
Pads
289
Tracks, vias
397, 55
Pours
7
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Jul 2026
Updated
26 Jul 2026

Overview

METAL AIR BMS is an open-source printed circuit board by MAATHES-THILAK-K, from the MAATHES-THILAK-K/METAL_AIR_BMS repository on GitHub. It is a 2-layer board of 102.8 × 46.5 mm with 88 parts on 75 nets, routed with 397 tracks and 55 vias.

It is built around the SN65HVD230D, TS912ID and SSP7603P33M5R, with the CMN2302M, BC547 and IRLB8743PBF among its other parts. Its parts include 21 resistors, 16 capacitors, 10 connectors, 5 ICs and 5 diodes. It belongs with the power boards and the STM32 boards of this library.

Main components

8

README

README.md

🔋 Metal-Air Single Cell Battery Management System

License: PolyForm Noncommercial 1.0.0 Firmware Version Project Status

PCB Render


📖 Overview

The Metal-Air Single Cell Battery Management System (BMS) is a custom embedded system designed to safely monitor and protect a single-cell Metal-Air battery. The project is built around the STM32G0B1CBT6 microcontroller and provides real-time monitoring of battery voltage, current, temperature, and hydrogen gas concentration while implementing multiple protection mechanisms to ensure reliable battery operation.

The repository contains the complete embedded firmware, hardware design files, Python monitoring application, and supporting documentation required to reproduce the project.


✨ Key Features

  • STM32G0B1CBT6 Microcontroller
  • INA226 High-Precision Current & Bus Voltage Monitoring
  • NTC Thermistor-Based Temperature Measurement
  • Hydrogen Gas Sensor Monitoring
  • Real-Time Fault Detection
  • Over-Current Protection (OCP)
  • Under-Voltage Protection (UVP)
  • Over-Temperature Protection (OTP)
  • UART Communication
  • Python-Based Monitoring & Data Logging
  • Audible Fault Indication (Buzzer)
  • MOSFET-Based Load Disconnect

🏗️ System Architecture

text
                  +----------------------------+
                  |    Metal-Air Battery       |
                  +-------------+--------------+
                                |
                 +--------------v--------------+
                 |       STM32G0B1CBT6         |
                 +--------------+--------------+
                                |
     +------------+-------------+------------+--------------+
     |            |                          |              |
     |            |                          |              |
+----v----+ +-----v-----+            +-------v------+ +-----v------+
| INA226  | | NTC Sensor|            | H₂ Sensor    | | UART Debug |
| Current | |Temperature|            | Monitoring   | | / Logging  |
+---------+ +-----------+            +--------------+ +------------+
       |                                           |
       +----------------------+--------------------+
                              |
                      +-------v--------+
                      | Protection     |
                      | Decision Logic |
                      +-------+--------+
                              |
                   +----------v-----------+
                   | MOSFET Load Control  |
                   +----------------------+

🔧 Hardware

Microcontroller

  • STM32G0B1CBT6

Sensors

  • INA226 Current & Bus Voltage Sensor
  • NTC Thermistor
  • Hydrogen Gas Sensor

Output Devices

  • Protection MOSFET
  • Buzzer

Communication

  • UART Serial Interface

💻 Firmware

The embedded firmware continuously performs the following tasks:

  • Battery Voltage Measurement
  • Current Measurement
  • Temperature Monitoring
  • Hydrogen Gas Detection
  • Fault Monitoring
  • Protection Decision Making
  • MOSFET Control
  • UART Data Transmission for Monitoring

📂 Project Structure

text
Metal-Air-Single-Cell-BMS/
│
├── Firmware/
│   └── Metal_Air_BMS.ino
│
├── Python/
│   └── BMS_Monitor.py
│
├── Hardware/
│   ├── Schematic.pdf
│   ├── PCB.pdf
│   ├── PCB_Render.png
│   ├── PCB_Top.png
│   ├── PCB_Bottom.png
│   ├── Gerber.zip
│   ├── BOM.xlsx
│   └── Pick_and_Place.csv
│
├── Images/
│   ├── PCB_Render.png
│   ├── Completed_PCB.jpg
│   ├── Wiring_Diagram.png
│   └── Block_Diagram.png
│

🚀 Getting Started

Hardware

  1. Assemble the PCB.
  2. Connect the Metal-Air battery.
  3. Connect the sensors.
  4. Verify all wiring before powering the system.

Firmware

Compile the firmware using the Arduino IDE with the STM32 Arduino Core installed.

Upload the firmware using:

  • ST-Link
  • UART Bootloader

🎯 Applications

  • Metal-Air Battery Research
  • Battery Safety Systems
  • Embedded Systems Development
  • Laboratory Testing
  • Battery Performance Evaluation
  • Educational and Research Projects

👨‍💻 Author

MAATHES THILAK K

Electronics and Communication Engineering

Anna University, MIT Campus, Chennai


⭐ If you found this project useful, consider giving it a Star!

Parts

88
QtyValueFootprintReferences
610kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10, R12, R14, R15, R18, R20
5100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC10, C13, C14, C15, C16
4100nFCapacitor_SMD:C_0603_1608MetricC1, C2, C5, C6
4MountingHole_PadMountingHole:MountingHole_2.2mm_M2_Pad_ViaH1, H2, H3, H4
201x03TerminalBlock:TerminalBlock_Xinya_XY308-2.54-3P_1x03_P2.54mm_HorizontalJ5, J10
2100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR11, R13
210kResistor_SMD:R_0805_2012MetricR6, R9
230pFCapacitor_SMD:C_0805_2012MetricC11, C12
24k7Resistor_SMD:R_0603_1608MetricR4, R5
25.1kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2
26.8uFCapacitor_SMD:C_1812_4532Metric_Pad1.57x3.40mm_HandSolderC3, C7
2CMN2302MPackage_TO_SOT_SMD:SOT-23Q1, Q2
2PUSHButton_Switch_SMD:SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFSSW1, SW2
2TVS_DUALPackage_TO_SOT_SMD:SOT-23D1, D5
10Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR19
101x02bitmap.preety:TerminalBlock_Xinya_XY845A-9.50-2P_1x02_P9.50mmJ6
101x02TerminalBlock:TerminalBlock_Xinya_XY308-2.54-2P_1x02_P2.54mm_HorizontalJ7
101x02bitmap.preety:Buzzer_12x9.5RM6.0J3
101x03Connector_JST:JST_XH_S3B-XH-A_1x03_P2.50mm_HorizontalJ4
101x04bitmap.preety:CONN-TH_4P-P2.50_WAFER-XH254WZ-4AJ9
101x05bitmap.preety:JST_GENERIC_5-PINJ2
1100k ,B=3950TerminalBlock:TerminalBlock_Xinya_XY308-2.54-2P_1x02_P2.54mm_HorizontalTH1
110kPotentiometer_THT:Potentiometer_Bourns_3296X_HorizontalRV1
110uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9
1120Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR21
11kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
11uFCapacitor_SMD:C_0603_1608MetricC4
1220R @ 100MHzInductor_SMD:L_0603_1608MetricFB1
1330Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8
13V3TestPoint:TestPoint_Pad_D1.5mmTP3
13mResistor_SMD:R_2816_7142Metric_Pad3.20x4.45mm_HandSolderR17
14.7uFCapacitor_SMD:C_0603_1608MetricC8
14k7Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR16
15VTestPoint:TestPoint_Pad_D1.5mmTP1
1620Resistor_SMD:R_0603_1608MetricR7
18MHzCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmY1
1BC547Package_TO_SOT_SMD:SOT-23Q3
1BIAS-DTestPoint:TestPoint_Pad_D1.5mmTP14
1BIAS-GTestPoint:TestPoint_Pad_D1.5mmTP12
1BIAS-OUTTestPoint:TestPoint_Pad_D1.5mmTP16
1FuseFuse:Fuse_0805_2012Metric_Pad1.15x1.40mm_HandSolderF1
1IN-TestPoint:TestPoint_Pad_D1.5mmTP9
1INA226bitmap.preety:INA226U3
1IRLB8743PBFPackage_TO_SOT_THT:TO-220-3_VerticalMOSFET1
1LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2
1LOADbitmap.preety:TerminalBlock_Xinya_XY845A-9.50-2P_1x02_P9.50mmJ8
1LOGOLOGOG***
1NPN-BTestPoint:TestPoint_Pad_D1.5mmTP11
1NPN-CTestPoint:TestPoint_Pad_D1.5mmTP13
1RB550VDiode_SMD:D_SOD-323_HandSolderingD3
1RXTestPoint:TestPoint_Pad_D1.5mmTP8
1SCLTestPoint:TestPoint_Pad_D1.5mmTP6
1SDATestPoint:TestPoint_Pad_D1.5mmTP4
1SN65HVD230Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU4
1SSP7603P33M5RPackage_TO_SOT_SMD:SOT-23-5U1
1ST2045LPackage_TO_SOT_SMD:TO-277AD4
1STM32G0B1CBTxPackage_QFP:LQFP-48_7x7mm_P0.5mmU2
1TS912IDTbitmap.preety:TS9121IDTU5
1TXTestPoint:TestPoint_Pad_D1.5mmTP7
1USB 3.1 Type-C 6Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-17J1
1VBUSTestPoint:TestPoint_Pad_D1.5mmTP10
1VbusTestPoint:TestPoint_Pad_D1.5mmTP2
1VrefTestPoint:TestPoint_Pad_D1.5mmTP5

Similar boards

  • 4 layers75 × 75 mmUSAN r0, the printed circuit board in 3D

    USAN r0

    alu-source/open_USAN

    This project documents the software and hardware of an ultrasonic anemometer, created in cooperation between FH Aachen and DLR Göttingen

    262 parts1
  • 4 layers100 × 100 mmV25Panel, the printed circuit board in 3D

    V25Panel

    maholli/SAM32

    Feather-sized SAMD51 with M4 core serving as UART bridge to WROOM ESP32

    211 parts43
  • 2 layers157.5 × 97.8 mmEsp32PrinterController, the printed circuit board in 3D

    Esp32PrinterController

    MitchBradley/Esp32PrinterController

    PCB design for 3D printer controller using ESP32 processor

    101 parts16MIT
  • 2 layers160 × 65 mmPneumatic control unit system, the printed circuit board in 3D

    Pneumatic control unit system

    kvriet/AirSystem-ESP32-for-Soft-Robotics

    An air control system for soft robotics using ESP32

    72 partsMIT
  • 2 layers164 × 126.5 mmDAB converter, the printed circuit board in 3D

    DAB converter

    lbregy/Power-Electronics

    202 parts
  • 4 layers44.4 × 35.8 mmAvionics motherboard, the printed circuit board in 3D

    Avionics motherboard

    spacecraft-design-lab-2019/avionics-motherboard

    Main flight computer board for the PyCubed-1 spacecraft

    76 parts
  • 2 layers47.2 × 35 mmSpriteSAMD, the printed circuit board in 3D

    SpriteSAMD

    RoboticExplorationLab/sprite

    KickSat Sprite (2019) running Circuitpython

    68 parts8
  • 6 layers51 × 53.5 mmCustom fc rat, the printed circuit board in 3D

    Custom fc rat

    Ekta-Gupta27/custom-flight-controller-pcb

    Custom flight controller PCB designed in KiCad with STM32F7, multiple sensors, CAN, USB, telemetry, PWM and IO interfaces.

    122 parts

Questions

How big is the METAL AIR BMS PCB?

It measures 102.8 × 46.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the METAL AIR BMS use?

88 parts, built around the SN65HVD230D, TS912ID, SSP7603P33M5R and CMN2302M. 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 METAL AIR BMS KiCad files?

From the MAATHES-THILAK-K/METAL_AIR_BMS repository on GitHub, at the commit this page was made from: the board is HARDWARE/Metal-Air_BMS.kicad_pcb and its schematic HARDWARE/Metal-Air_BMS.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the METAL AIR BMS design in my own project?

Its repository states no licence, so its author keeps all rights: ask MAATHES-THILAK-K before reusing the design.