Dimming and brightening using PWM

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
MikeA
New user
Posts: 2
Joined: 06 Sep 2017, 07:08

Dimming and brightening using PWM

#1 Post by MikeA » 06 Sep 2017, 07:28

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?

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Dimming and brightening using PWM

#2 Post by grovkillen » 06 Sep 2017, 08:03

Regarding 2)

You can use a dummy device for that. Search the forum and you'll find more on this topic.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests