Arduino Uno disconnects when operating the relay or valve sometimes

@rassim803 Just wanted to add that our original Arduino connectivity (the non-MQTT one you were originally using) is sensitive to delay() statements, so I’d advise avoiding them or keeping them to a bare minimum if you want to use this connectivity. Glad you have a more stable connection with MQTT however, it’s where we envision the future of the Cayenne product.

Have a look at this post where I show how you can use SimpleTimer to replace delay() statements in your code, if they are necessary.

2 Likes