I have a question about using a 555 timer as a flip-flop?

I have it set up so that I get an out put signal that goes High for about 1/2 second, and then goes low for about 1.33 seconds. The problem is that the output is to go through 2 LEDs, the one is supposed to light when the signal goes high, and the other when it is low, since I have the other leg of each LED tied to ground or source respectively. IF you are really familiar with how LED's work, you probably see the problem I have already. When the signal goes high for the first time, the LED tied to ground, lights....and stays lit. The source provides current whether there is a signal out or not.

Is there ANY way around this, without me having to scrap this and redesign it for a 556 ?

NOTE: I've replaced the stock pic with a partial schematic of my circuit


Heart Beat LED2.jpg
15 answers
sort by: active | newest | oldest
Sep 3, 2009. 4:31 PMmaestro8 says:
If the 555's output alternated between a perfect source and a perfect sink, your circuit would work as drawn. Being that the 555 uses transistors to switch its output (take a look at the data sheet for the internals), you've got to work this fact into your design. Take this as a rule of thumb for circuit design: there are no perfect sources or sinks. Read up on Thévenin's theorem for more information. As you've already discovered, trying to use a single pin as both a source and a sink is asking for a headache. Pick one and stay with it. You'll likely need an additional transistor and resistor, but the resulting circuit will actually work.
Jul 9, 2009. 12:26 AMAndyGadget says:
Just off to work so no time to draw piccies, but I'm a bit confused as to your circuit. What you should have is a LED with resistor from positive rail to the output (to light on output low) and a LED with resistor from output to ground (to light on output high). IIRC, the 555 can sink or source up to 300mA.
Do you have enough overhead on your supply voltage to drive the diodes?
Sep 1, 2009. 12:49 PMAndyGadget says:
Did you try it with a normal signal diode (or 2) in series with R1 / D1? I still think it's what I suggested below. If the output went all the way to 9V then there wouldn't be a problem. There'd be 0V across D1 when the output is high. At it is it only goes to around 7.6V (from the datasheet) so there's 1.4V across R1/D1 which is enough to turn on the LED. Put the diode in!
Jul 9, 2009. 9:21 AMAndyGadget says:
Hmmmm..... That's the circuit I described earlier. I think the problem is this - I guess you're using red LEDS. Looking at the datasheet, at 10V supply and 25 degrees C, 20mA current (about right for a LED) the output voltage will be rail minus 1.4V. This is enough to make a red LED glow. Try putting a normal diode in series with the top LED / resistor. Or changing to the CMOS version of the 555 may work - I think they switch to nearer rail. (Now tell me you're using blue or white LEDs ;¬)
Jul 9, 2009. 2:48 PMAndyGadget says:
Do you have a voltmeter? The way to prove this is to measure the 9V supply to the output of the 555 when the output is high. (Slap in a bigger capacitor to give things a chance to settle.) If that voltage is more than the forward voltage drop (Vf) of your diodes, what you described will happen. The same doesn't happen with the bottom LED as the 555 drops to about .3v in a low state. Not enough to turn anything on.
Jul 9, 2009. 3:00 AMmiiwii3 says:
i personally thik it would b easier to use a NPN and PNP transistor to turn two LED's on and off at high and low points. i'll post link later. plus you only need one 555 timer.

Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!