P
Peter
Guest
I want to turn on multiple 35V AC lights with a PIC then have them
fade off. ie. fast turn on, slow turn off. The lights draw betweem
500mA and 1 amp of current each. I was originally thinking of doing it
with an SCR or triac and doing PWM using the PIC for the fading but I
decided it was probably much simpler to just do it with analogue
circuitry.
I was thinking of connecting the PIC to a ULN2803 then to MJE2955's
via a base resistor. (Absolute max PIC output is 100mA or 12.5mA per
output pin which I thought was a bit low for turning on the
MJE2955's). Rectified 35V AC goes to the MJE2955 then to the light
then to ground. Capacitor between rectified 35V and the junction of
the ULN2803 and base resistor.
- Is the circuit correct?
- Any better alternatives?
- What base resistor value (approx) for full saturation?
- What capacitor value to give a fade time of about 2 seconds?
35vAC---bridge rect---------.
|
|
.--------------+
| |
cap = /
| |<
PIC-ULN2803--.---/\/\----| MJE2955 PNP Power
res |\
\
|
Light
|
|
GND
fade off. ie. fast turn on, slow turn off. The lights draw betweem
500mA and 1 amp of current each. I was originally thinking of doing it
with an SCR or triac and doing PWM using the PIC for the fading but I
decided it was probably much simpler to just do it with analogue
circuitry.
I was thinking of connecting the PIC to a ULN2803 then to MJE2955's
via a base resistor. (Absolute max PIC output is 100mA or 12.5mA per
output pin which I thought was a bit low for turning on the
MJE2955's). Rectified 35V AC goes to the MJE2955 then to the light
then to ground. Capacitor between rectified 35V and the junction of
the ULN2803 and base resistor.
- Is the circuit correct?
- Any better alternatives?
- What base resistor value (approx) for full saturation?
- What capacitor value to give a fade time of about 2 seconds?
35vAC---bridge rect---------.
|
|
.--------------+
| |
cap = /
| |<
PIC-ULN2803--.---/\/\----| MJE2955 PNP Power
res |\
\
|
Light
|
|
GND