Minimal oximetery hardware

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
zorglub
Posts: 5
Joined: Sat Feb 08, 2014 10:27 am

Minimal oximetery hardware

Post by zorglub » Sat Feb 08, 2014 11:27 am

I'd like to record multiple sessions of SPO2, perfusion, and pulse rate. Most of the hardware I've looked at is more complicated than I'd like, captures only a single session, and seems to require Windows software. Those nuisances aren't buying me much: I don't need a real time display. I'd therefore like to connect directly to sensor/probe.

Can anyone describe what's involved in talking directly to a sensor, such as the USB probe for the CMS-50F (new style) or CMS-50I at http://www.pulseoxstore.com/Other-Items ... anchor_181 ? Can this (or some similar sensor) be used by DIY folks, or do they all require proprietary drivers that implement obscure protocols?

I interpret the SleepyHead manual's discussion of "live view" as "connected to an oximeter" rather can "connected directly to a sensor". Am I mistaken about that?

HoseCrusher
Posts: 2744
Joined: Tue Oct 12, 2010 6:42 pm

Re: Minimal oximetery hardware

Post by HoseCrusher » Sat Feb 08, 2014 1:12 pm

I believe the oximeter reports values by comparing the absorption of two frequencies of light. If you hook directly to the sensors you simply need a comparison look up table for the standard response from the lights used to come up with SpO2 values.

Your best bet may be to look for a fingertip sensor and simply try to communicate with that.

_________________
Mask: Brevida™ Nasal Pillow CPAP Mask with Headgear
Additional Comments: Machine is an AirSense 10 AutoSet For Her with Heated Humidifier.
SpO2 96+% and holding...

JDS74
Posts: 3397
Joined: Sun Jan 23, 2011 2:57 pm
Location: South Carolina

Re: Minimal oximetery hardware

Post by JDS74 » Sat Feb 08, 2014 5:23 pm

Oximeters consist of two parts, one the sensor assembly and two, the computer part.
The sensor assembly has a LED emitter and a photo sensor as a pair. Sometimes the photo sensor sees two different light frequencies to help distinguish the correct intensity variation that is used to compute the SPO2 level and also to calculate the pulse rate.

The computer part sees a varying resistance in the photo sensor or varying voltage depending on the type of sensor employed. The firmware then performs a calculation, generally once per second in less expensive models, to convert these levels into a SPO2 measurement. The once per second is the output measurement timing not necessarily the input sampling rate. Using the periodic measurement variation, the firmware also calculates the pulse rate. Together these are combined into pulse-ox pair and displayed and / or recorded.

So to do it yourself, you will need a carefully regulated power supply to supply power to the sensor LED, an algorithm that will allow you to calculate what the sensor resistance / or voltage variation means in term of SPO2 levels, and a separate algorithm that tracks the variation and converts it into a pulse rate.

Then, there is the computing platform where all that runs..

I don't know of a consumer priced device that reports on perfusion.

Personally, I was happy to just pay the $100 and get one already done.

But that is just me.

_________________
Mask: Oracle HC452 Oral CPAP Mask
Humidifier: DreamStation Heated Humidifier
Additional Comments: EverFlo Q 3.0 Liters O2 PR DSX900 ASV
Oracle 452 Lessons Learned Updated
DSX900 AutoSV with HC150 extra humidifier and Hibernite heated hose
Settings: EPAP Min-10.0, EPAP Max-17, PS Min-3, PS Max-10, Max Pressure-20, Rate-Auto, Biflex-1.
Sleepyhead and Encore Pro 2.21.

zorglub
Posts: 5
Joined: Sat Feb 08, 2014 10:27 am

Re: Minimal oximetery hardware

Post by zorglub » Sat Feb 08, 2014 6:26 pm

I'm not asking how to make a sensor. I don't want to make a sensor either.

I want to use my computer as "the computer part". In other words I want to write my own software that talks to a readily available sensor, such as one of these USB based sensors:
* http://www.pulseoxstore.com/Other-Items ... anchor_181
* http://www.pulseoxstore.com/Other-Items ... anchor_308
* http://contecmedical.en.ec21.com/PC_Bas ... 14790.html

Do these things need some specialized Windows-only drivers, or can I get information from them using some reasonably open API not running on Windows?

zorglub
Posts: 5
Joined: Sat Feb 08, 2014 10:27 am

Re: Minimal oximetery hardware

Post by zorglub » Sat Feb 08, 2014 7:08 pm

This probe is lower level than I'd like (I'd still need to build some hardware if I use this):
http://dx.com/p/adult-soft-silicone-enc ... vbPdv2OTWw

At least the connector is reasonably standard, even if the pinout is not:
http://pinouts.ru/PortableDevices/nellc ... nout.shtml

The three USB based sensors I already listed are more appealing.

User avatar
chunkyfrog
Posts: 34545
Joined: Mon Jul 12, 2010 5:10 pm
Location: Nowhere special--this year in particular.

Re: Minimal oximetery hardware

Post by chunkyfrog » Sat Feb 08, 2014 8:21 pm

Couldn't the sensor be linked to an compact Arduino with Bluetooth, eliminating cabling to the computer?

_________________
Mask: AirFit™ P10 For Her Nasal Pillow CPAP Mask with Headgear
Additional Comments: Airsense 10 Autoset for Her

User avatar
Lazer1234
Posts: 301
Joined: Sat Aug 17, 2013 5:08 am
Location: Sweden

Re: Minimal oximetery hardware

Post by Lazer1234 » Sun Feb 09, 2014 5:10 am


_________________
Mask: TAP PAP Nasal Pillow CPAP Mask with Improved Stability Mouthpiece
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: APAP 7,8 - 20 EPR 3 No Ramp ResScan 5.1 SleepyHead 0.9.8.1
Everything I write I translate through Google Translate.
Hope you have patience with that, sometimes it can get a little crazy.
/Lazer1234

zorglub
Posts: 5
Joined: Sat Feb 08, 2014 10:27 am

Re: Minimal oximetery hardware

Post by zorglub » Sun Feb 09, 2014 11:19 am

chunkyfrog wrote:Couldn't the sensor be linked to an compact Arduino with Bluetooth, eliminating cabling to the computer?
That would eliminate part of the cabling. A cable between the Arduino and the sensor would still be needed, unless the Arduino with Bluetooth shield is attached directly to the probe. That might not be as clunky as it sounds, with a small Arduino work-alike such as the DigiSpark or the Beetle, and a bluetooth board like http://dx.com/p/wireless-bluetooth-rs23 ... ve3WP2OTWw

Personally, I don't mind the cable. I think it's probably a small inconvenience compared to the mask, the chinstrap, and the guard to prevent tooth grinding.

zorglub
Posts: 5
Joined: Sat Feb 08, 2014 10:27 am

Re: Minimal oximetery hardware

Post by zorglub » Sun Feb 09, 2014 11:30 am

Lazer1234 wrote:Could this be something?

http://www.cooking-hacks.com/blog/e-hea ... d-in-wired
Yes. It's got a pretty good fraction of the sleep study channels, and the complete thing is 450 euros. The cables appear to be too short (especially the oximeter cable). Personally I want the oximeter because that's supposed to be the bottom line of therapy, and I'd like to know how effective it is (averaged over a month or so). I'm not trying to do a DIY sleep study. I'm therefore still more interested in the USB sensor-only.