Design (Logisim) a simple traffic light controller. Reading the article at [1], each entry into an intersection
Question:
Design (Logisim) a simple traffic light controller. Reading the article at [1], each entry into an intersection can have a sensor of one type or another that senses whether or not a car is present. Based on sensor information, lights may be changed accordingly. Here are the things you are supposed to do:
-(with the help of a diagram) describe what you want the lights to do, going through various sensor output possibilities. Simplify as much as you need to, but make the design at least half-way believable. For example, don't say you don't do anything in response to the sensors. Tell me when you let a northbound car go through the intersection, and repeat for the southbound, eastbound, and westbound cars. How do you ensure that you don't let cars collide with one another?
Translate the description in the previous part into a state transition diagram. What are the states? What are the state transitions? The outputs? Assume a slow clock rate such as one cycle every 5 seconds or 1/5 Hz.
Decide how many flip-flops you are going to use, and assign numbers to the states (state assignment).
Translate the state transition diagram into a state transition table. Add columns for the current D inputs to your D flip-flops. Now derive equations for the D input of each flip-flop.
Derive equations for the outputs, if they are different from the flip-flop outputs Q
Draw the circuit on LogiSim and test it, reporting on the test results.