max30100 | A Python library for the MAX30100 HR/Oximetry sensor

 by   mfitzp Python Version: Current License: No License

kandi X-RAY | max30100 Summary

kandi X-RAY | max30100 Summary

max30100 is a Python library typically used in Internet of Things (IoT), Raspberry Pi, Arduino applications. max30100 has no vulnerabilities and it has low support. However max30100 has 1 bugs and it build file is not available. You can download it from GitHub.

This library provides a basic Python interface to the MAXIM MAX30100 heart rate and Sp02 sensor chip. Other libraries are available (e.g. Intel's UPM) but these are not easily compiled on a Raspberry Pi. This library is a Python re-implementation of original C library by Connor Huffine/Kontakt, available here, with a slightly different API + additional features (buffering values, etc.). Currently this library supports both IR led (pulse) and red led (SpO2) modes, with support (via gpiozero) for catching on-board interrupts and triggering real-time measurements. The examples below demonstrate a common setup. Calculations for converting measured values into actual number are not yet included.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              max30100 has a low active ecosystem.
              It has 27 star(s) with 17 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 0 have been closed. On average issues are closed in 148 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of max30100 is current.

            kandi-Quality Quality

              OutlinedDot
              max30100 has 1 bugs (1 blocker, 0 critical, 0 major, 0 minor) and 2 code smells.

            kandi-Security Security

              max30100 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              max30100 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              max30100 does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              max30100 releases are not available. You will need to build from source code and install.
              max30100 has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              max30100 saves you 57 person hours of effort in developing the same functionality from scratch.
              It has 150 lines of code, 20 functions and 1 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed max30100 and discovered the below as its top functions. This is intended to give you an instant insight into max30100 implemented functionality, and help decide if they suit your requirements.
            • Set the LED color
            • Check if value is valid
            • Get current temperature
            • Return the complement of two values
            • Enable spo2 mode
            • Set device mode
            • Disable spo2 mode
            Get all kandi verified functions for this library.

            max30100 Key Features

            No Key Features are available at this moment for max30100.

            max30100 Examples and Code Snippets

            No Code Snippets are available at this moment for max30100.

            Community Discussions

            QUESTION

            smbus library is not found in MicroPython using esp32
            Asked 2022-Mar-16 at 08:32

            I want to program max30100 in my esp32 using python, I have the max30100 library https://github.com/mfitzp/max30100. The problem is, it requires smbus I tried to install smbus using the Thonny Plugin manager but it causes an error.

            I just want to program max30100 in esp32 using python but this thing is delaying me. Is there any way to use this library (max30100) without compiling smbus? Or is there other way to use max30100 module using python in esp32?

            ...

            ANSWER

            Answered 2022-Mar-16 at 08:32

            My idea could be following- do not use SMBUS lib.

            This max30100 library can be used with I2C or SMBUS. You may try to comment out import smbus

            Also, some changes are needed in library file itself. There are lines in library

            Source https://stackoverflow.com/questions/71445994

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install max30100

            You can create an interface to your device/chip by creating an instance of the MAX30100 class.
            i2c a custom i2c object, if you already have a connection option to the bus
            mode to enable SpO2 readings by default
            sample_rate number of data samples to take per second
            pulse_width the duration of each sample
            led_current_red amount of current to supply to the red LED
            led_current_ir amount of current to supply to the infrared LED
            max_buffer_len the number of measurements to store locally

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mfitzp/max30100.git

          • CLI

            gh repo clone mfitzp/max30100

          • sshUrl

            git@github.com:mfitzp/max30100.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link