Hi, I am preparing to install some lighting effects into my car using white and blue LEDS. When turned on, I would like to have the LEDS slowly illuminate from their off state to there on/fully bright state over a time of about 3 seconds from when the power is switched on (Slowly getting brighter as power is connected). And when turned off, I would like to have the LEDS slowly dim down from there on/fully bright state to their off state in about 3 seconds from when the power is switched off. (Slowly dimming as power is disconnected). So far I have successfully made a circuit that slowly dimmed a LED as the power to it was cut, but I cant seem to find a way to slowly illuminate a LED as power is switched on. The circuit I made involved a 1500uF capacitor connected in parallel to the LED with a 390-ohm resistor connected in series between the capacitor and the LED’s anode, the power is from the cars 12V battery and is regulated for 12V, so when the car is on the voltage wont jump up to 14.X. How would I go about slowly fading in a LED when the power to it is switched on and slowly fading out an LED when the power is disconnected? I figure that I could use some type of circuit that slowly increased voltage to an LED and charged a capacitor when power is supplyed. Then when the power is cut the capacitor would discharge and slowly fade the LED out. Can anyone help me design an circiut to accomplish this type of automative LED Fading?
Thanks in Advance!
Erik
Thanks in Advance!
Erik