Refactored Ppg for frequency based algorithm. (#1486)
New implementation of the heart rate sensor data processing using a frequency based PPG algorithm. The HRS3300 settings are fine-tuned for better signal to noise at 10Hz. The measurement delay is now set to 100ms. Enable and use the ambient light sensor. FFT implementation based on ArduinoFFT (https://github.com/kosme/arduinoFFT, GPLv3.0).
This commit is contained in:
parent
40f7e1c7be
commit
c22e30a4a6
26 changed files with 2675 additions and 210 deletions
|
|
@ -488,10 +488,8 @@ list(APPEND SOURCE_FILES
|
|||
drivers/TwiMaster.cpp
|
||||
|
||||
heartratetask/HeartRateTask.cpp
|
||||
components/heartrate/Ppg.cpp
|
||||
components/heartrate/Biquad.cpp
|
||||
components/heartrate/Ptagc.cpp
|
||||
components/heartrate/HeartRateController.cpp
|
||||
components/heartrate/Ppg.cpp
|
||||
|
||||
buttonhandler/ButtonHandler.cpp
|
||||
touchhandler/TouchHandler.cpp
|
||||
|
|
@ -552,8 +550,7 @@ list(APPEND RECOVERY_SOURCE_FILES
|
|||
components/heartrate/HeartRateController.cpp
|
||||
heartratetask/HeartRateTask.cpp
|
||||
components/heartrate/Ppg.cpp
|
||||
components/heartrate/Biquad.cpp
|
||||
components/heartrate/Ptagc.cpp
|
||||
|
||||
components/motor/MotorController.cpp
|
||||
components/fs/FS.cpp
|
||||
buttonhandler/ButtonHandler.cpp
|
||||
|
|
@ -666,9 +663,10 @@ set(INCLUDE_FILES
|
|||
drivers/TwiMaster.h
|
||||
heartratetask/HeartRateTask.h
|
||||
components/heartrate/Ppg.h
|
||||
components/heartrate/Biquad.h
|
||||
components/heartrate/Ptagc.h
|
||||
components/heartrate/HeartRateController.h
|
||||
libs/arduinoFFT-develop/src/arduinoFFT.h
|
||||
libs/arduinoFFT-develop/src/defs.h
|
||||
libs/arduinoFFT-develop/src/types.h
|
||||
components/motor/MotorController.h
|
||||
buttonhandler/ButtonHandler.h
|
||||
touchhandler/TouchHandler.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue