• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/03-Aug-2024-1613

src/03-Aug-2024-3623

CMakeLists.txtD03-Aug-2024225 96

README.rstD03-Aug-2024846 4130

prj.confD03-Aug-202496 65

sample.yamlD03-Aug-2024219 1211

README.rst

1.. _max30101:
2
3MAX30101 Heart Rate Sensor
4##########################
5
6Overview
7********
8
9A sensor application that demonstrates how to poll data from the max30101 heart
10rate sensor.
11
12Building and Running
13********************
14
15This project configures the max30101 sensor on the :ref:`hexiwear` board to
16enable the green LED and measure the reflected light with a photodiode. The raw
17ADC data prints to the console. Further processing (not included in this
18sample) is required to extract a heart rate signal from the light measurement.
19
20.. zephyr-app-commands::
21   :zephyr-app: samples/sensor/max30101
22   :board: hexiwear/mk64f12
23   :goals: build
24   :compact:
25
26Sample Output
27=============
28
29.. code-block:: console
30
31   GREEN=5731
32   GREEN=5750
33   GREEN=5748
34   GREEN=5741
35   GREEN=5735
36   GREEN=5737
37   GREEN=5736
38   GREEN=5748
39
40<repeats endlessly>
41