|
Roborealm and Sparkfun_Arduino Module Ali from Turkey [1 posts] |
8 year
|
Hello Steven,
We use Roborealm for object recognition. And we send booleans (if the object is ok or nok) to arduino with Sparkfan_Arduino module. It works well, but sometimes communication freezes and it doesn't work until we restart computer or reinstall arduino driver. What can cause the problem? Should we check roborealm side or computer side?
Computer OS : windows 10
Arduino : Arduino Nano
|
|
|
Steven Gentner from United States [273 posts] |
8 year
|
Ali,
You'd need to decide on which side the issue is. When you get the error, power down the Arduino and then power it back up to see if the connection eventually restarts. It will take a minute or so if that's the case.
If not, try restarting RR. If that works then its possible that the PC is losing the serial connection.
If that doesn't work and restarting the PC is needed, then you probably have a PC hardware problem that is only being reset on a reboot.
If you find that you need to reflash the Arduino code via the Arduino editor, then you have a bad Nano that is losing its firmware .. which we've heard of reports before. I'd recommend buying a more expensive Nano that might have better electrical components that keep the firmware better. If that doesn't work you might need to upgrade to a more industrial controller because your environment is not very accommodating to the Nano.
STeven.
|
|
|
ANTHONY KEARNEY from Australia [2 posts] |
8 year
|
We had a similar problem. surprisingly, the biggest cause was the PC we were running Roborealm on. When we changed the PC (It was an Intel NUC), the frequency of disconnections reduced from almost daily to monthly. Now, when we have a disconnection the solution is to reload the Arduino Script. We are working with STeven of Roborealm to reduce this further.
|
|