sr flip flop problems

Thread Starter

leewillz

Joined Jan 11, 2009
17
hey i have had a few problems trying to make my circuit work, its basically an alarm system, so i want it to latch when an input comes from a comparitor circuit i have made, i am using a 6v power supply but i have put a resistor in series with it and the voltage going into the circuit now it 4.98V near enough 5v, the chip i am using to make the SR flip flop is a 7400 IC but the problem i have is when a logic 1 is at the comparitor end the light comes on but it doesant stay on so its not latching, ive made and re made this circuit around 10 times now and really need to get it working on the bread board before building it on vero board.
thanks Lee
p.s the outputs of the 7400 are just 2 LED's for Q and Q-BAR
 

bertus

Joined Apr 5, 2008
22,276
Hello,

Can you post your schematic?
You can use the "manage attachments" button to upload it to the forum.
Preferably do it in .png format as .jpg can be messy.

Greetings,
Bertus
 

beenthere

Joined Apr 20, 2004
15,819
There are a few problems that jump out. The 2b section inputs float when the switch is open. They need to be pulled up to Vcc with a resistor of about 20K ohms. Left to float, the inputs will tend to float up to the logic operating point and cause high frequency oscillations.

Your LED's need a 300 ohm resistor in series with them. A LED has no resistance when turned on and can pass enough current to destroy itself or the IC driving it.

S-R flip flops usually work with one input pulled high and the other pulled low. Look ar the data sheet for a 74LS244.
 

Thread Starter

leewillz

Joined Jan 11, 2009
17
ok ive made the changes now both inputs come on at the same time and it seems the LDR is in control of the intensity of the Q-BAR LED and neither switch off they just vary in intensity.
 

Thread Starter

leewillz

Joined Jan 11, 2009
17
found the problem, my comparator circuit is not giving a logic "0" as it gives out 1.8v as logic 0 because of saturation on the op amp
 
Top