Modbus using 485 output and USB
Is it possible to use both the RS485 on the Monarco HAT and also the the USB on the RPi for Modbus?
I guess this would need 2 drivers set up for both /dev/ttyAMA0 and /dev/ttyUSB0, would this work?
cechurat last edited by cechurat
thank you for your question. Yes, you are absolutely right. Just be sure that the USB adapter will be always recognised as a /dev/ttyUSB0 device.
Have a look at udev rules which will help you to achieve this. E.g.:
cechurat last edited by
there is also one post at old REXYGEN forum which might help you: