Skip to the content
2 layers110 × 101 mmProject Seminar SS2025, the printed circuit board in 3D

KiCad and ESP32-S3 prototype for fuel-cell voltage and current sensing.

Size
110 × 101 mm
Copper layers
2
Thickness
1.6 mm
Parts
104
Nets
86
Pads
456
Tracks, vias
770, 79
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 Jun 2026
Updated
8 Jun 2026

Overview

Project Seminar SS2025 is an open-source printed circuit board by AnshajMalhotra, from the AnshajMalhotra/Fuel-Cell-Monitoring- repository on GitHub. It is a 2-layer board of 110 × 101 mm with 104 parts on 86 nets, routed with 770 tracks and 79 vias.

It is built around the ADUM4150BRIZ. Its parts include 67 capacitors, 12 resistors, 11 ICs and 10 crystals.

Main components

1

README

README.md

Project Seminar SS2025 — Fuel Cell Monitoring Board

KiCad ESP32-S3 PlatformIO Interface Status

A mixed-signal hardware and firmware project for monitoring fuel-cell voltage and current using a custom KiCad PCB, precision analog front-end, isolated SPI data path, 16-bit ADC acquisition, and ESP32-S3 based data processing.

This repository combines the complete PCB design files and embedded firmware developed for the Project Seminar SS2025. The board is intended to acquire fuel-cell electrical measurements, convert raw ADC data into physical voltage/current values, and stream the processed measurements to a host system over serial communication.


Repository Description

Short GitHub description:

KiCad + ESP32-S3 fuel-cell monitoring board with precision voltage/current sensing, 16-bit SPI ADC acquisition, digital isolation, and PlatformIO firmware for averaged serial data output.


Project Overview

The project focuses on designing and implementing a fuel-cell monitoring board that can measure:

  • Fuel-cell voltage
  • Fuel-cell current
  • ADC raw measurement values
  • Averaged and calibrated output data

The system is built around a modular PCB design with separate schematic blocks for power, voltage measurement, current measurement, ADC conversion, data transmission, and microcontroller-side processing.

mermaid
flowchart LR
    A[Fuel Cell Input] --> B[Voltage Measurement Stage]
    A --> C[Current Measurement Stage]
    B --> D[16-bit ADC]
    C --> D
    D --> E[Digital Isolation / SPI Interface]
    E --> F[ESP32-S3 Firmware]
    F --> G[Serial Output to Host]

Key Features

  • Custom PCB designed in KiCad
  • Modular schematic structure for easier debugging and documentation
  • Fuel-cell voltage sensing using a resistor divider and analog signal conditioning
  • Fuel-cell current sensing using a shunt resistor and current-sense amplifier stage
  • Precision voltage reference for ADC conversion
  • SPI-based ADC communication
  • Digital isolation for safer data transmission between analog and digital domains
  • ESP32-S3 firmware using PlatformIO and the Arduino framework
  • Timer-based sampling and averaging for stable readings
  • Serial output in a simple host-readable format

Hardware Architecture

BlockPurposeRelated Files
Main KiCad ProjectCentral project configurationProject_Seminar_SS2025.kicad_pro
PCB LayoutPhysical board layoutProject_Seminar_SS2025.kicad_pcb
Root SchematicTop-level schematic projectProject_Seminar_SS2025.kicad_sch
Power SupplyPower regulation and supply railspower.kicad_sch
Voltage MeasurementFuel-cell voltage sensing stagevoltage_measure.kicad_sch, voltage_mea.kicad_sch
Current MeasurementShunt/current-sense stagecurrent_measure.kicad_sch
ADC StageADC interface and analog conversionadc.kicad_sch, ADC_Main.kicad_sch
Data TransmissionIsolated SPI / digital communicationData_Transmission_Main.kicad_sch
Custom SymbolsProject-specific schematic symbolsKiCad_Board_Design/MySymbols/
Custom FootprintsProject-specific PCB footprintsKiCad_Board_Design/MyFootprints/
ERC ReportElectrical rules check outputERC.rpt

Main Components Used

The design includes footprints/symbols for several important mixed-signal and embedded components, including:

  • ESP32-S3 DevKitC-1 — microcontroller and firmware execution platform
  • LTC2368IMS-16 — 16-bit ADC interface stage
  • LTC6655 4.096 V reference — precision ADC reference
  • AD8410 — current-sense amplifier stage
  • LT6202 — analog signal conditioning / amplifier stage
  • ADuM4150BRIZ — digital isolator for SPI communication
  • LT1761 / LT1762 — low-noise voltage regulators
  • Custom connectors, jumpers, shunt resistor, and measurement terminals

Firmware Overview

Firmware is located in:

text
Board_Software/Fuel_Cell/

The ESP32-S3 firmware performs the following tasks:

  1. Initializes serial communication at 115200 baud
  2. Configures SPI pins for ADC communication
  3. Uses a hardware timer for periodic acquisition
  4. Reads two 16-bit ADC channels from a 32-bit SPI transfer
  5. Averages multiple samples for smoother measurements
  6. Converts raw ADC values into voltage and current
  7. Sends formatted readings to the host PC

Firmware Pin Mapping

SignalESP32-S3 Pin
MOSIGPIO 11
MISOGPIO 13
SCKGPIO 12
SS / CSGPIO 10
CNVGPIO 14
BUSYGPIO 9

Serial Output Format

The firmware prints measurements in the following format:

text
V:12.345,I:1.234

Where:

  • V = calculated fuel-cell voltage in volts
  • I = calculated fuel-cell current in amperes

Measurement Conversion Logic

The firmware uses a 4.096 V ADC reference and 16-bit conversion range.

Voltage Conversion

cpp
adcInputVoltage = (rawValue / 65535.0) * 4.096;
fuelCellVoltage = adcInputVoltage * dividerRatio;

The voltage divider ratio is calculated from:

cpp
R_TOTAL = 39000 + 2000;
R_BOTTOM = 3900 + 100;
dividerRatio = R_TOTAL / R_BOTTOM;

Current Conversion

cpp
senseAmpOutputVoltage = (rawValue / 65535.0) * 4.096;
shuntVoltage = senseAmpOutputVoltage / 20.0;
fuelCellCurrent = shuntVoltage / 0.008;

The current calculation depends on:

  • Sense amplifier gain: 20
  • Shunt resistance used in firmware: 0.008 Ω

Update these constants if the final measured resistor values or amplifier gain differ from the prototype assumptions.


Getting Started

1. Clone the Repository

bash
git clone https://github.com/<your-username>/<your-repo-name>.git
cd <your-repo-name>

2. Open the PCB Design

Open the project file in KiCad:

text
Project_Seminar_SS2025.kicad_pro

Recommended KiCad workflow:

  1. Open the project in KiCad
  2. Review the schematic hierarchy
  3. Run ERC from the schematic editor
  4. Open the PCB layout
  5. Run DRC before manufacturing
  6. Generate Gerber/drill files if the board is ready for fabrication

Building and Uploading Firmware

Prerequisites

Install:

  • Visual Studio Code
  • PlatformIO extension
  • ESP32-S3 board support through PlatformIO
  • USB driver for the ESP32-S3 board, if required

Build Firmware

bash
cd Board_Software/Fuel_Cell
pio run

Upload Firmware

bash
pio run --target upload

Open Serial Monitor

bash
pio device monitor -b 115200

Expected output:

text
Fuel Cell Monitoring Board - Initializing...
Initialization Complete. Starting Data Acquisition.
V:12.345,I:1.234

Repository Structure

text
Project_Seminar_SS2025/
├── Project_Seminar_SS2025.kicad_pro       # Main KiCad project
├── Project_Seminar_SS2025.kicad_sch       # Top-level schematic
├── Project_Seminar_SS2025.kicad_pcb       # PCB layout
├── power.kicad_sch                        # Power supply design
├── current_measure.kicad_sch              # Current measurement circuit
├── voltage_measure.kicad_sch              # Voltage reference / measurement circuit
├── adc.kicad_sch                          # ADC schematic block
├── Data_Transmission_Main.kicad_sch       # Data transmission / isolation block
├── KiCad_Board_Design/
│   ├── MySymbols/                         # Custom KiCad symbols
│   └── MyFootprints/                      # Custom KiCad footprints
└── Board_Software/
    └── Fuel_Cell/
        ├── platformio.ini                 # PlatformIO configuration
        └── src/
            └── main.cpp                   # ESP32-S3 firmware

Suggested GitHub Topics

Use these topics on GitHub to make the project easier to discover:

text
kicad
pcb-design
esp32-s3
platformio
embedded-systems
fuel-cell
adc
spi
current-sensing
voltage-measurement
mixed-signal
arduino-framework

Recommended Cleanup Before Publishing

Before pushing to GitHub, avoid committing generated or temporary files such as:

text
.pio/
build/
*.bin
*.elf
*.map
*.o
*.d
*.bak
*.lck
Project_Seminar_SS2025-backups/

A cleaner repository will be smaller, easier to clone, and more professional for reviewers.


Future Improvements

  • Add calibration procedure for voltage and current measurements
  • Add CSV logging or USB serial data parser on the host side
  • Add OLED/display support for live local readings
  • Add wireless transmission using Wi-Fi or BLE
  • Add automated firmware tests for conversion functions
  • Add final board render, schematic screenshots, and measurement results
  • Generate Gerber files and attach manufacturing notes

Author

Anshaj Malhotra
M.Eng. Electrical and Information Engineering
Hochschule Wismar


License

No license has been selected yet. If this project is intended to be open-source, add a license such as MIT, Apache-2.0, or CERN-OHL depending on how you want others to use the hardware and software design.

Parts

104
QtyValueFootprintReferences
304.7uCapacitor_SMD:C_0201_0603MetricC17, C20, C21, C23, C27, C30, C31, C33, C37, C38, C40, C41, C42, C44, C45, C47 +14
15100nCapacitor_SMD:C_0201_0603MetricC5, C7, C9, C12, C14, C16, C19, C26, C29, C36, C43, C50, C57, C64, C66
72.2uCapacitor_SMD:C_0201_0603MetricC6, C8, C10, C13, C15, C22, C32
522uCapacitor_SMD:C_0805_2012MetricC24, C25, C28, C34, C35
3MPE 087-1-002Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mmX5, X7, X8
3~WE_74650073:WE_74650073X1, X2, X3
210Resistor_SMD:R_0603_1608MetricR3, R4
210nCapacitor_SMD:C_0402_1005MetricC53, C60
210uCapacitor_SMD:C_0201_0603MetricC39, C46
216mResistor_SMD:R_2512_6332MetricR1, R2
21nCapacitor_SMD:C_0201_0603MetricC3, C11
22.2nCapacitor_SMD:C_0201_0603MetricC2, C4
251Resistor_SMD:R_0603_1608MetricR5, R10
2RTM1_3RTM1_3:RTM1_3X9, X10
2~LT6202IS8:LT6202IS8U2, U3
2~LTC2368IMS-16:LTC2368IMS-16U4, U5
2~LTC6655LNCHMS8-4.096#PBF:LTC6655LNCHMS8-4.096#PBFU6, U7
1100kResistor_SMD:R_0603_1608MetricR11
1100nResistor_SMD:R_0603_1608MetricR9
122nCapacitor_SMD:C_0201_0603MetricC1
122uCapacitor_SMD:C_0201_0603MetricC18
12kResistor_SMD:R_0603_1608MetricR7
13.9Resistor_SMD:R_0603_1608MetricR8
139kResistor_SMD:R_0603_1608MetricR6
1470kResistor_SMD:R_0402_1005MetricR12
1ADUM4150BRIZADUM4150BRIZ:ADUM4150BRIZU11
1AKL073-3Connector (AKL073-3):Connector (AKL073-3)X4
1RIA_AKL_101-02AKL-101-102:AKL073-2X6
1~AD8410ABWRZ:AD8410ABWRZU1
1~LT1762EMS8-2.5:LT1762EMS8-2v5U8
1~LT1761IS5-3.3TRMPBF:LT1761IS5-3.3TRMPBFU9
1~ESP32:ESP32U10

The 100 most common of 104 parts.

Similar boards

  • 2 layers103.6 × 79.6 mmProject Seminar SS2025, the printed circuit board in 3D

    Project Seminar SS2025

    ArbazAkhtar/Fuel-cell-monitoring-board-2layer

    2-layer PCB monitoring a 500W PEM fuel cell — KiCad 9 hardware + ESP32-S3 firmware (isolated dual-ADC chain-mode DAQ, BLE/MQTT telemetry). SS2025 baseline of the 6-layer advanced version.

    107 parts
  • 2 layers247.7 × 97.7 mmWoagboard, the printed circuit board in 3D

    Woagboard

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    104 parts915
  • 2 layers141 × 90 mmChirp v2.4-pannel, the printed circuit board in 3D

    Chirp v2.4-pannel

    Miceuz/PlantWateringAlarm

    A soil humidity level sensor based on ATTINY44. Uses capacitive sensing.

    104 parts367
  • 2 layers25.7 × 25.7 mmFPCbreakout2, the printed circuit board in 3D

    FPCbreakout2

    Architeuthis-Flux/JumperlessV5

    The next generation jumperless breadboard

    104 parts332
  • 2 layers147 × 116 mmChrumm, the printed circuit board in 3D

    Chrumm

    sevmeyer/chrumm-keyboard

    Ergonomic monoblock keyboard

    104 parts300
  • 2 layers60.5 × 110 mmBrain core, the printed circuit board in 3D

    Brain core

    shmoergh/moduleur

    Fully analog DIY-friendly modular synth

    104 parts222
  • 2 layers37 × 113.9 mmVCO, the printed circuit board in 3D

    VCO

    nickajeglin/Eurorack-pcbs

    A collection of easy to solder DIY eurorack PCB's

    104 parts208

Questions

How big is the Project Seminar SS2025 PCB?

It measures 110 × 101 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Project Seminar SS2025 use?

104 parts, built around the ADUM4150BRIZ. 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 Project Seminar SS2025 KiCad files?

From the AnshajMalhotra/Fuel-Cell-Monitoring- repository on GitHub, at the commit this page was made from: the board is Project_Seminar_SS2025.kicad_pcb and its schematic ADC_Main.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Project Seminar SS2025 design in my own project?

Its repository states no licence, so its author keeps all rights: ask AnshajMalhotra before reusing the design.