Skip to content
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

Visible flicker on incandescent bulb (Germany, 230V 50Hz) #3

Open
reins-ch opened this issue Dec 18, 2018 · 4 comments
Open

Visible flicker on incandescent bulb (Germany, 230V 50Hz) #3

reins-ch opened this issue Dec 18, 2018 · 4 comments

Comments

@reins-ch
Copy link

Up to about 80% power to my 25W incandescent bulb there is a very visible flicker of I am guessing 5Hz. Above 80% I guess the flicker is still there but not visible due to persistence of vision.

Is anyone else experiencing this, too?
Is this fixable?

@fabianoriccardi
Copy link

fabianoriccardi commented Dec 31, 2018

Hi,
I've also noted a small annoying flicker, visible from middle brightness. I think that the problem is in the algorithm: the timer continue to trigger every 16microseconds (clock running at 16mhz, no prescaler, 8bit counter), regardless the AC frequency. Given that the 2 frequencies are not ideal, they might diverge, so the relative time between the zero cross time and the real dimmer activation is varying.

Also I noted that this library raises an interrupt every 16 microseconds, making hard running user code. I'm developing a library for arduino/esp that triggers only when dimmer has to turn on. Of course, It doesn't present the flickering effect.

@waipeinan
Copy link

mad flicker on most of these

@fabianoriccardi
Copy link

Which library are you referring to?

@waipeinan
Copy link

i'm simply trying the examples in Lib-RBD-Dimmer-for-Mega-UNO-Leonardo and using a robotdyn zero crossing ac module..... just dipping in at this stage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants