Node randomly disconnecting
-
Hi there,
I have 4 nodes built with Arduino nano (Chinese clone), connected to an ethernet gateway thru NRF24. The gateway has an NRF24+ antenna, the others are a cheap version with a printed antenna on the board. All the nodes are powered from USB, with the same model of adapter.
NRF24 boards are all powered from 5V pin with a voltage regulator.The all work perfectly, except for one that randomly disconnects from time to time (sometimes after one day, other times after more than one week). This node is the only one acting as an actuator; in an earlier version it was also controlling a PIR sensor, but trying to understand if the PIR continuos check was causing the issue, I moved away the PIR and now it's only controlling a relay.
If I turn it off and on, it suddenly works perfectly. The same if I connect it to my laptop to look at the serial monitor.
Do you have any suggestion on how to debug this kind of behavior?
I'm quite new to Arduino and mysensors...Thanks
Daniele -
Hi there,
I have 4 nodes built with Arduino nano (Chinese clone), connected to an ethernet gateway thru NRF24. The gateway has an NRF24+ antenna, the others are a cheap version with a printed antenna on the board. All the nodes are powered from USB, with the same model of adapter.
NRF24 boards are all powered from 5V pin with a voltage regulator.The all work perfectly, except for one that randomly disconnects from time to time (sometimes after one day, other times after more than one week). This node is the only one acting as an actuator; in an earlier version it was also controlling a PIR sensor, but trying to understand if the PIR continuos check was causing the issue, I moved away the PIR and now it's only controlling a relay.
If I turn it off and on, it suddenly works perfectly. The same if I connect it to my laptop to look at the serial monitor.
Do you have any suggestion on how to debug this kind of behavior?
I'm quite new to Arduino and mysensors...Thanks
DanieleHi @daniele-frigo, welcome to the MySensors community!
The best way to debug is to get the debug log from the node. Either by connecting a computer and keeping it on until the node acts up, or by using a standalone logger like this https://www.openhardware.io/view/532/The-Logger-Machine-Short-and-long-term-serial-logging
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login