Skip to the content
4 layers67.3 × 41.7 mmEeg, the printed circuit board in 3D

This project focuses on developing a wearable Electroencephalogram (EEG) device, integrating key concepts from Internet of Things (IoT) and embedded systems for biopotential acquisition.

Size
67.3 × 41.7 mm
Copper layers
4
Thickness
1.6 mm
Parts
147
Nets
168
Pads
472
Tracks, vias
691, 315
Pours
12
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
22 Jun 2025
Updated
28 Sep 2025

Overview

Eeg is an open-source printed circuit board by stephan-biomedical-engineer, from the stephan-biomedical-engineer/Electroencephalogram repository on GitHub. It is a 4-layer board of 67.3 × 41.7 mm with 147 parts on 168 nets, routed with 691 tracks and 315 vias.

It is built around the STM32H730VBT6, MCP602-I/P and TPS62162QDSGRQ1, with the LT3042IMSE#PBF and PCM12SMTBR among its other parts. Its parts include 46 resistors, 43 capacitors, 19 ICs, 4 diodes and 3 connectors. It belongs with the wearables boards and the STM32 boards of this library.

Main components

5

README

README.md

🧠 Wearable EEG Device – Biomedical Instrumentation I

A wearable EEG system for real-time brain activity monitoring, designed with embedded systems and IoT principles.


📚 Project Overview

This project presents a wearable Electroencephalogram (EEG) device developed for the Biomedical Instrumentation I course. It aims to acquire and process low-amplitude human brain signals (5µV to 300µV) across standard EEG frequency bands:

  • Delta (δ): 0.5 – 4 Hz
  • Theta (θ): 4 – 8 Hz
  • Alpha (α): 8 – 13 Hz
  • Beta (β): 13 – 30 Hz
  • Gamma (γ): 30 – 100 Hz

This is a full-stack biomedical system, integrating analog signal conditioning, high-resolution digital conversion, and wireless data transmission for real-time EEG visualization.

EEG Hardware Prototype
EEG Hardware Prototype

Real-Time EEG Interface in Qt
Real-Time EEG Interface in Qt

Physical Setup
Physical Setup


⚙️ Hardware Architecture

🧩 Microcontroller Core

  • STM32H730VBT SoC
  • Features a 16-bit SAR ADC up to 3.6 MSPS, ideal for high-resolution EEG data acquisition.

🔌 Analog Front-End (AFE)

EEG signals are amplified ~12000x and filtered in a 3-stage analog pipeline:

  1. INA333 Instrumentation Amplifier – 20x gain + initial passive filtering
  2. OPA333 Operational Amplifier – 600x gain
  3. 6th-Order Passive Bandpass Filter – 0.5 Hz (HP) to 45 Hz (LP)

📡 Communication & Storage

  • External Flash: W25Q512JV QSPI NOR Flash for firmware and logs
  • Wireless Co-Processor: ESP32-C6-MINI-1H4, communicating via UART

💾 Firmware Architecture

STM32H7 Side (Signal Acquisition)

  • DFSDM Peripheral used for enhanced digital filtering
  • Oversampling & Bit Shifting increase ADC ENOB
  • Implements Wavelet Transform for real-time brain wave classification

ESP32 Side (Wireless Stack)

  • Developed using ESP-IDF and FreeRTOS

  • Handles:

    • Serial communication with STM32
    • Data packetization
    • Wi-Fi communication to local host
    • MQTT protocol for lightweight IoT data streaming

🧪 Real-Time EEG Visualization

On the host side:

  • A Qt interface provides live graphical feedback of EEG signals.
  • Visualizes brain wave patterns and band activity in real time.

🛠️ Technologies Used

LayerTools & Components
MicrocontrollerSTM32H730VBT, STM32CubeIDE
Analog CircuitryINA333, OPA333, RC Filters
WirelessESP32-C6, FreeRTOS (Not yet implemented)
ProtocolsUART, MQTT, Wi-Fi
Host InterfaceQt, C++, HTML5, WebSocket/MQTT

🚧 Future Improvements

  • ✅ Integrate live FFT for spectral analysis
  • ✅ Mobile dashboard version
  • 🔲 Dry electrodes support
  • 🔲 Artifact rejection (e.g., blink/motion noise)
  • 🔲 Bluetooth Low Energy (BLE) alternative

👨‍🔬 Authors & Acknowledgments

Stephan Costa Barros - Electrical Engineering Department – Federal University of Uberlândia (UFU), Brazil

Marcelo Barros de Almeida - Electrical Engineering Department – Federal University of Uberlândia (UFU), Brazil

Alcimar Barbosa Soares - Electrical Engineering Department – Federal University of Uberlândia (UFU), Brazil

Parts

147
QtyValueFootprintReferences
9300nFCapacitor_SMD:C_0402_1005MetricC6, C7, C8, C14, C15, C16, C22, C23, C24
9TestPointTestPoint:TestPoint_Pad_D1.0mmTP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9
7100nFCapacitor_SMD:C_0402_1005MetricC25, C26, C27, C28, C29, C31, C35
7TestPointTestPoint:TestPoint_Pad_2.0x2.0mmCH1-, CH1+, CH2-, CH2+, CH3-, CH3+, REF
61.5kResistor_SMD:R_0402_1005MetricR5, R7, R17, R19, R29, R31
636nFCapacitor_SMD:C_0402_1005MetricC3, C5, C11, C13, C19, C21
6750kResistor_SMD:R_0402_1005MetricR6, R8, R18, R20, R30, R32
6MCP602mcp602:SOIC127P600X175-8NU3, U4, U7, U8, U11, U12
6OPA333xxDCKopa333:SOT65P210X110-5NU2, U6, U10, U17, U18, U19
51kResistor_SMD:R_0402_1005MetricR39, R40, R41, R42, R44
40.1uFCapacitor_SMD:C_0402_1005MetricC1, C9, C17, C39
4LEDLED_SMD:LED_0402_1005MetricD1, D2, D3, D4
4MountingHole_PadMountingHole:MountingHole_2.2mm_M2_DIN965_PadH1, H2, H3, H4
31.93MResistor_SMD:R_0402_1005MetricR13, R25, R37
3149KResistor_SMD:R_0402_1005MetricR10, R22, R34
32.04kResistor_SMD:R_0402_1005MetricR3, R15, R27
3276KResistor_SMD:R_0402_1005MetricR11, R23, R35
3330nFCapacitor_SMD:C_0402_1005MetricC2, C10, C18
34.7uFCapacitor_SMD:C_0603_1608MetricC30, C40, C42
3484kResistor_SMD:R_0402_1005MetricR14, R26, R38
38.2nFCapacitor_SMD:C_0402_1005MetricC4, C12, C20
3910kResistor_SMD:R_0402_1005MetricR4, R16, R28
3967kResistor_SMD:R_0402_1005MetricR12, R24, R36
397kResistor_SMD:R_0402_1005MetricR9, R21, R33
3INA333xxDRGina333:SON50P300X300X80-9N-DU1, U5, U9
21MResistor_SMD:R_0402_1005MetricR1, R2
22.2uFCapacitor_SMD:C_0402_1005MetricC33, C34
220pFCapacitor_SMD:C_0402_1005MetricC37, C38
10.47uFCapacitor_SMD:C_0402_1005MetricC41
1100kResistor_SMD:R_0402_1005MetricR46
110kResistor_SMD:R_0402_1005MetricR43
110uFCapacitor_SMD:C_0603_1608MetricC43
11uFCapacitor_SMD:C_0402_1005MetricC32
12.2uHInductor_SMD:L_0402_1005MetricL1
122uFCapacitor_SMD:C_0603_1608MetricC44
133.2kResistor_SMD:R_0402_1005MetricR45
1Battery LiPOConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ2
1Crystal_GND24_Smallcrystal30M:830107284409Y1
1FerriteBead_Smallferritebead:BEADC1005X55NFB1
1LOGOlogo:brain_2G***
1LOGOlogo:stG***
1LOGOlogo:pinguimG***
1LOGOlogo:repoG***
1LOGOlogo:logoFEELT_3G***
1LOGOlogo:logoUFU_2G***
1LT3042IMSE#PBFlt3042:SOP50P490X110-11NIC2
1OPA333AIDCKRG4opa333:SOT65P210X110-5NIC4
1PCM12SMTBRsw_tactile:PCM12SMTBRS1
1STM32H730VBT6stm32h730vbt6:QFP50P1600X1600X160-100NIC3
1SW_Push_Dualtactile_button:TL1030AF350AQJSW3
1SW_Push_Dualtactile_button:TL1030AF160BQJSW2
1SerialConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4
1TPS62162QDSGRQ1tps62162:SON50P200X200X80-9NIC1

Similar boards

  • 4 layers51.4 × 40.8 mm12S UAV UGV PMU, the printed circuit board in 3D

    12S UAV UGV PMU

    Manoj-Davu/pcb-design-portfolio

    43 parts2
  • 4 layers45 × 25 mmDevice, the printed circuit board in 3D

    Device

    jayis1/hacker-devices

    Full-cycle hardware designs for security research devices — each device is a subfolder with its own README, schematics, PCB layout, and software stack

    11 parts2
  • 4 layers125 × 150 mmAA2380V1, the printed circuit board in 3D

    AA2380V1

    OneAudio/OSVA

    Open source versatible analyzer (24bits 1.536MSPS 2 Channels)

    440 parts11GPL-3.0
  • 4 layers125.6 × 75 mmMIMO SAR RADAR, the printed circuit board in 3D

    MIMO SAR RADAR

    siru409/Dilf-seeker

    A near field multi beam ultra wideband fmcw radar detector using a novel near field focussed rotman lens

    277 parts
  • 6 layers70 × 80 mmCm5-carrier v2, the printed circuit board in 3D

    Cm5-carrier v2

    ben5049/cm-carrier-hardware

    Compact CM5 carrier board with an M.2 E-key connector and a 1000BASE-T1 Ethernet PHY, as well as other optional IO.

    334 parts1AGPL-3.0
  • 4 layers288 × 135.4 mmKeyboard v2, the printed circuit board in 3D

    Keyboard v2

    ben5049/Keyboard

    Features: - Wireless - 900mAh battery - Bluetooth (nRF52) - ZMK - 4 Port USB hub - BLDC Knob for haptic feedback - Kailh Choc V1 switches

    344 parts1Apache-2.0
  • 2 layers148.9 × 97.5 mmPereda choc, the printed circuit board in 3D

    Pereda choc

    YikeStone/pereda-kbd

    Pereda is a custom wireless mechanical keyboard designed for Kailh Choc V1 switches.

    51 parts1
  • 2 layers72 × 72 mmAir quality pcb v6, the printed circuit board in 3D

    Air quality pcb v6

    NilsEngelbach/air-quality-pcb

    Seventh iteration: ESP8266 → ESP32-C3 (native USB, no UART bridge), fixes from the v6 design review, right-angle switches with longer actuators, a STEMMA QT port for optional sensors, and charge-status sensing.

    72 parts

Questions

How big is the Eeg PCB?

It measures 67.3 × 41.7 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Eeg use?

147 parts, built around the STM32H730VBT6, MCP602-I/P, TPS62162QDSGRQ1 and LT3042IMSE#PBF. 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 Eeg KiCad files?

From the stephan-biomedical-engineer/Electroencephalogram repository on GitHub, at the commit this page was made from: the board is hardware/eeg.kicad_pcb and its schematic hardware/afe.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Eeg design in my own project?

Its repository states no licence, so its author keeps all rights: ask stephan-biomedical-engineer before reusing the design.