Skip to content

ctolsen/cms50e-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data reader for CMS50E Pulse Oximeter

This module reads and outputs data from a Contec CMS50E pulse oximeter.

It has only been tested on Mac OS X Yosemite with Python 3.4. Consider this a work in progress.

If you try to upload recorded data from the device, the program will simply discard the data, but continue working.

Planned features:

  • Saving of recorded data
  • Live recording and saving
  • Web based interface to view pulse waveform data

Usage

First, this driver must be installed.

Then:

python setup.py develop to install dependencies

python cms50e.py /path/to/usb-device to run the program

On the computer used for testing, the usb device was found at /dev/cu.SLAB_USBtoUART. The name of the USB device may be different. Running ls /dev/cu.* should provide some hints.

Make sure the device has the USB setting on, and is connected to the computer. If the program is not outputting any data, simply running cat /path/to/usb-device can kickstart it.

Example output

The output is updated 20 times per second.

Heartrate:		 62
Oxygen saturation:	 98
Pulse waveform:		 24

Hit Ctrl+C to exit.

Acknowledgements

Written by Christoffer Torris Olsen

Thanks to Alex Robinson for interface documentation.

About

CMS50E Data Reader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages