I cannot understand how RS485 is working, particularly receiving data.
Can anyone give me an example?
Let's say I'm expecting this message:
Code: Select all
0x01
0x00
0xA6
0x41
0x7B
0x30
0xFC
0x16
0x41
0x7B
0x01
0x00
0xFC
0x16
0x16
0x41
All the time the message is different and there's no start bit and no stop bit.
How do I guess when the data is coming, and when the full message has ended?