@cmartinez .. so I can put a 5 volt LED in my circuit, as long as I sign the resistor accordingly?
Tony
Tony
As I said, there is no such thing as a "5 volt LED" (unless you're talking about a module) but rather a 10 mA LED, for instance.@cmartinez .. so I can put a 5 volt LED in my circuit, as long as I sign the resistor accordingly?
Tony
AaaarrrghhhhUnused input pins of a CMOS IC must not be left floating, or the IC can behave oddly. That's the most likely reason you're getting weird results. So, connect pins 8,9,10,11 to ground.
I replaced those old caps with radio shack 0.1uF Ceramic Disc Capacitors I bought today.The cap pictured is marked ".01", so I guess it's a rather old one and that its value is 0.01uF, = 10nF (whereas you want 100nF). That might account for erratic triggering, but doesn't explain why you need to keep the button pressed for the circuit to latch.
Tonight I grounded the those pins.1) Unused input pins of a CMOS IC must not be left floating, or the IC can behave oddly. That's the most likely reason you're getting weird results. So, connect pins 8,9,10,11 to ground
I put one of the new caps right at the power 7 and 14 pins.2) The 'decoupling' capacitor(s) on the power rails should be connected as physically close to pins 7 and 14 as possible.
I use this LED. http://www.onlinecomponents.com/lumex-ssllx3044id12v.html?p=11699665An ordinary red LED has a Vf of about 1.8V. If you are running your circuit fom 12V and the resistor in series with the LED is 1k the LED current will be ~(12-1.8)/1k = ~ 10.2mA (actually a bit less, because of the internal resistance of the IC). The 4013 will be struggling to manage that.
If you must use a LED, I suggest you power it up through a transistor instead. That would make things much easier on the 4013.I replaced those old caps with radio shack 0.1uF Ceramic Disc Capacitors I bought today.
Tonight I grounded the those pins.
I put one of the new caps right at the power 7 and 14 pins.
I use this LED. http://www.onlinecomponents.com/lumex-ssllx3044id12v.html?p=11699665
TONY
Hi guysIf you must use a LED, I suggest you power it up through a transistor instead. That would make things much easier on the 4013.
Alec, you beat me to it again... this is what I get for over-sleeping on saturday mornings...Those resistor values are far too low. Even with 100Ω you are asking the poor old 4013 to source over 100mA! Try R5= something like 10k from the Q output to the transistor base, then use the LED + R3=1.5k as the collector load.
Alec_t. .. by playing with it, I found Those values. I will try the new values you mentioned.Those resistor values are far too low. Even with 100Ω you are asking the poor old 4013 to source over 100mA! Try R5= something like 10k from the Q output to the transistor base, then use the LED + R3=1.5k as the collector load.
Eetech00 ... feel free to jump in. I've never heard about a ULN2004 ... if it will work. I'm all for it.HI
I hope no one minds me jumping in here but I have suggestion..
Why not use a ULN2004 to drive the loads?
See attached...I've only shown the graphic for one of the lamp circuits but they would both be the same.
HiAlec_t. .. by playing with it, I found Those values. I will try the new values you mentioned.
Eetech00 ... feel free to jump in. I've never heard about a ULN2004 ... if it will work. I'm all for it.... I just got find a ULN2004 to try it.
Tony
You'd probably be better off staying with what you have. You need two drivers. With that part, you'll have 5 unused drivers.I've never heard about a ULN2004
Besides, he's already put a lot of work on the 4013... why give up now?You'd probably be better off staying with what you have. You need two drivers. With that part, you'll have 5 unused drivers.
The 4013's would stay....only the output drivers would change.Besides, he's already put a lot of work on the 4013... why give up now?
The ULN2004 outputs can be paralleled for higher output current.You'd probably be better off staying with what you have. You need two drivers. With that part, you'll have 5 unused drivers.
Current capability isn't an issue; total load is around 300mA. My point was that there are 7 darlingtons in that package and 5 will be unused. OP is having a problem with latching, so this suggestion will not help.The ULN2004 outputs can be paralleled for higher output current.
Correct. Right now. I can NOT seem to get this 4013 to toggle.Current capability isn't an issue; total load is around 300mA. My point was that there are 7 darlingtons in that package and 5 will be unused. OP is having a problem with latching, so this suggestion will not help.