I did a modbus communication with a embedded device and a PC. Communication cable is USB. But it act as a serial port. my device has FTDI chip for communication. Now I need to communicate this device with arduino uno board. I have connected it to arduino uno via USB host shield2.
I couldn't configure the modbusmaster.h file in the arduino. if i try to communicate garbage value is displayed. Can you please give me the directions to communicate with arduino uno and embedded device via USB host shield?
If there's no ready-to-use FTDI driver code for the host shield available, use a different way to setup an UART port on the Arduino. USB involves so much overhead, no good idea at all.