News:

SMF for DIYStompboxes.com!

Main Menu

logic gates

Started by ingrowing_whale, May 04, 2006, 10:50:01 AM

Previous topic - Next topic

ingrowing_whale

ok I removed the load on the RS flip flop and it works now. The loads on JK don't seem do be a problem now cos it works. What resistor value should I replace the 1k one with? lower or higher?

gez

#21
Quote from: ingrowing_whale on May 05, 2006, 12:48:05 PM
what do you mean by load?

The current draw on the outputs of your ICs is quite high.  The LED and the base current to the driver means the 'load' is drawing a lot of current, probably more than the ICs can source (I did some back of envelope calculations earlier then checked the data sheet). 

The outputs of the ICs, when high, will have some resistance which is in series with the load.  If the load is heavy (small total resistance on the output) it can pull the output down (forms a divider with the IC's resistance).  This can prevent the output going high enough to meet thresholds of other ICs.

I haven't been thru your schematic in detail, it's just the first thing that occurred to me.
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

gez

#22
Quote from: ingrowing_whale on May 05, 2006, 01:13:37 PM
ok I removed the load on the RS flip flop and it works now. The loads on JK don't seem do be a problem now cos it works. What resistor value should I replace the 1k one with? lower or higher?

Higher (if possible - depends on gain of trannie). 

If you use power MOSFETs to drive the relays then there's no drain on the output.  If you use ultrabright LEDs then you can get away with using a much larger stop resistor (the LEDs are the main offenders).

Re the flip flop, if you've got away with it, fine...but I'd still lighten the load (larger total resistance 'seen' at the output).
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter

ingrowing_whale

I tried swaping the 1k resistor for a 4.7k and it works perfectly and the LED is really bright. Thanks.

One thig I haven't done it add an RC filter to the push buttons cause there are a few bounces from time to time. What value of resistance and capacitor (or just what time) should I take for these?

Thanks again

gez

Quote from: ingrowing_whale on May 05, 2006, 03:55:12 PMOne thig I haven't done it add an RC filter to the push buttons cause there are a few bounces from time to time. What value of resistance and capacitor (or just what time) should I take for these?

Depends on the switch.  A lot of the time you just take a suck it and see approach, though obviously it helps if you have ball park value to start with.  What would be such a value?  I've just consumed a quantity of Organic Ale so my mind isn't in the best state to recall such things, plus the walk to the bookshelf is too much for me (sorry  :icon_redface:), but Andrew 'the tone god' has a nice little article about all this.  Give it a read...click on his profile and his site should be linked from it.  :icon_smile:
"They always say there's nothing new under the sun.  I think that that's a big copout..."  Wayne Shorter