can anyone here tell me if there is a specific boud rate for the Cerbo USB 0 port (the first one to the left) for it to communicate with Arduino Nano though Node Red?
I had it working at one point but something was changed in the settings (or maybe not) and it stopped responding although it shows connected.
The same setup works fine on Node Red on my Mac using 9600 Boud so I’m debating weather Node Red on Venus is causing the problem maybe due to an internal issue?
I am using dev/tty/USB0 as port and 9600 boud rate
When I test the incoming signal from Arduino it sometime comes scrambled and / or at erratic timing.
I have tried different boud rate obviously both in the sketch as well as in Node-Red with no success.
I am quite sure that the device line should read /dev/ttyUSB0. If you have more USB devices connected, that could be /dev/ttyUSB1 as well. In order to get that more stable, you should use something like /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 (of course that is different on your system). By ssh-ing into you GX, you can determine the correct name. The sequence numbers of the serial devices are given out on discovery, not based on the usb port the device is connected to.
The baud rate is determined by the device attached, not by the GX. So the 9600 baud is correct.
Thanks,
I still don’t understand why it worked fine at first but now only the “Node In” node shows connected and not the Node Out.
I have several Arduino Nano and they all work fine when I test them on my MAC installed Node-Red but no longer in Venus Node-Red.
I have tried different things to analyse the issue,