I'm new at electronics and am learning a lot from YouTube and from Scherz's "Practical Electronics for Inventors".
On YouTube, there was a video I watched called "How to Control a Ton of RGB LEDs with Arduino & TLC5940," in which Kevin Darrah talked about PWM switching and that got me thinking about AC ripple and AC ripple tolerance specs in rectifiers.
I have been trying to understand how software and hardware interface and how good software can misbehave if the hardware is malfunctioning due to external factors. If I'm thinking about this correctly, it occurred to me that software could behave in unintended ways if enough AC ripple was introduced into a circuit utilizing PWM switching by affecting duty cycles and thus overall software logic. That got me thinking if it was possible to design a rectifier with adjustable AC ripple and to then have a series of LEDs controlled by software to see if you could introduce "buggy" behavior in the LEDs by adjusting AC ripple (hopefully you could do this before you fry the microcontroller?). It would also be interesting, I don't know if this is possible, to use software to detect AC ripple to try and detect the buggy behavior and either shut the entire circuit down or try to correct for it. I'm still not quite sure if I'm thinking about this correctly, but is it possible to demonstrate an effect like this?
Best wishes,
Edward
On YouTube, there was a video I watched called "How to Control a Ton of RGB LEDs with Arduino & TLC5940," in which Kevin Darrah talked about PWM switching and that got me thinking about AC ripple and AC ripple tolerance specs in rectifiers.
I have been trying to understand how software and hardware interface and how good software can misbehave if the hardware is malfunctioning due to external factors. If I'm thinking about this correctly, it occurred to me that software could behave in unintended ways if enough AC ripple was introduced into a circuit utilizing PWM switching by affecting duty cycles and thus overall software logic. That got me thinking if it was possible to design a rectifier with adjustable AC ripple and to then have a series of LEDs controlled by software to see if you could introduce "buggy" behavior in the LEDs by adjusting AC ripple (hopefully you could do this before you fry the microcontroller?). It would also be interesting, I don't know if this is possible, to use software to detect AC ripple to try and detect the buggy behavior and either shut the entire circuit down or try to correct for it. I'm still not quite sure if I'm thinking about this correctly, but is it possible to demonstrate an effect like this?
Best wishes,
Edward