51
QB64 Discussion / Re: Input output methods and hardware opinions
« Last post by Parkland on April 12, 2022, 08:57:00 pm »After some deliberating, I decided to use an RS485 adapter and ordered modbus RTU relay controllers and sensors.
It looks pretty simple just connect devices to wires and send and receive data back and forth in hexadecimal values.
The default device speeds are all 9600 baud but can be set way faster.
For high speed data acquisition even 56k baud might be too slow but for my purposes this seems perfect.
I imagine I should be able to poll several values a second no problem which is all I need.
I'll update once the stuff shows up if there's any unforeseen issues but it seems pretty straight forward.
It looks pretty simple just connect devices to wires and send and receive data back and forth in hexadecimal values.
The default device speeds are all 9600 baud but can be set way faster.
For high speed data acquisition even 56k baud might be too slow but for my purposes this seems perfect.
I imagine I should be able to poll several values a second no problem which is all I need.
I'll update once the stuff shows up if there's any unforeseen issues but it seems pretty straight forward.