Node freezing up
-
@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/
-
@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
-
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.@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.
-
@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.
@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.
-
I made this regulator based on this schematic to power the node independently, to see if it solves the problem.


-
Does this node by any chance have a temp. sensor also?
My nightmare.. http://forum.mysensors.org/topic/338/reliability/3
-
Does this node by any chance have a temp. sensor also?
My nightmare.. http://forum.mysensors.org/topic/338/reliability/3
@ServiceXp said:
Mine doesn`t at the moment, but should be easy to add.
-
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?