- Joined
- Feb 4, 2015
- Messages
- 182
- Reaction score
- 58
I am building (well failing at building) a simple circuit that lights sequentially (and keeps lit) three lights in order and then turns them off. One button press for the first light on, the second button press for two lights on, third button press for three lights on, and the fourth press of the button shuts them all off. Rinse and repeat....
I will add pictures of the circuit in it's 4 states, but here is a text description of how it is (supposed) to work:
The counter: (c)BUTTON1 to (v) FLIP1 .... (c)FLIP1 to (v)FLIP2 and (v)NOT1 .... (c)FLIP2 to (v)NOT2
Reading the counter: (c) FLIP1 and FLIP2 to (v)AND1 .... (c)FLIP2 and NOT1 to (v) AND2 .... (c)FLIP1 and NOT2 to (v)AND3 .... c(NOT1 and NOT2 to (v)AND4
At this point the circuit performs as intended. Every press of the button results in a different AND being on and the rest being off.
Light controls and reset:
(c) AND1 to (v) FLIP3 .... (c) FLIP3 to (v) LIGHT1
(c) AND2 to (v) FLIP4 .... (c) FLIP4 to (v) LIGHT2
(c) AND3 to (v) FLIP5 .... (c) FLIP5 to (v) LIGHT3
(c) AND4 to (v) BUTTON2 .... (c) BUTTON2 to (v) FLIP3 and FLIP4 and FLIP5
This is where the error occurs. I always get more than one light lit, even after checking and rebuilding the circuit many time. I tried using an activation module instead of a button to activate the counter....no good. I also tried linking each AND into an OR and then linking the ORs into the FLIPs....no good. I tried linking each combination of the counter into an OR and then the OR into the ANDs....no good....
Nothing I seem to try works.....here are the pictures, in sequence, from first activation on/off to the last:
I will add pictures of the circuit in it's 4 states, but here is a text description of how it is (supposed) to work:
The counter: (c)BUTTON1 to (v) FLIP1 .... (c)FLIP1 to (v)FLIP2 and (v)NOT1 .... (c)FLIP2 to (v)NOT2
Reading the counter: (c) FLIP1 and FLIP2 to (v)AND1 .... (c)FLIP2 and NOT1 to (v) AND2 .... (c)FLIP1 and NOT2 to (v)AND3 .... c(NOT1 and NOT2 to (v)AND4
At this point the circuit performs as intended. Every press of the button results in a different AND being on and the rest being off.
Light controls and reset:
(c) AND1 to (v) FLIP3 .... (c) FLIP3 to (v) LIGHT1
(c) AND2 to (v) FLIP4 .... (c) FLIP4 to (v) LIGHT2
(c) AND3 to (v) FLIP5 .... (c) FLIP5 to (v) LIGHT3
(c) AND4 to (v) BUTTON2 .... (c) BUTTON2 to (v) FLIP3 and FLIP4 and FLIP5
This is where the error occurs. I always get more than one light lit, even after checking and rebuilding the circuit many time. I tried using an activation module instead of a button to activate the counter....no good. I also tried linking each AND into an OR and then linking the ORs into the FLIPs....no good. I tried linking each combination of the counter into an OR and then the OR into the ANDs....no good....
Nothing I seem to try works.....here are the pictures, in sequence, from first activation on/off to the last:
Attachments
-
388 KB Views: 1