Calculation with GPY
-
Hi all,
I am currently doing the project to connect GPY with MAX30102 based on this tutorial:
https://github.com/vrano714/max30102-tutorial-raspberrypi>>> import max30102 >>> m = max30102.MAX30102() # sensor initialization >>> red, ir = m.read_sequential() # get LEDs readings
I have successfully getting the the raw value [red, ir]. I am currently facing the next step in calculation the heart rate in the file hrcalc.py as it used the numpy. As per read that on the forum, numpy is too heavyload for pycom. So my solution is
- send the raw data [red,ir] to AWS(my iot platform) to do the calculation.
- alternative from numpy to do the calculation?
-
nice. Cheers mate
-
ulab module is a micro NumPy/SciPy for MicroPython. See the topic :
https://forum.pycom.io/topic/6234/pycom-firmwares-with-single-double-precision-and-ulab-module