Hello everyone!
I'm working on a project to help a friend with poor eyesight who want to use a PulseOximeter but the display is way to small so I will help him to attach a bigger display. But I have a problem to get the correct data to the display. I can send the data to Arduino IDE serial terminal and it looks like this:
The value 132 above is not always 132 so I can not use that to find the correct values. But it's the same value for each person using the pulseoximeter.
I used this code to generate the above data:
I'm using Arduino IDE 1.6.13 with Teensy loader 1.46 and a Teensy 3.6
The problem is that I have problem to send the correct values to a 7-segment display. The problem lies in how to filter out the Pulse- and Oxygenatingvalues. Any idea how I should do this?
I'm out of ideas at the moment so any suggestions is welcome.
I'm working on a project to help a friend with poor eyesight who want to use a PulseOximeter but the display is way to small so I will help him to attach a bigger display. But I have a problem to get the correct data to the display. I can send the data to Arduino IDE serial terminal and it looks like this:
Code:
132
32
3
80 (Pulse)
98 (Oxygenating)
132
29
3
80 (Pulse)
98 (Oxygenating)
132
26
3
80 (Pulse)
98 (Oxygenating)
132
The value 132 above is not always 132 so I can not use that to find the correct values. But it's the same value for each person using the pulseoximeter.
I used this code to generate the above data:
Code:
Serial.begin(115200);
HWSERIAL.begin(19200);
while(!Serial);
while(!HWSERIAL);
//---------- The interesting part of the code -------------------
if (HWSERIAL.available())
{
Serial.println(HWSERIAL.read());
}
I'm using Arduino IDE 1.6.13 with Teensy loader 1.46 and a Teensy 3.6
The problem is that I have problem to send the correct values to a 7-segment display. The problem lies in how to filter out the Pulse- and Oxygenatingvalues. Any idea how I should do this?
I'm out of ideas at the moment so any suggestions is welcome.