Question 6 (12 points)
Design a controller traffic light controller for farm road and a highway, where there is only
one input from a sensor that senses if there are any cars in a high way road. In normal
circumstances, we should have the traffic light green for highway and red for farm land, if
detect that there is a car in the farm road, we should cycle from a highway/green and farm/red
state to highway/yellow and farm/red state, then to a high/red and farm/green state, then when
the sensor becomes zero input which will be after a little while, we go back to first state.
Draw the state diagram, state definition table, state transition table and final Logic circuit.
Good Luck Gamal Fahmy