2017 Mar 07, 10:54 PM
Are you using the minimalmodbus python module on the Raspi side?
https://minimalmodbus.readthedocs.io/en/master/
I am using this with great success on a raspberry Pi along with an RS485 USB adapter:
https://www.amazon.com/Gikfun-Serial-Con...85+adapter
It only needs one USB port on the Pi.
How are your Arduinos connecting to the serial bus?
I use an RS485 to RS232 adapter on the arduino side:
https://www.amazon.com/MAX485-Module-RS-...to+arduino
I am using the SimpleModbusSlave library on the arduino side:
https://drive.google.com/drive/folders/0...U1RQVBfSzg
It should be pretty easy to make a plugin for SIP using minimalmodbus.
Dan
https://minimalmodbus.readthedocs.io/en/master/
I am using this with great success on a raspberry Pi along with an RS485 USB adapter:
https://www.amazon.com/Gikfun-Serial-Con...85+adapter
It only needs one USB port on the Pi.
How are your Arduinos connecting to the serial bus?
I use an RS485 to RS232 adapter on the arduino side:
https://www.amazon.com/MAX485-Module-RS-...to+arduino
I am using the SimpleModbusSlave library on the arduino side:
https://drive.google.com/drive/folders/0...U1RQVBfSzg
It should be pretty easy to make a plugin for SIP using minimalmodbus.
Dan