Difference between revisions of "Component: Pulse Oximeter (Max30100) (Environmental)"
From Flowcode Help
Jump to navigationJump to searchLine 64: | Line 64: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 69: | Line 71: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===ReadRed=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 82: | Line 85: | ||
+ | ===ReadIR=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 95: | Line 99: | ||
+ | ===SetHighResModeEnabled=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 113: | Line 118: | ||
+ | ===SetLEDsPulseWidth=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 131: | Line 137: | ||
+ | ===SetSamplingRate=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 149: | Line 156: | ||
+ | ===SetLEDsCurrent=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 172: | Line 180: | ||
+ | ===Update=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 185: | Line 194: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:51, 3 February 2023
Author | Matrix TSL |
Version | 1.0 |
Category | Environmental |
Contents
Pulse Oximeter (Max30100) component
Sensor designed to monitor heart rate and pulse omimetry. Connected using an I2C bus.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Max30100_Pulse_Oximeter.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Max30100_Pulse_Oximeter.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
ReadRed
![]() |
ReadRed |
Returns one of the FIFO Red readings from the last update | |
![]() |
Return |
ReadIR
![]() |
ReadIR |
Returns one of the FIFO IR readings from the last update | |
![]() |
Return |
SetHighResModeEnabled
![]() |
SetHighResModeEnabled |
![]() |
Enabled |
![]() |
Return |
SetLEDsPulseWidth
![]() |
SetLEDsPulseWidth |
![]() |
PulseWidth |
![]() |
Return |
SetSamplingRate
![]() |
SetSamplingRate |
![]() |
SampleRate |
Range: 0-7 / 0=50Hz, 1=100Hz, .., 6=800Hz, 7=1000Hz | |
![]() |
Return |
SetLEDsCurrent
![]() |
SetLEDsCurrent |
![]() |
IR |
Range: 0-15 / 0=0mA, 1=4mA, .., 14=46mA, 15=50mA | |
![]() |
Red |
Range: 0-15 / 0=0mA, 1=4mA, .., 14=46mA, 15=50mA | |
![]() |
Return |
Update
![]() |
Update |
Reads the sensor FIFO buffer and stores the readings into local RAM. Returns the number of samples read. | |
![]() |
Return |
Initialise