millwood
- Joined Dec 31, 1969
- 0
if the two LEDs in my idea are of different colors, it would do fading as well as color changes.
and it saves parts too.
and it saves parts too.
Try drawing it, saves time. It won't fade, just change colors.if the two LEDs in my idea are of different colors, it would do fading as well as color changes.
and it saves parts too.
hgmjr had mentioned XORing the outputs. If the outputs of the two 555s were close to 50% duty cycle and slightly off frequency, his idea would result in nearly 0% to nearly 100% duty cycle.
Using a simple wired OR gate with the two diodes would result in a variation of only about 50% to nearly 100%.
what if it does fade?Try drawing it, saves time. It won't fade, just change colors.
Well, the easy way would be to use a 4070 quad XOR gate, perhaps driving a ULN2004/ULN2804 Darlington array. That would keep parts count low; you wouldn't even need resistors between the XOR gate and the inputs to the Darlington array, as they're built in.True enough. I was trying for simple, but missed. How would you go about making a simple XOR gate that can also drive a transistor? XOR chippie and a transistor driver?
If the LEDs were the same color, then yes. However, since the LEDs are being directly driven by the 555's outputs, the timing will vary wildly depending on what combinations of 555 outputs are sourcing/sinking current at what time; you can see plain evidence of that in his output. The "fading" would be very abrupt.Actually Millwood's design is a XOR gate from the point of LED being lite or not lite.
Different states - lite
Same states - dark.
Now you're adding parts count.Leaving one LED off would mean it was only halfway bright, but a simple diode bridge would fix that if it mattered.
the timing will always be the same: it is when the two 555s output different (high vs. low or low vs. high).If the LEDs were the same color, then yes. However, since the LEDs are being directly driven by the 555's outputs, the timing will vary wildly depending on what combinations of 555 outputs are sourcing/sinking current at what time; you can see plain evidence of that in his output. The "fading" would be very abrupt.
Sorry, due to the way you've wired the LEDs on the outputs of the 555s, the timing will change due to the changing load. If the LEDs are not conducting, the 555 output will be higher or lower than it would be if sourcing/sinking current to the LEDs, which will change the rate that the timing capacitor charges/discharges through the resistor. If you don't believe me, then I invite you to experiment with real components, which will confirm my assertion.the timing will always be the same: it is when the two 555s output different (high vs. low or low vs. high).
You're using two different LEDs; one green, one blue. Green LEDs usually have a Vf somewhere between 2.3-3.3v. Blue LEDs are usually somewhere between 3.3v-3.8v.the forward voltage drop of different diodes will affect the intensity of the diodes WHEN THE DIODES ARE CONDUCTING.
I'll agree with you on that.that smoothness of the transition depends on the beat differnetials: the smaller, the smoother.
the timing will always be the same. i can replace the leds with resistors and the timing will be the same.Sorry, due to the way you've wired the LEDs on the outputs of the 555s, the timing will change due to the changing load.
the intensity of the leds, when they are on, depends on their current flow. you can equalize the current going through the leds by giving each of them their own current limiting resistors.You're using two different LEDs; one green, one blue. Green LEDs usually have a Vf somewhere between 2.3-3.3v. Blue LEDs are usually somewhere between 3.3v-3.8v.
even if you don't use individual current limiting resistors, the difference isn't that big when the supply current is high.You're using two different LEDs; one green, one blue. Green LEDs usually have a Vf somewhere between 2.3-3.3v. Blue LEDs are usually somewhere between 3.3v-3.8v.
here is what I meant.word of caution though: for anyone wishing to use this design with multiple LEDs, you want to put a real diode, like 1n4148, in serial with each string of the diodes to protect them from being reversed damaged. This only applies if multiple diodes are used in a string.
Here, try an experiment in your simulator.the timing will always be the same. i can replace the leds with resistors and the timing will be the same.
the reason is simple: the conduction takes place when the two timers are in a different state. what state the timers are in is independent of the load.
1 diode bridge vs. a XOR gate and drivers. This I can live with.Now you're adding parts count.
In theory the load shouldn't matter, because the if the RC network sees the same voltage the curves will be identical, but the 1.2V Darlington drop is very significant in this kind of oscillator, and that same voltage drop removes some of the power supply stabilty. I don't always trust simulators. I'm slow to build, but I prefer hands on because of it.Or, you could experiment with the one I did, as you seem to have LTSpice installed.
The two 555 timer circuits are identical, except that U1 has an LED load on it's output.
See how that load has affected the timing? By 80mS, they're about 90° out of phase.
Note that LTSpice's model for a 555 isn't that great; the high side of the output swing on pin 3 would be limited to around Vcc-1.3v, as internally a BJT 555 has a Darlington follower.
But they won't see the same voltage, as my simulation illustrated.In theory the load shouldn't matter, because the if the RC network sees the same voltage the curves will be identical...
The 1.2v Darlington drop causes a "real" 555 timer wired in this way to have considerably more ON-time than off-time. That's why I showed the 20k resistor from the CTL pin to GND; with Vcc being 10v it pulled the trigger points in line for just about 50% duty cycle.... but the 1.2V Darlington drop is very significant in this kind of oscillator, and that same voltage drop removes some of the power supply stabilty. I don't always trust simulators. I'm slow to build, but I prefer hands on because of it.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
D | 555 fading leds for pc case | Digital Design | 6 | |
A | 555 fading LEDS | Digital Design | 22 | |
D | Sequential Fading of LEDs | General Electronics Chat | 7 | |
F | Fading LEDs connected to alarm clock | General Electronics Chat | 3 | |
M | Fading LEDs | General Electronics Chat | 4 |