Code Monkey home page Code Monkey logo

contec-pulse-oximeter-in-matlab's Introduction

This is a small help file explaining how to get started using the Contec CMS60C (http://contecmed.com/) to capture real time heart rate and pulse oximetry data into Matlab.

Any questions, please contact Caspar Addyman [email protected]

Model number

Be aware that different models in the CMS range run at different baud rates:

  • CMS60C runs on a 115200 baud rate, parity no
  • CMS50D+ (older) runs on a 19200 baud rate, parity No.
  • CMS50d+ (newer) runs on a 115200 baud rate, parity No.

You will need to comment in/out the appropriate lines in the connection script. Either configString on line 142 of HeartRateUSB.m or serialObj on Line 117 ins HeartRateUSB_serial.m

Requirements:

This code should run in any version of Matlab >R2007 It should also work in Octave >v3.1 but this hasn't been verified

Matlab ( >R2007) http://www.mathworks.co.uk/

Octave ( >v3.1) http://www.gnu.org/software/octave/

Optional:

PsychToolbox version 3.0 http://www.psychtoolbox.org/

Installation:

Download the contents of this directory, unzip and install the Mac OSX VCP Driver.zip. The heartrate data is collected by calling the HeartRateUSB.m or the HeartRateUSB_serial.m script. (They are essentially identical but the former uses PsychToolBox IOPort function while the latter uses standard matlab serial commands.)

This code is open source and freely available for you to use in your own projects.

Any questions, bugs or comments, please post them on github.com or email them to [email protected]

DOI

This work was supported in part by a joint grant from the French ANR (ANR-10-056 GETPIMA), and the UK ESRC (RES-062-23-0819) within the France-UK ORA framework.

Alternatives

Ian Hands has written a java/SWT app for reading CMS Pulse Oximeters

Info here http://ian.ahands.org/progs/pulseox/

Code here https://github.com/iphands/PulseOx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.