Open-Source-Ventilator icon indicating copy to clipboard operation
Open-Source-Ventilator copied to clipboard

Pressure measurement

Open GoDotMad opened this issue 4 years ago • 1 comments

what is the right way to add a different pressure sensor than yours. I assume I should store the reading in relPressure variable but I ask just to be sure.

and how do you manage to keep a peep pressure if the ambu bag release pressure immediately after you stop moving the motor.

GoDotMad avatar May 04 '20 02:05 GoDotMad

You should comment out #define BoschBMxSensor and replace the code within the defines with your own code. The code is mainly located in readSensors() and detectSensors() If your sensor is absolute, the library you use must output the calibrated pressure in Pa (the code translates it to cm H2o). If you use a relative pressure sensor, yous can set the ambient pressure to a constant: ee.ambientPressure = defaultAmbientPressure; then you can add defaultAmbientPressure to the measured value.

PEEP pressure is kept using a peep valve. here is an example of such a valve: https://www.ambu.com/emergency-care-and-training/resuscitators/product/peep-valves

For tests, I made a 3D printed 'peep valve', you'll find it in the 3D-Print directory, the name is "Foam Peep Valve.FCStd" for the FreeCAD source and the 3 STL parts ready to print. The flat rectangle must be wrapped with elastic material (I used a piece of party balloon) and a piece of foam must be added behind it. It's not very precise, but does the job.

ermtl avatar May 10 '20 22:05 ermtl