So I'm attempting to create a small stoplight-type circuit using a standard breadboard, 3 LEDs, a 555 clock , a 4-bit binary counter, and some NAND/NOR gate chips. What I need to do is wire it in such a way that the green light is lit for 3 seconds, the yellow light is lit for 1 second, and the red light is lit for 4 seconds in that order. All I've been able to do so far is connect the clock to the binary counter so that I now have 4 outputs:
D1: 0 1 0 1 0 1 0 1
D2: 0 0 1 1 0 0 1 1
D3: 0 0 0 0 1 1 1 1
D4: (0 for 8 counts then 1 for 8 counts)
I also have a de-mux available, but I'm told that its possible to do it without one. However, if the easiest solution is using one then I am all for it. Your help is greatly appreciated!
D1: 0 1 0 1 0 1 0 1
D2: 0 0 1 1 0 0 1 1
D3: 0 0 0 0 1 1 1 1
D4: (0 for 8 counts then 1 for 8 counts)
I also have a de-mux available, but I'm told that its possible to do it without one. However, if the easiest solution is using one then I am all for it. Your help is greatly appreciated!