Code Monkey home page Code Monkey logo

arduino-max30100's Introduction

Arduino-MAX30100

Build Status

Arduino library for the Maxim Integrated MAX30100 oximetry / heart rate sensor.

MAX30100

Hardware

This library has been tested with the MikroElektronika Heart rate click daughterboard:

http://www.mikroe.com/click/heart-rate/

along with an Arduino UNO r3. Any Arduino supporting the Wire library should work.

The only required connection to the sensor is the I2C bus (SDA, SCL lines, pulled up).

An example which shows a possible way to wire up the sensor is shown in extras/arduino-wiring.pdf

Note: The schematics above shows also how to wire up the interrupt line, which is currently not used by the library.

Architecture

The library offers a low-level driver class, MAX30100. This component allows for low level communication with the device.

A rather simple but working implementation of the heart rate and SpO2 calculation can be found in the PulseOximeter class.

This high level class sets up the sensor and data processing pipelines in order to offer a very simple interface to the data:

  • Sampling frequency set to 100Hz
  • 1600uS pulse width, full sampling 16bit dynamic
  • IR LED current set to 50mA
  • Heart-rate + SpO2 mode

The PulseOximeter class is not optimised for battery-based projects.

Examples

The included examples show how to use the PulseOximeter class:

  • MAX30100_Minimal: a minimal example that dumps human-readable results via serial
  • MAX30100_Debug: used in conjunction with the Processing pde "rolling_graph" (extras folder), to show the sampled data at various processing stages
  • MAX_30100_RawData: demonstrates how to access raw data from the sensor

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.