Author Topic: USB communication issues from Arduino to Rasp Pi running Ubuntu 22.04  (Read 324 times)

mdhill

  • Newbie
  • *
  • Posts: 9
    • View Profile
Hello.  I am running a program that uses two Arduino units one for the operator HMI and a second for a maintenance display.  While the HMI provides test connection status to the operator, the maintenance display shows temperature, humidity, and test connection status. 

The problem is that the USB communication between the Arduino and the Rasp Pi running Ubuntu 22.04 is intermittent.  I am using a USB A to USB B cable with the settings of 9600,8,N,1.  The Arduino for the Operator HMI uses theses settings with no issues on ttyACM1 while the Arduino for the Maintenance Display uses ttyACM0.  I have also tried 19200,8,N,1 on the Maintenance Display but the issues persists.  I am using the ModbusRTUCom Driver Component. I am using version v399y Beta 38. Has anyone had this issue and found a solution?

I forgot to mention that the error I see on the Maintenance HMI screen states "Read Timeout Error." The message then disappears and after a few seconds to maybe a minute or so, it repeats.
« Last Edit: November 18, 2024, 01:02:44 PM by mdhill »