Looking for sample ResMed S9 data to get $15 USB pulse oximeter to work

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
danjcla
Posts: 1
Joined: Fri Jun 15, 2018 2:04 pm

Looking for sample ResMed S9 data to get $15 USB pulse oximeter to work

Post by danjcla » Fri Jun 15, 2018 2:27 pm

Could someone who has a ResMed S9 device with a Pulse Oximeter share a few day's data files with me?

I'm trying to to get the "Nonin 3211 IPOD Integrated Pulse Oximeter DF1 USB" - which is often available on eBay for around $15 - to work with SleepyHead, which can import the file format - S9 Data Format - used by ResMed.

(Note that some models of the Nonin IPOD do not have a USB interface, so if you want to get one, be sure you see a USB connector in the photo.)

Code that can read data from the device is at https://stackoverflow.com/questions/312 ... spberry-pi last answer - it's for xpod but xpod and ipod output the same according to Nonin's website. And https://github.com/holgern/pyedflib looks like it makes it pretty easy to write EDF+ files; I just want a sample .sad file to make sure the output is what SleepyHead is expecting.

Thanks for any help,
-Danny

gatorback
Posts: 4
Joined: Thu Oct 29, 2015 7:50 pm

Re: Looking for sample ResMed S9 data to get $15 USB pulse oximeter to work

Post by gatorback » Sat Jun 12, 2021 5:40 am

The iPod 3211 use a 3-byte serial protocol:

The serial transmission rate for all data formats shall be as follows:Bits per SecondData BitsParity Stop Bits Flow Control96008None1NoneSerial Data Format #1:Packet DescriptionThree bytes of data are transmitted 1 once per second.Byte 1 - StatusBIT7BIT6BIT5 BIT4BIT3BIT2BIT1BIT01SNSDOOTLPRFMPRFARTFHR8HR7*Note: Bit 7 is always setByte 2 - Heart RateBIT7BIT6 BIT5 BIT4BIT3BIT2BIT1BIT00HR6HR5HR4HR3HR2HR1HR0*Note: Bit 7 is always clearByte 3 - SpO2BIT7BIT6 BIT5 BIT4BIT3BIT2BIT1BIT00SP6SP5SP4SP3SP2SP1SP0*Note: Bit 7 is always clearThe following are all active high:SNSD:Sensor Disconnect – Sensor is not connected to oximeter or sensor is inoperable.OOT:Out Of Track– An absence of consecutive good pulse signals.LPRF:Low Perfusion– Amplitude representation of low signal quality(holds for entire duration).MPRF:Marginal Perfusion– Amplitude representation of medium signal quality(holds for entire duration).ARTF:Artifact– A detected pulse beat didn’t match the current pulse interval.HR8 – HR0: Heart Rate– Standard 4-beat average values not including display holds.SP6 – SP0:SpO2– Standard 4-beat average values not including display holds.When SpO2 and HR cannot be computed, the system will send a missing data indicator. For missing data, the HRequals 511 and the SpO2 equals 127.

I have integrated the 3211 with a TTL USB to serial device and verified the protocol.