Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Node randomly disconnecting

Node randomly disconnecting

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 2 Posters 581 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DanieleF
    wrote on last edited by
    #1

    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

    mfalkviddM 1 Reply Last reply
    0
    • D DanieleF

      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

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Hi @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

      1 Reply Last reply
      1
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      18

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular