EHS6T USB: using a USB to RS-485 converter and communicating with Modbus ASCII? | Telit Cinterion IoT Developer Community
June 16, 2016 - 11:19am, 2931 views
I would like to use the USB port on the EHS6T to communicate with a device that has a RS-485 port and talks Modbus ASCII. For the hardware connection (connecting to RS-485) I would use a USB to RS-485 converter and then for the software I would send and receive ASCII bytes from our Java program.
Might there be software or driver issues when doing this? If the USB port has an RS-485 converter attached, then can I "simply" send ASCII characters into it and read them out, from our Java program?
I suppose that this converter ***** to be connected to USB host (could be connected to the PC for example) - and the module cannot act as USB host.
But there is a EHS6T variant that has RS485 interface.
Thank you for the quick response.
Would there be another way to communicate from the USB port using the Modbus Protocol?
As far as I understand, the USB composes of 4 wires (data+, data-, ground, 5v) and the RS-485 of three (data+, data-, ground). Couldn't I use a simple wiring converter that connects the corresponding wires, and then send the bytes down the USB port to my peripheral and listen to the response? What am I missing in the operation of the USB port?
The USB and RS485 are different standards and protocols so it's not a good way.
It depends what there is on the other side, if there's RS485 interface it would be the best to use the device with RS485 interface or use some RS232/RS485 converter.