Thanks for the suggestions, but the result I get is still not correct.
Have anyone tried to send an endless stream of bytes to PIC and then resend the stream back to PC? Will the input bytes same...
Type: Posts; User: unifoxz; Keyword(s):
Thanks for the suggestions, but the result I get is still not correct.
Have anyone tried to send an endless stream of bytes to PIC and then resend the stream back to PC? Will the input bytes same...
I try my best to translate the manual as the manual is originally written in Chinese language. The manual is too simple and not really provides the details.
serial port setting:
1 start bit + 8...
The SpO2 module I use is of none parity.
I wonder the PIC have the problem to read the bytes if the bytes are sent into PIC in endless stream. I tried to send only 5 bytes, 10 bytes and 15 bytes...
It's repeating 5 bytes. 5 bytes continued by another 5 bytes without pause, all are sent out continuously. In order to get the SpO2 byte and pulse rate byte which is at the 4th and 5th byte from the...
I don't use MAX232 for this circuit. I use a 22k resistor at Rx pin and 1k resistor at Tx pin. May I know is there any effect for not using MAX232? There is another question that I would like to...
Yes, I tried to set up a simple test to check what is actually happening on the bytes I receive. I use 4800 baud rate for both module and PC this time.
I tried with PIC hardware UART to...
I was thinking it could be inverted vs true problem too. However my assumption was found to be fault after I receive unknown characters on the screen of PC.
I also have tried similar method as...
I have tried with sending out data bytes that received from the modules to PC immediately but the data displayed on the PC is different from the data that I connected the module directly to PC. It...
The data from SpO2 module is sent out continuously. The updated data is sent out from the module all the time. The PC just send request whenever it wants to and the PIC will responsible to grab a few...
I am sorry for the confusion. Actually, the following code is to wait for the PC to send the request before PIC read in the data from the SpO2 module.
'request from PC, 9600 baud rate
standby:...
No, I am reading data from a SpO2 module. The module sends out 5 bytes in sequence continuously. Among the bytes sent out from module, I only need to extract two of them which provide the information...
Hi,
I would like to know how does PIC read the stream of bytes from serial port? I was trying to read in stream of bytes at 4800 baud rate but the data crashed. The received data is not the...