Skip to the content
2 layers22.9 × 20.3 mmPogoAdapter, the printed circuit board in 3D

Progetti Ing Biomed

Size
22.9 × 20.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
7
Pads
20
Tracks, vias
21, 0
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
30 Mar 2026
Updated
25 Aug 2026

Overview

PogoAdapter is an open-source printed circuit board by RisottoRis8, from the RisottoRis8/Breath_Simulator repository on GitHub. It is a 2-layer board of 22.9 × 20.3 mm with 14 parts on 7 nets, routed with 21 tracks and 0 vias.

Its parts include 7 connectors, 1 resistor and 1 diode.

README

README.md

Syringe-Based Breathing Simulator

University biomedical engineering project developed by Gruppo Viola: a motorized syringe generates controlled air flow at its outlet. The system combines a BLDC motor with an ESCON 50/5 drive, encoder feedback, Sensirion pressure or mass-flow sensing, PID control, BLE communication and a desktop monitoring GUI.

This repository presents the final ESP32-based system together with its electronics, control software, measurement data and technical documentation. Earlier firmware, interface and hardware iterations are preserved separately as supporting development history.

System overview

The final firmware runs on an ESP32 and coordinates:

  • flow sensing through SDP810 or SFM3300 devices;
  • motor control through the ESCON driver;
  • incremental encoder feedback and homing signals;
  • PID regulation of the generated flow;
  • external SPI EEPROM storage;
  • HM-10 compatible BLE telemetry and commands.

The final architecture is supported by a custom control board and a desktop BLE interface. Earlier STM32 and ESP32 bridge implementations are preserved as development iterations.

Repository map

AreaContents
docsReport, architecture notes, protocol notes and project catalog
firmwareESP32 and STM32 firmware area
software/guiMain desktop control interface, main_gui.py
software/toolsBLE terminal, CSV visualizer and Python dependency notes
hardwareKiCad boards, custom libraries and board documentation
analysis/matlabMeasurement interpolation and resistance-analysis scripts
data/measurements/rawOriginal experimental CSV measurements
mechanical/rendersSyringe assembly render
archiveGUI prototypes and duplicate/legacy experiments
docs/references/datasheetsComponent reference documents
archive/sensor-sdp800Sensor sample-code project and documentation

The detailed working inventory is in docs/PROJECT_CATALOG.md.

Final system

  • Controller: firmware/esp32/main coordinates sensing, encoder feedback, motor actuation, PID flow regulation, EEPROM storage and BLE communication.
  • Control interface: software/gui/main_gui.py provides BLE discovery, connection management, real-time flow/position/PWM plots, operating modes, calibration controls, logging and emergency stop.
  • Electronics: hardware/motherboard-r2 and hardware/pogo-adapter contain the KiCad designs for the control board and sensor adapter. The original motherboard design is preserved as motherboard-r1.
  • Validation data: data/measurements/raw contains the experimental acquisitions used during characterization and analysis.

Communication status

The final ESP32 interface uses an HM-10-compatible BLE service (FFE0/FFE1) and telemetry frames in the form SNSR <flow> <encoder_position> <pwm>. The communication details are summarized in docs/protocol.md.

The earlier Nordic UART bridge and STM32 variants remain available in archive as development iterations and are not part of the primary ESP32 control path.

Running the Python tools

The main GUI requires Python packages including PyQt6, pyqtgraph, bleak and qasync. The BLE terminal declares its dependency in requirements-ble.txt.

The CSV visualizer is a separate Streamlit utility:

text
streamlit run software/tools/visualizer.py

Its expected columns are Timestamp_s and Pressione_Pa; the raw measurements commonly use Time_s and Pressure_Pa, so they are not directly interchangeable yet.

Firmware and hardware

The Arduino ESP32 sketch is located in firmware/esp32/main and uses the local NimBLE-Arduino library in firmware/esp32/libraries.

KiCad source files are separated from local state, backups and manufacturing exports. The root .gitignore excludes regenerable artifacts while keeping source schematics, PCB files, custom libraries and experimental measurements available for review.

Project documentation

Development history

Previous ESP32 sketches, STM32 firmware, BLE bridges and GUI prototypes are preserved in archive. They document the iterations that led to the final ESP32 architecture, while the project entrypoints above describe the system delivered by the team.

Parts

14
QtyValueFootprintReferences
6CPG-47-TH-Bpogo:CPG47THBJ1, J2, J3, J4, J5, J6
4MountingHole_Pad_MPmountHole:mountHole_1.8mmH1, H2, H3, H4
11KResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1
1Conn_01x06TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-6-2.54_1x06_P2.54mm_HorizontalJ7
1LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1
1LOGOLOGOG***

More from RisottoRis8/Breath_Simulator

2
  • 4 layers148.8 × 100 mmMotherboard, the printed circuit board in 3D

    Motherboard

    RisottoRis8/Breath_Simulator

    Progetti Ing Biomed

    111 parts1
  • 4 layers100 × 100 mmMotherboard rev2, the printed circuit board in 3D

    Motherboard rev2

    RisottoRis8/Breath_Simulator

    Progetti Ing Biomed

    79 parts1

Similar boards

  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

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

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0
  • 2 layers62 × 24 mmMai button, the printed circuit board in 3D

    Mai button

    whowechina/mai_pico

    Pico controller for Maimai

    14 parts475

Questions

How big is the PogoAdapter PCB?

It measures 22.9 × 20.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PogoAdapter use?

14 parts. 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 PogoAdapter KiCad files?

From the RisottoRis8/Breath_Simulator repository on GitHub, at the commit this page was made from: the board is hardware/pogo-adapter/pogoAdapter.kicad_pcb and its schematic hardware/motherboard-r1/ESCON50_5_sch.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PogoAdapter design in my own project?

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