E
eatmorepies
Guest
I want the D type latch (using CMOS 4013) to remember a momentary signal and
output high. When the momentary signal arrives a second time I want the
output to drop low.
The input signal (from sensor circuit) goes high when the light sensor is
shadowed (checked with logic probe), this is connected to the clock - pin 3.
Q (pin 1) connected to a 1k resistor in series with an LED to zero volts.
Not Q (pin 2) connected to data - pin 5.
Set (pin 6) and reset (pin 4) connected to pin 7 - Vss.
Pin 14 is Vcc at 10V.
As I shadow or illuminate the sensor the output of the sensor circuit goes
high or low as required. I'm using an op-amp as a comparator.
Q remains high all the time - irrespective of the clock signal going low,
high, low. The LED is always on. Not Q remains low at all times.
Looking at Q with the logic probe as the clock goes high there is a
monentary pulse but the output still stays high. Looking at not Q there is a
momentary pulse when the clock goes high but the output still stays low.
The signals are the same when I remove the load (the LED) from the 4013.
Why don't Q and not Q swap levels when the clock goes high?
John
output high. When the momentary signal arrives a second time I want the
output to drop low.
The input signal (from sensor circuit) goes high when the light sensor is
shadowed (checked with logic probe), this is connected to the clock - pin 3.
Q (pin 1) connected to a 1k resistor in series with an LED to zero volts.
Not Q (pin 2) connected to data - pin 5.
Set (pin 6) and reset (pin 4) connected to pin 7 - Vss.
Pin 14 is Vcc at 10V.
As I shadow or illuminate the sensor the output of the sensor circuit goes
high or low as required. I'm using an op-amp as a comparator.
Q remains high all the time - irrespective of the clock signal going low,
high, low. The LED is always on. Not Q remains low at all times.
Looking at Q with the logic probe as the clock goes high there is a
monentary pulse but the output still stays high. Looking at not Q there is a
momentary pulse when the clock goes high but the output still stays low.
The signals are the same when I remove the load (the LED) from the 4013.
Why don't Q and not Q swap levels when the clock goes high?
John