Hello,
I would like to know if the nRF9160 supports RS485 MODBUS Communication protocol ?
Hello,
I would like to know if the nRF9160 supports RS485 MODBUS Communication protocol ?
Hi
The nRF9160 does not have RS485 support, no.
You would need some kind of driver chip to convert from UART to RS485.
Best regards
Torbjørn
Hello Torbjorn,
would the STR485 be suitable? What about the software side ?
Hello Torbjorn,
would the STR485 be suitable? What about the software side ?
Hi Netanel
Like I mentioned in your other case the STR485 should work fine if you can set the UART interface correctly.
What kind of device(s) are you talking to over the bus?
Nordic devices also, or some other type of device?
When you say software side, are you thinking about the driver for the STR485?
Best regards
Torbjørn
Hello Torbjorn,
I would like to connect sensors via RS485 to the nrf9160.
Temperature, pressure, flow, etc.
regarding the software side, I mean do I need any driver running on the nrf9160 to collect the data from RS485 and send it to the cloud ? Using MODBUS RTU .
Hi Netanel
Yes, the Modbus RTU protocol would basically have to be implemented in software, as the UART module doesn't handle modbus, and this we don't provide any examples for.
I will need some more time to investigate if we have tested the modbus protocol to make sure our UART is compatible, but as long as you don't have to use odd parity bit (we support even or no parity only), and want to use a baudrate that we support, it should work fine.
Do you know what baudrate you are planning to use?
Best regards
Torbjørn
Hello Torbjorn,
The Baud rate is 9600.
RS-485, 9600, 8N1
Hi Netanel
Those settings should work fine.
I can't give you a 100% guarantee that the RS485 device will work with the nRF9160 since it hasn't been tested by us, but I can't see any reason why it shouldn't.
Best regards
Torbjørn