Circuit Idea - two inputs A and B, If A detects positive edge then regardless of what the B input is.

Thread Starter

NapSolo

Joined Oct 29, 2024
115
I need a circuit that has two inputs A and B. If A detects positive edge then regardless of what the B input is,
the output will be a high level of 5 volts.

On the otherhand, If B detects a positive edge then regardless of what the A input is, the output will be a
low level of 0 volts.

thanks
 

Attachments

WBahn

Joined Mar 31, 2012
32,707
I need a circuit that has two inputs A and B. If A detects positive edge then regardless of what the B input is,
the output will be a high level of 5 volts.

On the otherhand, If B detects a positive edge then regardless of what the A input is, the output will be a
low level of 0 volts.

thanks
"regardless of what the B input is" includes the B input also having a positive edge. Similarly for the other input.

So you have a contradiction in your requirements.

You need to resolve that.
 

MisterBill2

Joined Jan 23, 2018
27,193
Use one of the EDGE TRIGGERED devices, either a CD4027 fliflop with the "J" high for the rising edge trigger and the "K" high for the falling edge trigger. That will sense the edges. But now the question is what will the output be until there is an edge????
 
This can be done with two transistor SR flip flop triggered by edges (not levels). The two series capacitors on A&B inputs ensures the SR will change the state during positive edges on A&B inputs only.

IMG_1148.jpeg
 
Last edited:

Thread Starter

NapSolo

Joined Oct 29, 2024
115
Use two monostable multivibrators controlling an S-R flip-flop.
I have come up with a control circuit. See attached schematic and scope image.
Channel 1 is the STORE signal and channel 2 is the RESET signal. The STORE
signal is supposed to tell pin# 5 of the CD4042 latches to hold the value on
the input and essentially freeze the display until updated. If I understand the
data sheet for the CD4042, the STORE (pin# 5) should be HIGH normally and
go LOW just to store a new count value.

But, when I connect this circuit to my counter circuit, it does not "freeze" the
display.
 

Attachments

Last edited:

MisterBill2

Joined Jan 23, 2018
27,193
That is because it is a follow/hold device , not a latch device. And, as nearly as I can see, the signal flow in the drawing is from right to left. So to hold the data the hold command must constantly be held. That is why, during my whole career, I only used the CD4042 one time.
 

sarahMCML

Joined May 11, 2019
695
I have come up with a control circuit. See attached schematic and scope image.
Channel 1 is the STORE signal and channel 2 is the RESET signal. The STORE
signal is supposed to tell pin# 5 of the CD4042 latches to hold the value on
the input and essentially freeze the display until updated. If I understand the
data sheet for the CD4042, the STORE (pin# 5) should be HIGH normally and
go LOW just to store a new count value.

But, when I connect this circuit to my counter circuit, it does not "freeze" the
display.
Try using pin 6 output as it is, i.e without the inverter.
 
Top