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.

Condom And Catheter Team Up To Save New Mothers’ Lives

The title is sure to draw a snicker from some readers, but the purpose of this field-expedient treatment for postpartum hemorrhage is deadly serious, and a true medical hack that has the potential to save the lives of new mothers.

Postpartum hemorrhage is the leading cause of death during pregnancy, claiming about 86,000 women every year. While it can occur up to six weeks after giving birth, PPH is most serious immediately after delivery and can require aggressive treatment to prevent hypovolemic shock and eventual death. A fully equipped obstetrical suite will have access to an array of medications and devices to staunch the flow, including a uterine balloon tamponade (UBT) kit. But at $400 a kit, these devices are hard to come by in the developing world.

Not to be dissuaded, midwife [Anne Mulinge] from Nairobi, Kenya created a simple, cheap substitute using common items. A common urinary catheter is covered with an ordinary condom, the end of which is secured around the catheter with twine. Once inserted into the woman’s uterus, the condom is filled with saline solution through the catheter, expanding the condom and applying direct pressure to the bleeding uterine walls. The pressure allows the mother’s clotting mechanism to catch up with the decreased blood flow.

So far, [Anne] claims the device has saved three new mothers, and other midwives are being trained in the technique. Here’s hoping that more lives are saved with this simple hack, and perhaps with this more complex one designed to get blood to remote clinics as fast as possible.

Thanks to [LP Bing] for the tip.

Movie Encoded In DNA Is The First Step Toward Datalogging With Living Cells

While DNA is a reasonably good storage medium, it’s not particularly fast, cheap, or convenient to read and write to.

What if living cells could simplify that by recording useful data into their own DNA for later analysis? At Harvard Medical School, scientists are working towards this goal by using CRISPR to encode and retrieve a short video in bacterial cells.

CRISPR is part of the immune system of many bacteria, and works by storing sequences of viral DNA in a specific location to identify and eliminate viral infections. As a tool for genetic engineering, it’s cheaper and has fewer drawbacks than previous techniques.

Besides generating living rickrolls and DMCA violations, what is this good for? Cheap, self-replicating sensors. [Seth Shipman], part of the team of scientists at Harvard, explains in an interview below a number of possible applications. His focus is engineering cells to act as a noninvasive data acquisition tool to study neurobiology, for example by using engineered neurons to record their developmental history.

It’s possible to see how this technique can be used more broadly and outside an academic context. Presently, biosensors generally use electric or fluorescent transducers to relay a detection event. By recording data over time in the DNA of living cells, biosensors could become much cheaper and contain intrinsic datalogging. Possible applications could include long-term metabolite (e.g. glucose) monitors, chemical detectors, and quality control.

It’s worth noting that this technique is only at the proof of concept stage. Data was recorded and retrieved manually by the scientists into the bacterial genome with 90% accuracy, demonstrating that if cells can be engineered to record data themselves, accuracy and capacity are high enough for practical applications.

That being said, if anyone is working on a MEncoder or ffmpeg command line option for this, let us know in the comments.

Continue reading “Movie Encoded In DNA Is The First Step Toward Datalogging With Living Cells”

Flying Defibrillators

It’s a sad reality that, by and large, cardiopulmonary resuscitation (CPR) doesn’t save lives. Despite all the “you could save a life” marketing aimed at getting people certified in CPR, the instances where even the prompt application of the correct technique results in a save are vanishingly rare, and limited mostly to witnessed arrests in a hospital. Speaking from personal experience, few things are sadder than arriving on-scene as a first responder to see CPR being performed by a husband on his wife and knowing that no matter what we do, it’s not going to end well.

The problem is one of time. Hearts only rarely just stop beating outright; usually some kind of arrhythmia first causes the heart to beat ineffectively, leading to hypoxia and loss of consciousness. From there it’s about a four-minute trip to brain death, but in that brief window chances are pretty good that the heart can be restarted. That’s why witnessed cardiac arrests in a hospital have better survival rates — the needed electric reboot of the heart with a defibrillator is only as far away as the nearest crash cart.

The advent of the automatic external defibrillator (AED) has increased the odds for survival of out-of-hospital cardiac arrest (OHCA), but the penetration of AEDs into public settings is far from complete enough to put one within a few minutes reach of everyone who might need one. So it’s only natural that thoughts would turn to delivering AEDs to cardiac incidents by drones. It seems like a great idea, but will it work? Continue reading “Flying Defibrillators”

Best Product Entry: A HSDK For Ultrasound Imaging

As an entry into this year’s Best Product portion of the Hackaday Prize, [kelu124] is developing a hardware and software development kit for ultrasound imaging.

Ultrasound is one of the primary tools used in modern diagnostic medicine. Head to the doctor with abdominal pain, and you can bet you’ll be seeing the business end of an ultrasound system. While Ultrasound systems have gotten cheaper, they aren’t something everyone has in the home yet.  [kelu124] is working to change that by building a hardware and software development kit which can be used to explore ultrasound systems. This isn’t [kleu124’s] first rodeo. HSDK builds upon and simplifies Murgen, his first open source ultrasound, and an entry in the 2016 Hackaday prize. [kelu124’s] goal is to “simplify everything, making it more robust and more user-friendly”.

The system is driven by a Raspberry Pi Zero W. A custom carrier board connects the Pi to the pulser block, which sends out the ultrasonic pings, and the analog front end, which receives the reflected signals. The receiver is called Goblin, and is a custom PCB designed [kelu124] designed himself. It uses a variable gain amplifier to bring reflected ultrasound signals up out of the noise.

A system like this would be a boon both to hackers and medical professionals working in the field. Ultrasonics can do more than just imaging. You can decrease healing time with ultrasonics, or even levitate things!

Using A Thermal Camera To Spot A Broken Wrist

Chemist and Biochemist [Thunderf00t] has shown us a really interesting video in which you can spot the wrist he broke 10 years ago using a thermal camera.

He was on an exercise bike while filming himself on a high-resolution thermal camera, As his body started to heat up he noticed that one hand was not dumping as much heat as the other. In fact one was dumping very little heat. Being a man of science he knew there must be some explanation for this. He eventually came to the conclusion that during a nasty wrist breaking incident about 10 years ago it must have affected the blood-flow to that hand, Which would go on to produce these type of results on a thermal camera while exercising.

Using thermal camera’s to spot fractures in the extremities is nothing new as it has the benefit of eliminating radiation exposure for patients, But it’s not as detailed as an X-ray or as cool as fluoroscopy and is only useful for bones near the surface of the skin.  It’s still great that you can visualize this for yourself and even after 10 years still notice a significant difference.

Continue reading “Using A Thermal Camera To Spot A Broken Wrist”

Using Machine Learning To Cut Down Surgical Videos

Recording video of medical surgeries is a great way to both educate doctors in training and identify process improvements. However, surgeries can be very time consuming, and it can be a gargantuan task to sort through endless hours of video searching for relevant points where the action happens. To tackle this issue, researchers at MIT have used machine learning techniques to analyse videos of surgical procedures.

There’s some fairly serious mathematics behind this sort of videographic analysis.

The machine learning algorithm needed to be trained to identify the relevant parts of surgical videos. To do this, the laparoscopic surgeries being investigated were split up into distinct stages, each relating to a different part of the surgical process. Researchers would then watch recordings of prior surgeries and mark the start of each stage. This data was used to train the model which was then used to sift through other recordings to capture the key moments of each surgery.

The time-saving advantages of such technology could be applied to a great many fields – such an algorithm could be put to great use to sort through hours of uneventful security footage looking for anomalies, or rapidly cut together holiday footage so you only have to see the good parts. We’d love to see the researchers release footage showing the algorithm’s work – thus far, all we have to go off is the project paper.

If you’re thirsty for more machine learning knowledge, read up on the state of working with neural networks in 2017.