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 freezing up

Node freezing up

Scheduled Pinned Locked Moved Troubleshooting
29 Posts 9 Posters 14.7k Views 3 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.
  • ferpandoF ferpando

    @TimO
    Could you elaborate a bit more about the watchdog?

    MagiskeM Offline
    MagiskeM Offline
    Magiske
    wrote on last edited by Magiske
    #21

    @ferpando You can enable a watchdog timer on your Arduino. If your code hangs your Arduino, it should reset/reboot it. But not sure that would reset the radio.

    Found good description -> http://www.megunolink.com/how-to-detect-lockups-using-the-arduino-watchdog/

    1 Reply Last reply
    0
    • ferpandoF ferpando

      @AWI
      Looks like it has a regulator and a 1000uF capacitor plus a smaller one.
      I'll try to add a second regulator with capacitor just for the arduino and see what happens

      image.jpg

      vladimirV Offline
      vladimirV Offline
      vladimir
      wrote on last edited by
      #22

      @ferpando, @Magiske, You solved this problem? I realized what the problem, but unfortunately, I do not understand how to solve it. Can you explain exactly how to change node?

      1 Reply Last reply
      0
      • T TimO

        I have exactly the same Problem. But I'm not sure the relays are the problem.
        I've added a keep alive message to know when it stops working and implemented a watchdog.

        AWIA Offline
        AWIA Offline
        AWI
        Hero Member
        wrote on last edited by
        #23

        @TimO said:

        I have exactly the same Problem. But I'm not sure the relays are the problem.
        I've added a keep alive message to know when it stops working and implemented a watchdog.

        That sounds like you keep the motor running and accept that the car crashes every once in a while ;) Better to find the root cause of the "freeze" and eliminate it.

        T 1 Reply Last reply
        0
        • AWIA AWI

          @TimO said:

          I have exactly the same Problem. But I'm not sure the relays are the problem.
          I've added a keep alive message to know when it stops working and implemented a watchdog.

          That sounds like you keep the motor running and accept that the car crashes every once in a while ;) Better to find the root cause of the "freeze" and eliminate it.

          T Offline
          T Offline
          TimO
          Hero Member
          wrote on last edited by
          #24

          @AWI You're right of course! But ... if the Arduino is the root of all evil in this case, it will reset once in a while but still work. If it still freezes it could be the radio that crashes. So I'm still trying to solve the problem. :-)

          All parts use the same 5V source (which I already switched) but the radio of course is connected through a regulator. If the watchdog solves the problem (so the radio is not the problem) I will add a bigger capacitor which I already ordered.

          1 Reply Last reply
          0
          • ferpandoF Offline
            ferpandoF Offline
            ferpando
            Hero Member
            wrote on last edited by
            #25

            I made this regulator based on this schematic to power the node independently, to see if it solves the problem.

            IMG_8863.JPG

            7805-5V-Regulated-Power-Supply-Overvoltage-Protection-Circuit-diagram.jpg

            1 Reply Last reply
            0
            • RJ_MakeR Offline
              RJ_MakeR Offline
              RJ_Make
              Hero Member
              wrote on last edited by
              #26

              Does this node by any chance have a temp. sensor also?

              My nightmare.. http://forum.mysensors.org/topic/338/reliability/3

              RJ_Make

              ferpandoF 1 Reply Last reply
              0
              • RJ_MakeR RJ_Make

                Does this node by any chance have a temp. sensor also?

                My nightmare.. http://forum.mysensors.org/topic/338/reliability/3

                ferpandoF Offline
                ferpandoF Offline
                ferpando
                Hero Member
                wrote on last edited by
                #27

                @ServiceXp said:

                http://forum.mysensors.org/topic/338/reliability/3

                Mine doesn`t at the moment, but should be easy to add.

                1 Reply Last reply
                0
                • NuubiN Offline
                  NuubiN Offline
                  Nuubi
                  wrote on last edited by
                  #28

                  Any update on this?
                  Asking since I also have a multisensor that locks up every now and then. Thinking of some way to reset the radio a couple of times per day.
                  Any suggestions how to implement this?

                  ferpandoF 1 Reply Last reply
                  0
                  • NuubiN Nuubi

                    Any update on this?
                    Asking since I also have a multisensor that locks up every now and then. Thinking of some way to reset the radio a couple of times per day.
                    Any suggestions how to implement this?

                    ferpandoF Offline
                    ferpandoF Offline
                    ferpando
                    Hero Member
                    wrote on last edited by
                    #29

                    @Nuubi
                    No more node lock-ups since I installed that power supply, so it works as expected.

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


                    15

                    Online

                    11.7k

                    Users

                    11.2k

                    Topics

                    113.0k

                    Posts


                    Copyright 2019 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