Arduino serial port closed

Thought I provide a quick update on the workaround. I never quite figured out how to avoid or remediate the "serial port closure" issue, so I decided to eliminate the serial connection entirely. Instead, I replaced the arduino with a raspberry pi, connected all the sensors to its GPIO pins, and set up a secondary Node Red instance on the pi. As inputs are registered on the raspberry pi, the local (rpi) node red instance send http requests to the central node red instance. Not sure if it's the most elegant solution, but the system is finally stable.

1 Like