rjk_cmh
Member
There are plenty of examples on the internet of how to make an LED fade on and off in a sort of pulsating or breathing pattern, but these all use analog circuitry and 555 timers for the most part. I'd like to figure out how to implement something like this in a PLC's digital logic, using some high speed PWM magic.
My assumption is that I would need to first create some kind of S-curve ramp generator, and then use that to control the pulse width of a PWM output. However I don't really know how to do this at all. What would be the best way?
I would like to test this on some fairly cheap hardware, or perhaps in a free software simulator. I have some Velocio "PLC" hardware, and I like the look of the various inexpensive options from Automation Direct. How should I achieve this weird goal?
My assumption is that I would need to first create some kind of S-curve ramp generator, and then use that to control the pulse width of a PWM output. However I don't really know how to do this at all. What would be the best way?
I would like to test this on some fairly cheap hardware, or perhaps in a free software simulator. I have some Velocio "PLC" hardware, and I like the look of the various inexpensive options from Automation Direct. How should I achieve this weird goal?