computer-lov / Nighttime-Parenting-Device

This is a senior design project.
MIT License
0 stars 0 forks source link

Fill in Stub Functions for Heart Rate Sensor #33

Closed BeatrizPer closed 2 years ago

BeatrizPer commented 2 years ago
BeatrizPer commented 2 years ago

The heart rate sensor stores its values in a FIFO stack. Many readings must be done along with a peak to peak calculation to get the proper heart rate and SPO2 readings. Because of this, the functions for basic functionality are quite extensive. The functions included are the ones needed to get proper and semi-accurate readings. However, after much testing there is a few outlier readings in the returned values for the heart rate reading. It might shoot out a sporadic 200 BPM or 13 BPM. This is a known issue online.

I. Sensor Setup Functions

II. Heart Rate Monitoring

III. Heart Rate Calculating

BeatrizPer commented 2 years ago

filled in and done