LED fade in/ out
Interactives
Posts: 83
Hello commrads, I am wondering if any of you know a quick and easy way to make an led array fade up , and fade out, when commanded to do so by our friend the STAMP. Ive got a led cluster here that rund on 14VDC, and Ive been trying to get the effect using a larger capacitor hooked in parallel to the led cluster. The result, is that the LEDs ramp up fast, ramp off slow, and never reach their full brightness. I'm thinking thats because the resistors in series with the cap. are limiting the total current getting to the cluster. I know that there is some way to do this with a PWM, but am unsure about the STAMPS ability to do this. Any thoughts? THANKS
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
This is a screen capture movie file created with Camtasia of the circuit I made to fade the LEDs.
it made a 4 meg avi file but reduced the file to just 293k link below.
www.stickerpub.com/cshow.wmv
The java applet is at www.falstad.com
click on the math and physics link then under Electrodynamics click on Analog Circuit Simulator Applet
When its running select File... Import and cut and paste the code below, then you can change it all you want