We choose an Orange Pi 5 as a platform for a 3 channel gold standard ECG device & spirometer for the reasons we indicated on www.petergamma.org. The Orange Pi 5 is bulky, but still better than the iWorx TA 220:
We are physiologist and not soft- and hardware developers. We have already listed all components how to build such a device. We have discussed the hardware in depth.
From the software site, we need:
- HeartPy
- a software to measure respiration rate from an iWorx spirometer
- HeartPy can easily be used on an Orange Pi 5.
- Software to measure respiration rate from a spirometer requires a software which detects peaks.
- To measure respiration rate (breathing rate) from a spirometer trace, count the number of peaks or troughs in a one-minute interval. One complete breath equals the distance from one peak to the next peak on the recorded graph. [1]
- Reading the Trace
– - One Breath: Look at a single wave cycle; the top point is a peak and the bottom point is a trough.
- Time Scale: Check the moving chart or horizontal axis to find a 60-second (one-minute) block.
- Count: Total the number of peaks that happen inside that one-minute window to get breaths per minute. [1, 2]
Example Calculation- - If you see 9 peaks in a 60-second span, your respiration rate is 9 breaths per minute.
- For a normal resting adult, rates typically range between 12 and 20 breaths per minute. [1, 2, 3]
https://www.google.com/search?client=ubuntu-sn&hs=vTn&sa=X&sca_esv=2c719d755bc25006&channel=fs&udm=7&fbs=ABfTbFUyxjQn9bne4DuflY2dNqqKupTsDwp6RXwpQFJxPysO9IZ-OcP6xq64A4yNP8lBdpbV1NcW6cxeRROTFTHTKwOqDjWNGJkd7gEr3KwTkPk0UoDBnxQ3J5HkgKbFwYmwvJAkynUczpEbvmxO-Tqt1mijF-0aynGVdqphSRSAxz6lE92I3-_xCjeB6NnNOZQg8lhk6m7Z&q=measure+respiration+rate+from+a+spirometer&ved=2ahUKEwjOgfzOlPqVAxWY0QIHHYoXLEcQtKgLegQIFRAB&biw=1120&bih=538&dpr=1.71
measure respiration rate from a spirometer, look for a paper which publishes an algorithm