We were ask to build a 1 input - 3 output traffic light system (green, orange & red) using only Decoders, Encoders, Multiplexers, Comparators & Adders. The input for the traffic lights will be done manually.The traffic lights turn green at logic 0 and there are two outputs at logic 1. First, orange will be high for 5 seconds, then red will be high and orange will be low after that. I don't know how to such system using only these components so I thought of using a counter wherein at logic 1 green is high. Then at logic 1 the counter will be high. From 000 - 011, orange will be active high then at 100 red will be active high. I have two questions:
1.) How can I keep red active high until the first input will be change manually to logic 0 (active high = green)?
2.) Is there anyway to put up a traffic system with these components(Decoders, Encoders, Multiplexers, Comparators & Adders) while achieving what is expected? Thanks
1.) How can I keep red active high until the first input will be change manually to logic 0 (active high = green)?
2.) Is there anyway to put up a traffic system with these components(Decoders, Encoders, Multiplexers, Comparators & Adders) while achieving what is expected? Thanks