Hello Everyone,
I am designing a circuit that operates on pressure sensors to turn lights from red to green, green to yellow, and yellow back to red. I am implementing 2 of the 4 sides of an intersection due to redundancies. How would I design a circuit with 2 inputs and 2 outputs? My plan is to use pressure sensors to detect the first "car" that approaches the intersection and turn that light from red to green using a timer circuit. I already have the timer circuits constructed and working independently, but the logic to choose between the 2 is throwing me off. Any suggestions?
Truth Table
A B | R1 R2
0 0 0 0
1 0 1 0
0 1 0 1
1 1 This is where I get confused because it is supposed to be like a flip flop so that either one would be 1 depending on which was triggered first.
I am designing a circuit that operates on pressure sensors to turn lights from red to green, green to yellow, and yellow back to red. I am implementing 2 of the 4 sides of an intersection due to redundancies. How would I design a circuit with 2 inputs and 2 outputs? My plan is to use pressure sensors to detect the first "car" that approaches the intersection and turn that light from red to green using a timer circuit. I already have the timer circuits constructed and working independently, but the logic to choose between the 2 is throwing me off. Any suggestions?
Truth Table
A B | R1 R2
0 0 0 0
1 0 1 0
0 1 0 1
1 1 This is where I get confused because it is supposed to be like a flip flop so that either one would be 1 depending on which was triggered first.