Page 1 of 1

Dimming and brightening using PWM

Posted: 06 Sep 2017, 07:28
by MikeA
I want to slowly increase and decrease the brightness of a string of LEDs using PWM.

What is the best solution? I can see 3 possibilities:
1) Write a Node-red function to send an increasing (or decreasing) variable to ehe ESP PWM command.
2) Using the ESP rules - but I can't see how to store a variable that is incremented or decremented on a timer loop.
3) Modify a plugin to perform this ramp-up or rampdown function.

Any better ideas - or suggestions for options 2 or 3 above?

Re: Dimming and brightening using PWM

Posted: 06 Sep 2017, 08:03
by grovkillen
Regarding 2)

You can use a dummy device for that. Search the forum and you'll find more on this topic.