-
Notifications
You must be signed in to change notification settings - Fork 638
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
LED flickering when saving settings to flash #191
Comments
Original comment by GaelZorro1980 (Bitbucket: GaelZorro1980, GitHub: Unknown): Update after comparing to version 1.8.3: Would reducing the PWM frequency help with this issue at all? |
it's a known issue. Will investigate further. |
Reducing the frequency helps but does not removes the problem completely and only when close high values on one or two channels at most... |
Original comment by GaelZorro1980 (Bitbucket: GaelZorro1980, GitHub: Unknown): I've noticed that at the maximum value (255) the issue is almost gone. However my oscilloscope says the duty cycle is about 90-95% at most. |
Original comment by GaelZorro1980 (Bitbucket: GaelZorro1980, GitHub: Unknown): Upon more investigation here is what is happening: |
Original comment by GaelZorro1980 (Bitbucket: GaelZorro1980, GitHub: Unknown): Espurna is great, and I'm currently running this firmware on more and more appliances! |
Original comment by GaelZorro1980 (Bitbucket: GaelZorro1980, GitHub: Unknown): Very nice! But it's too bad to lose the brightness memory. What I've done is I have made a new firmware which receives commands only from MQTT and uses a PCA9685 in combination with the LEDFader library for nice and smooth animations. If I suceed to integrate it in Espurna I'll post it here. |
With version 1.9.6 you will be able to disable light color continuous saving by setting LIGHT_SAVE_ENABLED to 0. This will prevent flickering in most cases at expense of loosing the current color, unless you click the UPDATE button in the web interface. |
LIGHT_SAVE_ENABLED (defaults to 1) available with 1.9.6 |
Current development version uses https://github.com/StefanBruens/ESP8266_new_pwm with NMI timer and flickering disappears. Will release it as 1.9.8 soon. |
Original comment by GaelZorro1980 (Bitbucket: GaelZorro1980, GitHub: Unknown): Wow, now that's great ! |
Released with 1.9.8 |
Removing milestone: 1.9.8 (automated comment) |
Hello, |
Originally reported by: GaelZorro1980 (Bitbucket: GaelZorro1980, GitHub: Unknown)
Hi, I successfully flashed the last version 1.9.0 of the firmware to my Magic Home Led Controller (RGBW version) by setting esptool to DOUT mode. QIO, DIO or QOUT did not work.
When the light turns on, I can see flickering and flashes, right after it turns on and about every minute afterwards. Upon more investigation, I noticed it happens when the settings are saved to the flash. In the terminal it says "[SETTINGS] Saving".
I guess writing to the flash causes disruption with the PWM output.
Have you already seen this, is there an adjustment to make to prevent it?
The text was updated successfully, but these errors were encountered: