RS485 HalfDuplex Sensor in RealTime
Posted: 05 May 2021, 17:36
Hello,
I am planning on a project, where I want to read out a RS485 Sensor with the RevPi. This should be really fast, like 1kHz, so 1000 times a second. Before I buy the RevPi and the Sensor I want to have an expert opinion if this is possible.
I think the Revpi has a realtime linux right? If yes, how do I use it to read and write to the serial every 14ms?
The Dataformat from the sensor is this: 1 Startbit, 8 Datenbits, 1 Paritätsbit (gerade), 1 Stoppbit. Is the parity-bit a problem?
I also plan on hooking up a second sensor to the RevPi, should I get a second one for that or can I use the same connector and dasy-chain them?
Thanks so much for your advice! I am sure it will really help me!
I am planning on a project, where I want to read out a RS485 Sensor with the RevPi. This should be really fast, like 1kHz, so 1000 times a second. Before I buy the RevPi and the Sensor I want to have an expert opinion if this is possible.
I think the Revpi has a realtime linux right? If yes, how do I use it to read and write to the serial every 14ms?
The Dataformat from the sensor is this: 1 Startbit, 8 Datenbits, 1 Paritätsbit (gerade), 1 Stoppbit. Is the parity-bit a problem?
I also plan on hooking up a second sensor to the RevPi, should I get a second one for that or can I use the same connector and dasy-chain them?
Thanks so much for your advice! I am sure it will really help me!