Skip to the content
2 layers88.9 × 78.2 mmMYOSA breakout, the printed circuit board in 3D

This repo constitutes our team's submission to the 2026 IEEE MYOSA event.

Size
88.9 × 78.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
37
Pads
78
Tracks, vias
84, 4
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Aug 2026
Updated
24 Oct 2026

Overview

MYOSA breakout is an open-source printed circuit board by aidanmacro, from the aidanmacro/MYOSA-Breath-Activity-Monitoring-for-Musicians repository on GitHub, published under the MIT licence. It is a 2-layer board of 88.9 × 78.2 mm with 24 parts on 37 nets, routed with 84 tracks and 4 vias.

It is built around the IRLZ44N. Its parts include 2 ICs, 2 connectors and 1 transistor. It belongs with the interfaces and adapters boards of this library.

Main components

1

README

README.md

BreathSense - MYOSA Musical Breath Activity


Breathsense: a CO2 Detecting mouthpiece using MYOSA board and sensors.

Acknowledgements

  • Dr. Vincenzo Pusino
  • Ben Allen
  • University of Glasgow
  • University of Glasgow Technical Staff

Overview

Musicians rely heavily on breath control to shape dynamics, phrasing, tone and endurance, yet there are few accessible ways to measure breathing behaviour objectively during real performance. This project develops a real-time breath monitoring system designed specifically for musicians, using exhaled CO₂, pressure and temperature data to provide direct insight into how breath is being used while playing. The system is built around the MYOSA development board, providing an IoT-capable platform for sensor integration, wireless communication and real-time data logging. A custom Non-Dispersive Infrared (NDIR) CO₂ sensing system detects exhaled breath, while pressure and temperature measurements provide complementary information about breath activity and environmental variation. By combining these sensing methods with wireless data transmission and live visualisation, the project aims to provide musicians, teachers and researchers with a practical tool for analysing breath strength, timing and consistency during practice and performance.

Key Features
  • Custom NDIR CO₂ Sensor to allow most direct measurement.
  • Pressure sensor for additional cross validation data and enhanced insights.
  • Built on the MYOSA MCU platform, small enough to clip to a belt or pocket, streaming data live
  • On device OLED display for seeing quick analytics
  • Python based WiFi/IoT system enabling cloud computing for in depth real time signal processing.

Demo / Examples

Images


Closeup of MYOSA breakout board.


Mouthpiece attached to real instrument.

Videos

Features (Detailed)

1. NDIR CO₂ Sensing

The primary breath measurement is provided by a custom Non-Dispersive Infrared (NDIR) sensing system. CO₂ absorbs infrared radiation at specific wavelengths, so the concentration of CO₂ in exhaled breath can be inferred from the reduction in transmitted infrared light.

A mid-wave infrared (MWIR) LED is used as the optical source. The LED is pulsed rather than operated continuously, reducing average power consumption while also allowing the system to distinguish the desired optical signal from ambient infrared radiation and other sources of interference.

The emitted infrared light passes through the mouthpiece and the musician's exhaled breath before reaching a photodiode. As the concentration of CO₂ in the airflow changes, the amount of infrared radiation reaching the photodiode changes accordingly. The photodiode output is converted into a measurable voltage using an analogue front end before being sampled by the MYOSA board.

The system uses synchronous detection to improve the measurement. The photodiode is sampled in synchronisation with the LED pulses, allowing the signal measured when the LED is active to be compared with the background signal when it is inactive. This helps reject ambient infrared light and other sources of background variation.

The resulting CO₂ signal is used as a proxy for breath activity. Rather than attempting to measure the musician's breathing volume directly, the system provides a real-time indication of changes in exhaled CO₂ as the musician plays.

2. Pressure and Temperature Sensing

The optical CO₂ measurement is complemented by pressure and temperature measurements from a BMP180 sensor connected to the MYOSA board over I²C.

Pressure provides an independent measurement of activity within the mouthpiece. Changes in mouthpiece pressure can therefore be compared with the CO₂ signal to help distinguish genuine breath activity from changes or noise in the optical measurement.

Temperature is also recorded because the operating environment of the sensor can change during use. Monitoring temperature provides additional information for accounting for environmental variation and thermal drift in the measurements.

Combining the three measurements gives a more informative representation of breath activity than relying on the CO₂ channel alone.

3. Real-Time Breath Monitoring

The sensor data is processed into a real-time representation of the musician's breath activity. Changes in the measured CO₂ concentration can be visualised as a capnogram, allowing the user to observe the timing and relative strength of their breath while playing.

The pressure signal provides an additional reference alongside the CO₂ measurement, while temperature data can be used to identify environmental changes and compensate for drift.

This allows breath activity to be observed during actual playing rather than requiring the musician to perform a separate breathing test.

4. MYOSA Integration and Wireless Data

The sensing hardware is integrated with the MYOSA development board, which acts as the central controller for the system. The board controls the pulsed LED, reads the analogue CO₂ sensing circuitry, and communicates with the BMP180 over I²C.

The measurements are combined into a timestamped data stream and transmitted wirelessly to an external computer. This separates the sensing hardware from the visualisation system, allowing the musician to carry the relatively small sensing unit while viewing the measurements on a separate device.

Wireless transmission also allows measurements to be logged for later analysis rather than limiting the system to live monitoring.

5. Real-Time Visualisation

A Python and PyQt desktop application receives the wireless sensor data and displays the CO₂, pressure and temperature channels in real time.

The application performs additional signal processing and filtering before displaying the measurements, allowing the user to see changes in breath activity as they occur.

Session data can also be buffered for later review, making it possible to compare different playing sessions and examine breath behaviour beyond the immediate live display.

6. Potential Musical Application

By capturing quantifiable breath data during real playing, this system opens up several practical applications:

  • Practice feedback musicians can see how their breath support and timing align with phrasing, dynamics, and endurance across a piece, rather than relying on subjective feel alone.
  • Teaching aid instructors can use recorded breath data to give concrete, visual feedback on breath control technique, rather than description alone.
  • Endurance and consistency tracking repeated sessions can be compared over time to track improvements in breath efficiency or stamina for demanding passages.
  • Research objective breath-activity data across players/instruments could support studies into breath technique and fatigue in wind and brass performance.

Usage Instructions

The final version of the device is envisioned to work like so:

  • Attach mouthpiece to wind instrument and place MYOSA in pocket/hook to belt
  • Run accompanying app on phone/computing device
  • Allow hardware a few seconds unplayed to calibrate CO2 background level
  • Practise instrument as normal, playing along to sheet music on app
  • Compare breath activity in app in realtime and/or observe collected data at end of piece

Tech Stack

Hardware

ComponentPartRole
MCU / wirelessMYOSA development boardMaster controller — drives sensing, fuses data, streams wirelessly to host computer/Cloud
CO₂ emitterL15895-0430MA LEDPulsed mid-wavelength infrared (MWIR) source, tuned to a CO₂ absorption band
CO₂ detectorP16112-011MA photodiodeMeasures transmitted IR intensity after passing through the breath sample
Pressure / temperatureBMP180 (Minkit breakout)I²C sensor providing an independent breath-pressure signal and temperature compensation
Onboard display0.96" OLED Display (Minkit breakout)I²C enabled, providing on device quick insights for potential offline use
Mechanical3D-printed trombone mouthpieceDirects exhaled breath through the sensing chamber; mounts sensor package in the airflow path (Based on Popular Bach 12C Design)
PCBCustom board (see KiCAD/)Houses the analog front end and sensor interconnects
Analog Front End

The CO₂ channel is the most sensitive part of the hardware, since NDIR absorption signals are small relative to the raw photodiode output. The front end is built around a pulsed detection scheme:

  1. LED pulsing — the MWIR LED is driven in short pulses (rather than continuously) by the MYOSA board. Pulsing reduces average power draw and, more importantly, lets the readout distinguish the LED's signal from ambient IR and photodiode drift.
  2. Photodiode readout — the photodiode's current output is converted to a voltage via a transimpedance amplifier (TIA), since photodiode signals are typically too small and too high-impedance to read directly with an ADC.
  3. Filtering — the amplified signal is filtered to reject noise outside the LED's pulse frequency and suppress ambient light interference.
  4. Synchronous sampling — the MYOSA board samples the photodiode signal in sync with the LED pulse (on-pulse vs off-pulse), allowing the background/ambient signal to be subtracted from the CO₂-modulated signal. This differential approach is what makes the CO₂ absorption measurable despite a noisy optical environment.
  5. Digitisation — the conditioned analog signal is read via the MYOSA board's ADC and combined in firmware with the BMP180's I²C readings.

Software

Firmware — Arduino C++ (runs on MYOSA)

  • Drives LED pulse timing and synchronises photodiode ADC sampling with each pulse
  • Polls the BMP180 over I²C for pressure and temperature
  • Fuses CO₂, pressure, and temperature readings into a single timestamped data frame
  • Streams the fused data frame wirelessly to the host computer

Desktop application — Python + PyQt

  • Listens for the incoming data stream from the MYOSA board and parses each frame into CO₂, pressure, and temperature values
  • Does enhanced signal processing and filtering
  • Plots all three channels live using PyQt's graphing widgets, updating in real time as the musician plays
  • Buffers session data for post-session review, and (per the Usage Instructions) supports comparing breath activity against sheet music playback

Requirements / Installation

Dependencies are listed in requirements.txt — install with:

bash
pip install -r requirements.txt

User Interface run the current user interface using:

bash
python3 .\Code\app_code\Breathsense_GUI.py

Repository Structure

FolderContents
Code/Arduino C++ firmware for the MYOSA board (sensor reading, LED pulsing, I²C fusion, wireless streaming) and the Python/PyQt desktop visualisation app
KiCAD/PCB schematics and layout for the custom analog front end (NDIR CO₂ sensing circuitry)
Mechanical/3D-printable mouthpiece adapter design (based on a Bach 12C mouthpiece) that houses the sensor package in the airflow path

License MIT License

Copyright (c) 2026 aidanmacro

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Parts

24
QtyValueFootprintReferences
2200Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR_reg_LED1, R_Vin1
1100RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR_FET_Gate1
1100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR_FET_pulldown1
1100nCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC_ADC_cap1
1100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC_Vin1
11KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR_ADC_pulldown1
13.4RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR_series_MWIR_LED1
15V_TestPointTestPoint:TestPoint_Loop_D2.50mm_Drill1.85mmTP3
1Batt/PSU_switchButton_Switch_THT:SW_Slide-03_Wuerth-WS-SLTV_10x2.5x6.4_P2.54mmSW_BAT/PSU1
1BatteryBattery:BatteryHolder_MPD_BA9VPC_1xPP3BT1
1CCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC_3V3_out1
1Conn_01x05_SocketConnector_JST:JST_EH_S5B-EH_1x05_P2.50mm_HorizontalCON_LED_Photodiode1
1D24V22F5Aidan Custom Footprints:D24V22F5U2
1GND_TestPointTestPoint:TestPoint_Loop_D2.50mm_Drill1.85mmTP2
1IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1LEDLED_THT:LED_D5.0mm5V_Reg_LED1
1LED_Anode_TestPointTestPoint:TestPoint_Loop_D2.50mm_Drill1.85mmTP5
1PSU_9VConnector:Banana_Jack_1PinJ3
1PSU_GNDConnector:Banana_Jack_1PinJ4
1PWM_TestPointTestPoint:TestPoint_Loop_D2.50mm_Drill1.85mmTP1
1PhotoIn_TestPointTestPoint:TestPoint_Loop_D2.50mm_Drill1.85mmTP6
1USB/REG_switchButton_Switch_THT:SW_Slide-03_Wuerth-WS-SLTV_10x2.5x6.4_P2.54mmSW_USB1
1~MYOSA:MYOSA_ESP-32U1

More from aidanmacro/MYOSA-Breath-Activity-Monitoring-for-Musicians

4
  • 2 layers52.5 × 39.5 mmPhotodiode tia circuit v3, the printed circuit board in 3D

    Photodiode tia circuit v3

    aidanmacro/MYOSA-Breath-Activity-Monitoring-for-Musicians

    This repo constitutes our team's submission to the 2026 IEEE MYOSA event.

    15 partsMIT
  • 2 layers50.5 × 35 mmPhotodiode TIA Circuit v4, the printed circuit board in 3D

    Photodiode TIA Circuit v4

    aidanmacro/MYOSA-Breath-Activity-Monitoring-for-Musicians

    This repo constitutes our team's submission to the 2026 IEEE MYOSA event.

    15 partsMIT
  • 2 layers54.5 × 43 mmPhotodiode tia circuit v2, the printed circuit board in 3D

    Photodiode tia circuit v2

    aidanmacro/MYOSA-Breath-Activity-Monitoring-for-Musicians

    This repo constitutes our team's submission to the 2026 IEEE MYOSA event.

    9 partsMIT
  • 2 layers60 × 40 mmPhotodiode tia circuit v1, the printed circuit board in 3D

    Photodiode tia circuit v1

    aidanmacro/MYOSA-Breath-Activity-Monitoring-for-Musicians

    This repo constitutes our team's submission to the 2026 IEEE MYOSA event.

    7 partsMIT

Similar boards

  • 2 layers304.8 × 170.8 mm00Key, the printed circuit board in 3D

    00Key

    ZeroZeroOne-dev/00Key

    00Key a 75% keyboard

    268 parts241GPL-3.0
  • 2 layers94 × 79 mm5 - Lizard Car, the printed circuit board in 3D

    5 - Lizard Car

    TRD-B/Lizard

    3D printed RC race car with custom electronics

    54 parts129CC-BY-4.0
  • 2 layersMorpheus kicad, the printed circuit board in 3D

    Morpheus kicad

    pscrespo/Morpheus-STM32

    A small 3D printer controller board for use with a "blue pill" STM32F1 generic board. Inspired on http://reprap.org/wiki/SinapTec

    66 parts80GPL-3.0
  • 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 layers99.1 × 99.1 mmFlipDotDriver, the printed circuit board in 3D

    FlipDotDriver

    bitluni/FlippyFlip

    49 parts14
  • 2 layers64.8 × 109.2 mmDmx ledstrip dimmer-32ch, the printed circuit board in 3D

    Dmx ledstrip dimmer-32ch

    robinolejnik/dmx-ledstrip-dimmer-32ch

    Arduino Mini and TLC5940 based 32 channel 12V PWM dimmer with DMX512 and RDM support.

    105 parts14MIT
  • 2 layers101.6 × 53.3 mmBatteryAnalyzer MkII, the printed circuit board in 3D

    BatteryAnalyzer MkII

    Moragor/BatteryAnalyzer_MkII

    Updated Version of the battery analyzer, now with constant current

    25 parts12MIT

Questions

How big is the MYOSA breakout PCB?

It measures 88.9 × 78.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MYOSA breakout use?

24 parts, built around the IRLZ44N. 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 MYOSA breakout KiCad files?

From the aidanmacro/MYOSA-Breath-Activity-Monitoring-for-Musicians repository on GitHub, at the commit this page was made from: the board is KiCAD/projects/MYOSA_breakout/MYOSA_breakout.kicad_pcb and its schematic KiCAD/projects/MYOSA_breakout/MYOSA_breakout.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MYOSA breakout design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).