12-30-2025, 11:42 AM
Hi everyone,
I'm trying to switch ON and OFF the 4 relays on a 4-relays-USB card. (One of the days I publisch how I did it).
I also have the intention to read out ds18b20 or PTC100 sensors via USB.
Reason:
You can write all software on Your PC and use Identical the same software on a RaspberryPI (via the USB ports).
Or better, use an old PC to do the job in place of the RaspberryPI
But for the relays card it seems more complicated:
I bought a PTA8D08 module (from Eletechsup) from Ali-express, which can read eight PTC temperature sensors.
https://nl.aliexpress.com/item/100500979...pt=glo2nld
This module has also screw-connectors B- A+ GND and Vin (RS485...)
But the problem for this case, is I need to program with the MODBUS RTU protocol.
Do any of you have experience or knowledge with this protocol and how to implement it in QB64?
Any advice is welcome.
Regards, Rudy M
I'm trying to switch ON and OFF the 4 relays on a 4-relays-USB card. (One of the days I publisch how I did it).
I also have the intention to read out ds18b20 or PTC100 sensors via USB.
Reason:
You can write all software on Your PC and use Identical the same software on a RaspberryPI (via the USB ports).
Or better, use an old PC to do the job in place of the RaspberryPI
But for the relays card it seems more complicated:
I bought a PTA8D08 module (from Eletechsup) from Ali-express, which can read eight PTC temperature sensors.
https://nl.aliexpress.com/item/100500979...pt=glo2nld
This module has also screw-connectors B- A+ GND and Vin (RS485...)
But the problem for this case, is I need to program with the MODBUS RTU protocol.
Do any of you have experience or knowledge with this protocol and how to implement it in QB64?
Any advice is welcome.
Regards, Rudy M

