I tried to run some LED strip lights using the PWM output pins. It works but the light is flickering. It's visible at anything below 100% but becomes pretty bad at lower percentages. Is there a way to increase the frequency to reduce the flickering?
Announcement
Collapse
No announcement yet.
PWM Pins Flickering
Collapse
X
-
See this post I made a while back:
https://forums.homeseer.com/forum/an...vs-analogwrite
Basically if you edit the original Arduino sketch and replace softpwmset with analogwrite (calling a different library) you can eliminate the flicker, but:
You will lose soft on/off
You will have to connect to hardware PWM pins, you can't use just any pin. There are specific PWM pins depending on your Arduino model.
There was a note in the plugin beta release notes "fixed PWM"
I know nothing beyond that but maybe this issue is getting fixed soon.
Comment