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. Trouble with nodes going offline after a while

Trouble with nodes going offline after a while

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 4 Posters 1.0k Views 4 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.
  • R Offline
    R Offline
    Ryanmt
    wrote on last edited by
    #3

    Thanks for the reply.

    I'm using the easypcb for the nodes which have a cap on the radio to aid with stability.

    I have checked my connectors, i'm pretty confident (and experienced) in putting bits together, to have bad connections on 4 nodes would be very unlucky!!!

    Re the boost converters - So far the bootsted ones are more stable than the 1mhz direct drive from the battery ones.

    Tis odd. I think i need to get my head around the watchdog timers better to reboot the arduinos automatically.

    I have tested a node without mysensors too - just running a temp sensor and OLED, that has been reliable.

    skywatchS 1 Reply Last reply
    0
    • R Ryanmt

      Thanks for the reply.

      I'm using the easypcb for the nodes which have a cap on the radio to aid with stability.

      I have checked my connectors, i'm pretty confident (and experienced) in putting bits together, to have bad connections on 4 nodes would be very unlucky!!!

      Re the boost converters - So far the bootsted ones are more stable than the 1mhz direct drive from the battery ones.

      Tis odd. I think i need to get my head around the watchdog timers better to reboot the arduinos automatically.

      I have tested a node without mysensors too - just running a temp sensor and OLED, that has been reliable.

      skywatchS Offline
      skywatchS Offline
      skywatch
      wrote on last edited by
      #4

      @ryanmt I had these issues again today - I am using pro mini with nrf24l01+ so it's not them as we are using different kit...

      If I ever find a solution I will let you know.

      Z 1 Reply Last reply
      0
      • skywatchS skywatch

        @ryanmt I had these issues again today - I am using pro mini with nrf24l01+ so it's not them as we are using different kit...

        If I ever find a solution I will let you know.

        Z Offline
        Z Offline
        zen85
        wrote on last edited by
        #5

        @skywatch

        hey. i was having the same problems from time to time - i found out that its mostly wiring - therefor i am a great fan of easypcb and other boards that let one mount the radio directly.
        and also mounting a fan on my gateway (rpi3b) helped a lot with that. other than that repeaternodes...

        also install myscontroller - makes debugging way nicer and more efficient because you see in realtime whats going on... you might not have just one problem but more at the same time.

        skywatchS 1 Reply Last reply
        1
        • Z zen85

          @skywatch

          hey. i was having the same problems from time to time - i found out that its mostly wiring - therefor i am a great fan of easypcb and other boards that let one mount the radio directly.
          and also mounting a fan on my gateway (rpi3b) helped a lot with that. other than that repeaternodes...

          also install myscontroller - makes debugging way nicer and more efficient because you see in realtime whats going on... you might not have just one problem but more at the same time.

          skywatchS Offline
          skywatchS Offline
          skywatch
          wrote on last edited by skywatch
          #6

          @zen85 Thanks for the feedback - I do have a node where pin D9 was a bit duff - It would work for ages and then suddenly the node ceased sending data. I eventually tacked it down and 'squished' the connector with pilers and it's been solid ever since. I also have a big heatsink and temperature controlled fan on the pi.

          Now it has done its' testing I will build it into an enclosure and solder all wires.

          1 Reply Last reply
          0
          • skywatchS Offline
            skywatchS Offline
            skywatch
            wrote on last edited by
            #7

            A bit of bug tracking today and I noticed 2 things that would cause problems with the mysensors network.

            1. I accidently swapped values on a node and it was sending data as fast as it could - this would eventually crash the gateway - so always check all nodes are sending data as often as you think they are!

            2. Loose connections - been here before but a bad connection on pin9 of promini/uno will cause the node to 'die'.

            Just thought I'd update on this as promised.

            1 Reply Last reply
            0
            • alowhumA Offline
              alowhumA Offline
              alowhum
              Plugin Developer
              wrote on last edited by
              #8

              I've had so many wiring issues that I always use either the "Nano Wireless Expansion Board", where the NRF module just plugs in, or I use devices that have the radio built in, like the RF-Nano.

              Use the MyDebug function to check on your radio. And generally debug your sketch to make sure no race conditions occur :-)

              skywatchS 1 Reply Last reply
              0
              • alowhumA alowhum

                I've had so many wiring issues that I always use either the "Nano Wireless Expansion Board", where the NRF module just plugs in, or I use devices that have the radio built in, like the RF-Nano.

                Use the MyDebug function to check on your radio. And generally debug your sketch to make sure no race conditions occur :-)

                skywatchS Offline
                skywatchS Offline
                skywatch
                wrote on last edited by skywatch
                #9

                @alowhum I actually orderd some of those nano boards by mistake (thinking they would work with promini). I don't have a nano so not much use, but I will get one today to try.

                Regarding bad connections, dosen't using that board double the failure points?
                With cable to the node you have the cable joint and node soldering joint.
                With this board you have the cable joint, node soldering joint, socket connection and socket soldering connection. - Just a thought! ;)

                1 Reply Last reply
                0
                • alowhumA Offline
                  alowhumA Offline
                  alowhum
                  Plugin Developer
                  wrote on last edited by
                  #10

                  Not all failure points are the same. The Dupont wires break easily. Wires embedded inside hardware don't. Since I use these boards I've never had any trouble.

                  skywatchS 1 Reply Last reply
                  0
                  • alowhumA alowhum

                    Not all failure points are the same. The Dupont wires break easily. Wires embedded inside hardware don't. Since I use these boards I've never had any trouble.

                    skywatchS Offline
                    skywatchS Offline
                    skywatch
                    wrote on last edited by
                    #11

                    @alowhum I know - I was being pedantic (unusual for me) ;)

                    I have had really bad batches of dupont cables from online sellers, so much that I bought a crimp tool and connectors and now make my own, but only for testing and prototyping. Never for finished items as they are all soldered.

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Ryanmt
                      wrote on last edited by Ryanmt
                      #12

                      Thought I would update this thread, still struggling but made some progress.

                      I added the watchdog which helped somewhat, so far I have found a few things which I have fixed or investigated further on my efforts to make things more reliable.

                      My gateway crashes after a few days - unsure why, suspect its a power issue so I have ordered a standalone 5v to 3.3v power supply to run the radio. My setup is a Wemos D1 mini. I am wary of changing too many things at once but I am considering wiring directly to a PI for a gateway.

                      My side gate sensor used to drop off and come back after an hour or two. I noticed the TX was hovering around 90-100% so I thought it could be signal related, I built a mains powered repeater with the RFM69HW and placed it nearby. The side gate sensor favours the direct connection to the gateway but it seems to be more reliable. This sensor is a 1mhz/direct off the battery sensor.

                      My BME280 sensor crashes a lot, I think this is related to the temp sensor rather than the node, seems to stop returning measurements except the battery voltage for a few hours then stops entirely. This is a sensor with a boost converter and when it crashes it never comes back, has to be reset. I am going try a different library for reading the BME280 when I get chance. I have also observed it gets less reliable as the battery voltage drops below 2.5v.

                      Next up with annoying failures is my front gate sensor, previously most reliable it stopped working for 12hrs before magically reconnecting today, no reset required. It was rock solid till the battery voltage dropped to 2.5v, it's working now but I am going leave it to see if as the voltage drops the sensor becomes more unreliable. This sensor has plenty of signal strength to spare so I don't think the relay will help, its probably only 8m from the gateway.

                      The boost converters I am using are the cheapest ones commonly available from china. To continue the experiment I have ordered some slightly more expensive ones to see if the performance changes.

                      https://www.ebay.co.uk/itm/3-3V-5V-DC-DC-Boost-Converter-Step-up-Voltage-Regulator-Power-Supply-Module-New/272824785441?ssPageName=STRK%3AMEBIDX%3AIT&var=571970719316&_trksid=p2057872.m2749.l2649

                      I do have the capacitors in place, but am wondering if its worth experimenting with the values.

                      People mentioned soldering/connectivity issues. I don't think thats my issue here. All my sensors are EasyPCB Rev9. Most of my sensors have no wires (ie no sensors, they're just testing their existence) or simple stuff like contact sensor or relay control

                      This is the relay I made, its got a custom PCB under the sensor with a HLK-PM03, fuse, thermal fuse and a few other bits. Debmowsk designed the circuit originally I just rejigged it so it can be stacked on top of the easypcb rev9

                      0_1564601144554_5621520d-6a58-4ad8-8489-47330a480451-image.png

                      0_1564601223844_8b25973e-adfe-4ee7-a41d-6a051811538a-image.png

                      0_1564601768977_2cd9261c-3180-4dd7-bc66-d435ec111c51-image.png

                      0_1564601800095_ab5305a9-5ff6-4ced-8610-1d379e9410f0-image.png

                      0_1564602208279_4c23f2b6-8983-40e9-a1b4-463ea3a74c2e-image.png

                      0_1564605300972_fbe8123a-5190-4c06-a2a9-f9ea018fc828-image.png
                      Far right of the graph shows the period the front gate sensor was offline for.

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


                      10

                      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