sparkfun / pdp-qwiic-micro-python

Repo to manage the logistics of micro python qwiic driver development
0 stars 0 forks source link

SparkFun Photodetector Breakout - MAX30101 (not Pulse Oximeter and Heart Rate Sensor) #15

Closed gigapod closed 1 week ago

gigapod commented 1 year ago

Board

~SparkFun Pulse Oximeter and Heart Rate Sensor~ Photodetector Breakout

Notes

sfe-SparkFro commented 1 year ago

Depends on SMBus, needs to be updated to be platform agnostic.

sfe-SparkFro commented 1 year ago

This driver is actually for the Photodetector Breakout and is based off this Arduino library. The Python library has an algorithm for computing heart rate, but not blood oxygen. The Arduino library does have an algorithm for blood oxygen, so we could add that to this driver, though it's not exactly trivial.

This driver cannot be used with the Pulse Oximeter product because it includes a second chip that interfaces with the sensor. We have this Arduino library for it, but no Python library from what I can tell. It's also not exactly trivial to implement.

sfe-SparkFro commented 1 year ago

Now works on both XRP and XBee

sfe-SparkFro commented 1 year ago

Forgot to mention - Example 4 will not work in MicroPython, because it's intended to plot stuff using Matplotlib. Will leave it as is.