Hard Freeze when transmitting data
-
I'm getting a hard freeze (even the hardware watchdog is failing to reset the device) during transmissions, I have code here:
https://github.com/Bokbot/incubot/tree/mysensor
its basically a pidloop controlling a lightbulb in an incubator for some eggs.
so long as I comment out the send lines like this:
send(msgHum.set(humidity, 1));everything runs continuously, but with those lines included the thing freezes randomly after an inconsistent amount of time. Meaning it does transmit for a good fifteen minutes usually before freezing.
Has anyone else seen behavior like this?
-
@Josh-Cox Can you post the node debug when it happens?
-
Sounds like a power issue. Do you have a capacitor for the radio? The troubleshooting flowchart can probably be useful.
-
that flowchart is good stuff, I'll definitely refer to it in the future.
swapping to a 4.7uF cap seems to maybe have fixed the issue, I've only observed for a couple of hours so maybe it just likes the heat of the day here
-
I am definitely getting freezes still. Maybe it's just bad hardware, I'm going to try swapping components.