Low-Cost Open Source Ventilator or PAPR

Overview

Last updated 2020/04/19

Full System

Low-Cost Open-Source Ventilator-ish Device or PAPR

NOTE: This is currently an independent project not affiliated with any commercial institution.

  • In the event that COVID-19 hospitalizations exhaust the availability of FDA approved ventilators. This project documents the process of converting a low-cost CPAP (Continuous Positive Airway Pressure) blower into a rudimentary non-invasive pressure support ventilator that could help with breathing during respiratory distress. It's an evolving project, but in it's current form, it most aligned with the definition of a non-invasive pressure support BiPAP ventilator.
  • This same project can also be used to create a reasonable low-cost Powered Air Purifying Respirator (PAPR) with filter adapter and mask. PAPRs are effective pieces of Personal Protective Equipment (PPE) that could be helpful to caregivers. PAPRs will also be in extremely short supply and are much less risky and controversial than a DIY ventilator. You may be able to save many more lives by building a PAPR that protects a caregiver than a mediocre ventilator for one patient. Unless you are able to participate in the detailed engineering and medical discussions regarding mitigating the risks of high pressure ventilation, I would highly recommend focusing on the PAPR version of this build.

WARNING/DISCLAIMER: Whenever possible, please seek professional medical care with proper equipment setup by trained individuals. Do not use random information you found on the internet. I am not a medical professional, just a random person putting information on the internet. There are significant risks associated with using a high pressure BiPAP as a DIY ventilator without medical supervision.

What are the primary risks of a DIY ventilator?

  • Being viewed as a viable alternative to available professional care or delaying seeking professional care. This should be viewed as an educational resource or a last resort option only. Community driven engineering efforts like this run the risk of making it "too easy to be harmful" which would be a bad outcome.
  • Using non-invasive interfaces (such as masks and mouth pieces) can create aerosolized virus infecting many others in clean environments. Infecing yourself or other healthy individuals multiplies the problem. Usage should be restricted to places where aerosolized viruses are already abundant (lots of unmasked symptomatic individuals), COVID wards, or in isolation. NOTE: Self-quarantine in an apartment or multi-unit residence is NOT proper isolation due to potential shared ventilation and sewage.
  • Giving too high a pressure (such as 20cmh2o and up) without observing lung compliance can cause rupture of infected lung tissue. This design currently lacks several features that provide enough feedback to a caregiver to monitor that risk.
  • See more detailed discussion of these risks and potential engineering/administrative controls to address them.

Too risky? Build a low-cost PAPR!

One more time, a low-cost Powered Air Purifying Respirator (PAPR) is highly valuable for caregivers, and may have much more positive impact than bulding a mediocre ventilator.

Want to build something without electronics? Consider building PPE

Hardware Requirements and Medical/Government Request for proposals:

Current Hardware Capabilities

  • This rudimentary design can have a programmable breathing rate (ex: 10-16/min)
  • It can have a programmed Positive End-Expiratory Pressure (PEEP)
  • The blower is physicially able to hit a peak airway pressure of up to 45cmh2o. However, going above 20cmh2o can be DANGEROUS.
  • It cannot yet hit a target tidal volume. What level of accuracy in volume would be sufficient? 100mL? 10mL?
  • It does not regulate fractional oxygen (FiO2). But, a down stream connection to an O2 tank is possible to boost O2 concentration with manual flow adjustment. I could use a pointer to a low cost O2 sensor.
  • It is lacking in many other ways, but it is possible that this limited functionality could be helpful when better care is not available. It is also a starting point for making progress. Critical features can be added over time.

Here's a youtube video walking through the components as of 2020/03/17: Youtube video

There are also many other efforts in this direction. Here's a short list of them Thanks! discussion

To Do's - aka Things I could use help with

I've moved the To Do's to a Wiki so it is easier to update. Please check there if you are interested in helping. Thanks to those that already have!

To provide comments/feedback/offer help, create a new issue on the project. Thanks!

Useful References/Docs about the supply shortages, and guidance around unapproved devices:

There is a growing list of useful documents around guidance for use of unapproved equipment, and information around estimated shortages of both ventilators and personal protective equipment. We have moved them to References Wiki to enable better updates to make it easier to maintain.

Materials

  1. Continuous Positive Airway Pressure (CPAP) devices are commonly used by individuals to treat sleep apnea. As a result, CPAP blower components are fairly abundant. Used ones are available on eBay and new ones on Alibaba. In many of these devices, the blower is a simple BLDC motor that can be driven with an Electronics Speed Controller (ESC) used by quadrotors and RC cars. The one I used is pulled from a Respironics REMStar. In volume, these blower components can be under $20.
  1. Arduino Compatible Nano/Clone to control the motor speed, breathing cycles, and handle user input. Download the Arduino IDE to program the microcontroller software.

  2. Brushless DC Motor Electronic Speed Controller capable of at least 10A.

  3. Button or switch for input control. The code cycles through 5 levels of pressure. Double click to switch between CPAP and BiPAP/Fixed PEEP mode.

  4. 12v DC power supply that can handle at least 5A. The blower works pretty hard, and the breathing cycles can create voltage drops which will reset the Arduino if the supply is not strong enough.

  5. Tubing and face mask. If you search for CPAP face mask, you'll find many options/suppliers. A full face mask that covers both the mouth and nose will enable pressure buildup in the lungs. As an alternative, see below for draft 3D printable parts.

  6. Optional inline 12v battery backup.

Building

This is the full system with mask, tubing, pump, 12v battery, and switch for input. However, I would strongly recommend running this with a DC power supply since the battery will only last about 3-4 hours. Wearing the mask with a dead battery could cause dangerous CO2 build up. This particular battery can charge and supply power at the same time, acting as an inline battery backup to wall power.

Full System

Below is a close up of the extracted blower. It is simply a BLDC motor driving a blower fan. A small ESC and Arduino are attached (technically a Teensy2.0++, but the code has now been changed to an Arduino Nano). It has a 3d printed tapered hose adpater on it to fit in the hose. The microcontroller software can be programmed with the Arduino IDE. The software goes through a short initialization sequence to configure the ESC; it then starts at the lowest CPAP setting. You can use the switch to cycle through pressure levels, and double click to cycle through operating modes.

Extracted CPAP Blower

Here is the schematic for the electronics. As you can see, it is very simple with only a few parts. A slightly modifed version that is able to sense the blower current is here. schematic

Face mask / Tube Adapter

Since I have a CPAP, I happen to have a Resmed AitFit F20 mask that I can use. This is quite comfortable and covers both the nose and mouth to make a good seal. However, if you can't get a mask, below is a prototype mouthguard that fits in the category of not-so-great-but-usable-if-you-have-a-lot-of-tape. I am using some elastic straps as head gear. However, in order to get a good air seal to get enough positive pressure, this would require some tape. A little bit of leakage is actually desirable to allow CO2 to escape near the mouth and nose to flush out the air over time; this prevents CO2 from being stuck in the tube. WARNING: wearing this sealed to the mouth with tape without power may cause dangerous CO2 build up.

Download the [3D model] [Fusion 360 link].

Mouth Guard Mouth Guard model

Pressure Testing

This is a picture of my test rig to measure the output pressure. It is a U-shaped tube with an attached measuring tape to check displacement of water. The actual liquid displacement is 2x the measured line since liquid is being pushed downwards an equal amount on the other side of the U, doubling the displacement. (I think this is the correct way to measure). At full blast at 12v, it is achieving 45cmh2o. WARNING: Going above 20cmh2o can be DANGEROUS. So, these blowers are plently powerful.

Pressure measurement fixture

Here are some images showing the dislacement of the liquid at different speeds. I happen to have Diet Dr. Pepper on hand which makes it easier to see the liquid level rather than just plain water.

3cm 6cm 11cm 22.5cm

Here's a video of the blower pushing a breathing cycle of 16 cycles/min oscilating between 12 and 22cmh2o.

Air Filtration - PAPR Option

An open air blower into someone's airway isn't great. If possible, some filtration is preferred. These parts were originally used for a DIY Powered Air Purifying Respriator (PAPR). However, adding a filter will definitely affect the output pressure. It will depend on the blower you have if the motor can handle the additional load. Given the headroom of the blower I tested, these CPAP blowers can probably handle the filter and still hit the target pressure. However, I haven't done long term thermal testing at high pressure and with a strong filter. These adapter plates can be attached with liberal amounts of hot glue and wrapping the unit in vinyl tape to get a reasonably airtight seal. My blower's enclosure was not air-tight, so it is difficult to guarantee that 100% of the air is coming only through the filter. Setting the blower to a low CPAP pressure, and leaving the face mask vent holes open will allow it to function reasonably as a PAPR.

3M Apart 3M attached

NATO Apart NATO attached

Update Log

Click here to see updates.

Owner
Johnny Lee
Johnny Lee
commandline version of wordle game and my auto solver.

Wordle Machine (and Wordle Game) (in commandline) My implementation of the Wordle game (inspired by https://www.powerlanguage.co.uk/wordle/) and my in

Kevin Xu 11 Jan 03, 2023
Bonjour Software pypahe is a Python Package Helper command-line tool.

pypahe Bonjour Software pypahe is a Python Package Helper command-line tool. Requirements Docker runtime Usage print the latest available version of a

Bonjour Software 0 Aug 10, 2021
🌈 Generate color palettes based on Neovim colorschemes.

Iris Iris is a Neovim plugin that generates a normalized color palette based on your colorscheme. It is named for the goddess Iris of Greek mythology,

N. G. Scheurich 45 Jul 28, 2022
A minimal ascii-representation of your local weather.

Ascii-Weather A simple, ascii-based weather visualizer for the terminal. The ascii-art updates to match the current weather and conditions. Uses ipinf

Aaron R. 12 Jan 29, 2022
Textual: a TUI (Text User Interface) framework for Python inspired by modern web development

Textual Textual is a TUI (Text User Interface) framework for Python inspired by

17.1k Jan 04, 2023
Regis-ltmpt-auto - Program register ltmpt 2022 automatis

LTMPT Register Otomatis 2022 Program register ltmpt 2022 automatis dibuat untuk

1 Jan 13, 2022
Command-line tool to use LNURL with your LND instance

Sprint planner Sprint planner is a Python script for planning your Jira tasks based on your calendar availability. Installation Use the package manage

Djuri Baars 6 Jan 14, 2022
Terminal with builtin ortholinear keyboard and touch screen as a home automation interface.

OLKB-Terminal Terminal with builtin ortholinear keyboard and touch screen as a home automation interface. Features Step and STLs available for non-com

Jeff Eberl 50 Oct 07, 2022
Apple Silicon 'top' CLI

asitop pip install asitop What A nvtop/htop style/inspired command line tool for Apple Silicon (aka M1) Macs. Note that it requires sudo to run due to

Timothy Liu 1.2k Dec 31, 2022
Seamlessly run Python code in IPython from Vim

Seamlessly run Python code from Vim in IPython, including executing individual code cells similar to Jupyter notebooks and MATLAB. This plugin also supports other languages and REPLs such as Julia.

Hans Chen 269 Dec 20, 2022
Zecwallet-Python is a simple wrapper around the Zecwallet Command Line LightClient written in Python

A wrapper around Zecwallet Command Line LightClient, written in Python Table of Contents About Installation Usage Examples About Zecw

Priveasy 2 Sep 06, 2022
Analysis of a daily word game "Wordle"

Wordle Analysis of a daily word game "Wordle" https://www.powerlanguage.co.uk/wordle/ Description Worlde is a daily word game in which a player attemp

Bartek 1 Feb 07, 2022
A simple and easy-to-use CLI parse tool.

A simple and easy-to-use CLI parse tool.

AbsentM 1 Mar 04, 2022
Example of a CLI with python - know the extension of your files.

extensionCLI Example of a CLI with python - know the extension of your files. Usage: Install the CLI: pip3 install -e . Run the command with "ext" + t

ItanuRomero 5 Dec 29, 2022
🌍 Harness the power of whatsmydns from the command-line.

chkdns Harness the power of whatsmydns from the command-line. Installing with pip pip install chkdns Run chkdns --host github.com Alternatively you ca

Craig Gumbley 3 Oct 29, 2022
Chameleon is yet another PowerShell obfuscation tool designed to bypass AMSI and commercial antivirus solutions.

Chameleon is yet another PowerShell obfuscation tool designed to bypass AMSI and commercial antivirus solutions. The tool has been developed as a Python port of the Chimera project, by tokioneon_.

332 Dec 26, 2022
Personal and work vim 8 configuration with submodules

vimfiles Windows Vim 8 configuration files based on the recommendations of Ruslan Osipov, Keep Your vimrc file clean and The musings of bluz71. :help

1 Aug 27, 2022
tox-server is a command line tool which runs tox in a loop and calls it with commands from a remote CLI.

Tox Server tox-server is a command line tool which runs tox in a loop and calls it with commands from a remote CLI. It responds to commands via ZeroMQ

Alexander Rudy 3 Jan 10, 2022
Themes for Windows Terminal

Windows Terminal Themes Preview and copy themes for the new Windows Terminal. Use the project at windowsterminalthemes.dev How to use the themes This

Tom 1.1k Jan 03, 2023
An ZFS administration tool inspired on Midnight commander

ZC - ZFS Commander An ZFS administration tool inspired on Midnight commander Work in Progress Description ZFS Commander is a simple front-end for the

34 Dec 07, 2022