Test program for a Max30102 heartrate sensor on a STM32L476RG specific board ENSMM
Dependencies: mbed
These two pictures show how to connect the Mheuve Sensor to the ST-Link debugger (don't forget to disable ST-link jumpers and JP5 on the board! ):
These two pictures show how to connect the Mheuve Sensor TX RX to the ST-Link debugger (don't forget to cross TX and RX, it means Mheuve sensor TX on ST-Link RX and ST-Link TX on Mheuve sensor RX ):
The Mheuve sensor board needs to be powered by an external battery.
The result appears on the terminal, speed config is 115200 bds.
Diff: algorithm/algorithm.cpp
- Revision:
- 1:e88f22c6c1b0
- Parent:
- 0:346a7fa07998
- Child:
- 2:560e76e77544
--- a/algorithm/algorithm.cpp Wed Apr 20 21:46:06 2016 +0000 +++ b/algorithm/algorithm.cpp Wed Apr 20 23:05:38 2016 +0000 @@ -1,7 +1,7 @@ -/** \file algorithm.h ****************************************************** +/** \file algorithm.cpp ****************************************************** * * Project: MAXREFDES117# -* Filename: algorithm.c +* Filename: algorithm.cpp * Description: This module calculates the heart rate/SpO2 level * * Revision History: