I have created a working circuit as shown at this link. I use a NE555P timer, 2N4401 transistor (rated for 200 mA,) similar resistors & capacitor. A single LED is connected and fades in and out. The fade is about 3 to 5 seconds long. My breadboard is powered with 6VDC but the final project will eventually use a car battery at 12VDC (not used in a car, just a power source.)
The LEDs I have are a mix bag from Radio Shack. The package has listed "voltage at 20mA" and they range from about 1.8v to 2.4v. Is this the forward voltage and forward current of the LED?
If I want to have maybe 8 LEDs (multiple colors if possible in pairs, such as 4 red, 2 green, 2 yellow) connected on this circuit, how would I go about connecting them? Is series or parallel better in my circuit? Then how do I calculate the current limiting resistor at each new LED if adding more LEDs in series or parallel? How do you calculate the current to ensure I stay under then 200mA rating of the transistor? Do you just add up all the forward currents of the LEDs? So in my case with 8 LEDs at 20mA = 160mA? And that doesn't matter if connected in parallel or series?
A second part to my question, if it isn't too hard or complicated...Can you have a second LED (or set of LEDs) that fades on/off opposite of the first LED? So that when LED #1 is fading on, then LED #2 at the same time is fading off. Or in my example above with 8 LEDs have 4 of them on one strand fading opposite the other 4.
The LEDs I have are a mix bag from Radio Shack. The package has listed "voltage at 20mA" and they range from about 1.8v to 2.4v. Is this the forward voltage and forward current of the LED?
If I want to have maybe 8 LEDs (multiple colors if possible in pairs, such as 4 red, 2 green, 2 yellow) connected on this circuit, how would I go about connecting them? Is series or parallel better in my circuit? Then how do I calculate the current limiting resistor at each new LED if adding more LEDs in series or parallel? How do you calculate the current to ensure I stay under then 200mA rating of the transistor? Do you just add up all the forward currents of the LEDs? So in my case with 8 LEDs at 20mA = 160mA? And that doesn't matter if connected in parallel or series?
A second part to my question, if it isn't too hard or complicated...Can you have a second LED (or set of LEDs) that fades on/off opposite of the first LED? So that when LED #1 is fading on, then LED #2 at the same time is fading off. Or in my example above with 8 LEDs have 4 of them on one strand fading opposite the other 4.