-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P073_7DGT; 7-segment; 6-digit TM1637 commands are no longer executed after a certain time (cash overflow?) #4939
Comments
First you can also use the looptimer, which will be running at a more constant interval as it is rescheduled based on the previous scheduled time. And now a bug in your rules...
Not sure how this variable could be anything other than |
I don't see any added value from this. But I tested some suggestions. As a rule, I don't see any errors. I have 3 states (0,1,2). When variable 40 reaches 2, it starts again at 0. Or am I wrong? New code:
Now I've installed the new code and rebooted. The code has now been running for 20 minutes and the display also freezes.
|
Can we rule out ESP & display temperature and power supply stability? |
I have not connected a temperature sensor and constant voltage monitoring. However, a 1000µF capacitor is connected. I can also say that all other functions work without any problems: Only the display freezes. As an amateur, I would exclude the temperature and voltage here. |
I was suggesting that the TM1637 display unit might get overheated, maybe because it is in a small enclosure or confined space? |
Can you simply test with less bright lit LEDs to see if that makes any difference? For example, could it be that it isn't just failing after XX minutes, but rather when some max. nr of LEDs has been lit for extended amount of time? |
Astonishing. I reduced the brightness to half and the display has been running stable for 12 hours. I would not have thought that. Thanks for the tip! You obviously already know these symptoms. From where? |
Well, the hint you gave was that the rest of the devices was running fine, so the most likely 'candidate/culprit' is the display module itself, and as it didn't manifest immediately, it would probably be heat related 🥵 Reducing the heat source then should improve things 👍 |
Also you're not the first one to have "strange" issues caused by underpowered power supply or heat. |
Project:
I built a dashboard that shows the time, day and outside temperature alternately every 3 seconds.
(And other stats via a Neopixel, but that's irrelevant for this)
Bug:
Unfortunately, the commands are only initially implemented correctly. After a certain time (approx. 1 hour) the old text is no longer deleted, but is only written over it (spaces contain numbers from the old text). At some point the text stops (manual commands are no longer executed) and I can only see in the log page that there should actually be a different text there. It feels like a memory overflow.
Code:
Log:
Facts:
Build: ESP_Easy_mega_20231225_neopixel_ESP8266_4M1M Dec 25 2023
HW: ESP 8266, Wemos D1 mini
The text was updated successfully, but these errors were encountered: