

PogoAdapter
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.mdSyringe-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
| Area | Contents |
|---|---|
| docs | Report, architecture notes, protocol notes and project catalog |
| firmware | ESP32 and STM32 firmware area |
| software/gui | Main desktop control interface, main_gui.py |
| software/tools | BLE terminal, CSV visualizer and Python dependency notes |
| hardware | KiCad boards, custom libraries and board documentation |
| analysis/matlab | Measurement interpolation and resistance-analysis scripts |
| data/measurements/raw | Original experimental CSV measurements |
| mechanical/renders | Syringe assembly render |
| archive | GUI prototypes and duplicate/legacy experiments |
| docs/references/datasheets | Component reference documents |
| archive/sensor-sdp800 | Sensor 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:
streamlit run software/tools/visualizer.pyIts 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
- Project catalog
- Communication protocol notes
- Project report
- Code-flow diagram
- Firmware pseudocode
- Assembly render
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | CPG-47-TH-B | pogo:CPG47THB | J1, J2, J3, J4, J5, J6 |
| 4 | MountingHole_Pad_MP | mountHole:mountHole_1.8mm | H1, H2, H3, H4 |
| 1 | 1K | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1 |
| 1 | Conn_01x06 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-6-2.54_1x06_P2.54mm_Horizontal | J7 |
| 1 | LED | LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D1 |
| 1 | LOGO | LOGO | G*** |
More from RisottoRis8/Breath_Simulator
2- 4 layers148.8 × 100 mm

- 4 layers100 × 100 mm

Similar boards
- 2 layers116.8 × 30 mm

Type d
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
14 parts3kApache-2.0 - 2 layers32 × 22 mm

- 2 layers34 × 45 mm

2032Charger
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
14 parts915 - 2 layers34 × 109.9 mm

- 2 layers45.3 × 42.7 mm

- 2 layers42.5 × 28.8 mm

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 layers54 × 47 mm

- 2 layers62 × 24 mm

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.