[quote="Charles Gwellem"]
pi@raspberrypi ~ $ python puls.py
0x78
0x78
0x78
0x72
0x6a
0x5f
0x53
0x45
0x38
0x31
0x33
0x40
0x56
0x73
0x92
0xb3
0xd2
0xeb
0xf0
0xf0
pi@raspberrypi ~ $ python puls.py
Observations:
1) There are two serial port communications protocols: one at 4800 baud and the other at 9600 baud (50 Hz samples)
2) It is unclear as to which of the protocols is engaged: 4800 baud / 9600
3) The is only one hexadecimal measurement that could be a sync byte (0x92>0x80)
You can quickly determine the baud rate by using a Windows program like termite to display, in Hexadecimal, the inbound packet of 5 bytes. To do this, you will need a
PL2303 serial over usb cable.
In this example the third (hexadecimal) byte is the oxygen saturation:
Once you have it working with the USB cable, you might elect to plug the USB cable directly into the rPi's USB port and parse the bytes with pyserial (good for beginners). I prefer to use Simulink (for advance users).
