Open toblum opened 5 years ago
Hi @toblum,
I haven't encountered this issue. It looks like the watch dog timer on CPU 1 is not being fed enough. Core 1 is dedicated for the display update, so you can try to lower the refresh rate and see if it improves the behaviour and work out the bug from there. The display update is pushed to its limit it seems.
Cheers Karl
HI Karl,
thank you for your quick answer. I'm not sure were to tweak the refresh rate.
If I set https://github.com/Nurgak/IoT-RGB-LED-Matrix/blob/b54c5e254e10dc6463638fc6ebbb146b841fa295/IoTRGBLEDMatrix.ino#L102 to 2 instead of 1 it seems to run stable (despite some MQTT connection issues, not sure if these are related) but flickers like hell. Is there a better place to finetune the rate?
Best regards Tobias
It seems the update rate is really pushing the ESP. Lowering isn't really an option as you start noticing the flicker, as you say.
You could try this line: https://github.com/Nurgak/IoT-RGB-LED-Matrix/blob/b54c5e254e10dc6463638fc6ebbb146b841fa295/config_dummy.h#L27
It's strange that it crashes on your side. I have two matrices working fine. Could you check if you have any debugging output enabled in Arduino IDE? That could add some overhead maybe.
I tried with many combiations of these values but didn't find a working one. Some are flickering, others run instable. I'm not sure what is different in my setup. I ordered another ESP32 just in case that's the cause. I also changed the power supply, no change.
Debug output isn't enabled.
Regards Tobias
I faced the same problem I commented out all arduino OTA related lines then it worked
Hi @Nurgak,
I stumbled over your well documented project and tried to make it work with my matrix, but have problems to run it stable.
If I compile it using the latest ESP32 core it just continously reboots with an assertion error. If I'm using an older core it works for a short time, even shows the clock for 3 seconds, but then reboots.
Did you experience such behaviour too? Do I have to use a defined version of PubSubClient or ESP32 core?
Best regards Tobias