Ryobi Battery Hack Keeps CPAP Running Quietly

When it comes to cordless power tools, color is an important brand selection criterion. There’s Milwaukee red, for the rich people, the black and yellow of DeWalt, and Makita has a sort of teal thing going on. But when you see that painful shade of fluorescent green, you know you’ve got one of the wide range of bargain tools and accessories that only Ryobi can offer.

Like many of us, Redditor [Grunthos503] had a few junked Ryobi tools lying about, and managed to cobble together this battery-powered inverter for light-duty applications. The build started with a broken Ryobi charger, whose main feature was a fairly large case once relieved of its defunct guts, plus an existing socket for 18-volt battery packs. Added to that was a small Ryobi inverter, which normally plugs into the Ryobi battery pack and converts the 18 VDC to 120 VAC. Sadly, though, the inverter fan is loud, and the battery socket is sketchy. But with a little case modding and a liberal amount of hot glue, the inverter found a new home inside the charger case, with a new, quieter fan and even an XT60 connector for non-brand batteries.

It’s a simple hack, but one that [Grunthos503] may really need someday, as it’s intended to run a CPAP machine in case of a power outage — hence the need for a fan that’s quiet enough to sleep with. And it’s a pretty good hack — we honestly had to look twice to see what was done here. Maybe it was just the green plastic dazzling us. Although maybe we’re too hard on Ryobi — after all, they are pretty hackable.

Thanks to [Risu no Kairu] for the tip on this one.

CPAP Firmware Hack Enables BiPAP Mode; Envisions Use As Temporary Ventilator

Operating under the idea that a Constant Positive Airway Pressure (CPAP) machine isn’t very far removed electrically or mechanically from a proper ventilator, [Trammell Hudson] has performed some fascinating research into how these widely available machines could be used as life support devices in an emergency situation. While the documentation makes it clear the project is a proof of concept and is absolutely not intended for human use in its current state, the findings so far are certainly very promising.

For the purposes of this research, [Trammell] has focused on the Airsense S10 which currently retails for around $600 USD. Normally the machine is used to treat sleep apnea and other disorders by providing a constant pressure on the lungs, but as this project shows, it’s also possible for the S10 to function in what’s known as Bi-level Positive Airway Pressure (BiPAP) mode. Essentially this means that the machine detects when the user is attempting to inhale, and increases the air pressure to support their natural breathing.

Reflashing the firmware on the S10 CPAP

Critically, this change is made entirely through modifications to the S10 firmware. No additional hardware is required, and outside of opening up the device to attach an STM32 programmer (a process which [Trammell] has carefully documented), there’s nothing mechanically that needs to be done to the machine for it to operate in this breathing support function. It seems at least some of the functionality was already included via hidden diagnostic menus which can be enabled through a firmware patch.

As many of these CPAP machines feature cellular data connections for monitoring and over-the-air updates, [Trammell] believes it should be possible for manufacturers to push out a similarly modified firmware on supported devices. Of course, the FDA would have to approve of something like that before the machines could actually be used as emergency, non-invasive ventilators. They would also need to have viral filters installed and some facility for remote control added, but those would be relatively minor modifications.

Learn more about the efforts being put into ventilators right now. Start with this excellent hardware overview called Ventilators 101 and then take a look at some of the issues with trying to build a ventilator from scratch.

Ventilators 101: What They Do And How They Work

Treating the most serious cases of COVID-19 calls for the use of ventilators. We’ve all heard this, and also that there is a shortage of these devices. But there is not one single type of ventilator, and that type of machine is not the only option when it comes to assisted breathing being used in treatment. Information is power and having better grasp on this topic will help us all better understand the situation.

We recently wrote about a Facebook group focused on open source ventilators and other technology that could assist in the COVID-19 pandemic. There was an outpouring of support, and while the community is great when it comes to building things, it’s clear we all need more information about the problems doctors are currently dealing with, and how existing equipment was designed to address them.

It’s a long and complicated topic, though, so go get what’s left of your quarantine snacks and let’s dig in.

Continue reading “Ventilators 101: What They Do And How They Work”

Can A CPAP Fan Become A Ventilator?

Watching the hardware community respond to the global pandemic is a fascinating process, because of the breadth of projects being considered, and also because of the differing experiences and perspectives being brought to the table. Components most of us might have been unaware of are appearing, such as the CPAP blower used by [Jcl5m1] in his ventilator design.

He starts with a very necessary disclaimer against trusting a random person on the Internet on the subject of medical equipment design, and since it must be possible to do damage with an inappropriate ventilator we can only echo that. But as a CPAP user he’s familiar with their operation and parts, and he’s taken the centrifugal blower from one of them and paired it with a speed controller and an Arduino to provide an adjustable pressure.

What we take away from this is not in any way a ventilator that’s ready to be hooked up to sick patients, but an interesting look at ventilators in general, CPAP components, and the possibility that this project and others like it might eventually form the basis of something more useful if they attract the attention of people with more experience in the field. We’ve already seen 3D-printing used to make valves for a respirator at a hospital in Italy.

CPAP Monitor Alerts Wearer To Malfunctions

Continuous Positive Airway Pressure machines are a common treatment tool for sleep apnea and other respiratory issues. A common problem with their use is that the mask becomes dislodged during sleep, and thus fails to provide airway pressure to the patient. [Bin Sun] decided to take a stab at solving this problem.

The project consists of an Arduino fitted with a MPXV7002DP pressure sensor. The sensor is used to monitor the pressure in the CPAP pipes. If the pressure varies regularly, it is likely the system is working. If however, the pressure remains at a roughly constant level, that suggests the mask is no longer properly fitted to the wearer, or that there is another problem. In this event, the device sounds a buzzer to wake the wearer, alerting them to check the equipment.

It’s a simple solution to the problem, and something we’re surprised isn’t built into most CPAP machines from the factory. It’s important to be careful before modifying any medical equipment, though we see plenty of hackers taking the plunge to innovate in this area.

CPAP Hacked Into Super Charged 3D Printer Cooler

Of all the parts on your average desktop 3D printer, the nozzle itself is arguably where the real magic happens. Above the nozzle, plastic is being heated to the precise temperature required to get it flowing smoothly. Immediately below the nozzle there’s a fan blowing to get the plastic cooled back down again. This carefully balanced arrangement of heating and cooling is the secret that makes high quality fused deposition modeling (FDM) printing possible.

But as it turns out, getting the plastic hot ends up being easier than cooling it back down again. The harsh reality is that most of the fans small enough to hang on the side of a 3D printer nozzle are pretty weak. They lack the power to push the volume of air necessary to get the plastic cooled down fast enough. But with his latest project, [Mark Rehorst] hopes to change that. Rather than using some anemic little fan that would be better suited blowing on the heatsink of a Raspberry Pi, he’s using a hacked CPAP machine to deliver some serious airflow.

The brilliance of using a CPAP machine for this hack is two-fold. For one, the machine uses a powerful centrifugal fan rather than the wimpy axial “muffin” fans we usually see on 3D printers. Second, the CPAP pushes air down a lightweight and flexible hose, which means the device itself doesn’t have to be physically mounted to the printer head. All you need is manifold around the printer’s nozzle that connects up to the CPAP hose. This “remote” fan setup means the print head is lighter, which translates (potentially) into higher speed and acceleration.

[Mark] was able to connect the fan MOSFET on his printer’s SmoothieBoard controller up to the brushless motor driver from the CPAP motor, which lets the printer control this monster new fan. As far as the software is concerned, nothing has changed.

He hasn’t come up with a manifold design that’s really optimized yet, but initial tests look promising. But even without a highly optimized outlet for the air, this setup is already superior to the traditional part cooler designs since it’s got more power and gets the fan motor off of the print head.

Getting your 3D printed parts to cool down is serious business, and it’s only going to get harder as printers get faster. We wouldn’t be surprised if fan setups like this start becoming more common on higher-end printers.

Hackaday Prize Entry: CPAP Humidifier Monitor Alarm

CPAP (Continuous Positive Airway Pressure) machines can be life-changing for people with sleep apnea. [Scott Clandinin] benefits from his CPAP machine and devised a way to improve his quality of life even further with a non-destructive modification to monitor his machine’s humidifier.

With a CPAP machine, all air the wearer breathes is air that has gone through the machine. [Scott]’s CPAP machine has a small water reservoir which is heated to humidify the air before it goes to the wearer. However, depending on conditions the water reservoir may run dry during use, leading to the user waking up dried out and uncomfortable.

To solve this in a non-invasive way that required no modifications to the machine itself, [Scott] created a two-part device. The first part is a platform upon which the CPAP machine rests. A load cell interfaced to an HX711 Load Cell Amplifier allows an Arduino Nano to measure the mass of the CPAP machine plus the integrated water reservoir. By taking regular measurements, the Arduino can detect when the reservoir is about to run dry and sound an alarm. Getting one’s sleep interrupted by an alarm isn’t a pleasant way to wake up, but it’s much more pleasant than waking up dried out and uncomfortable from breathing hot, dry air for a while.

The second part of the device is a simple button interfaced to a hanger for the mask itself. While the mask is hung up, the system is idle. When the mask is removed from the hook, the system takes measurements and goes to work. This makes activation hassle-free, not to mention also avoids spurious alarms while the user removes and fills the water reservoir.

Non-invasive modifications to medical or other health-related devices is common, and a perfect example of nondestructive interfacing is the Eyedriveomatic which won the 2015 Hackaday Prize. Also, the HX711 Load Cell Amplifier has an Arduino library that was used in this bathroom scale refurb project.