empty

Design and Test of A Traffic Light System ‪



A 4-corner intersection where there are two one-way streets are labeled South (cars travel South) and West (cars travel West). There are three inputs, two are car sensors, and one is a pedestrian sensor. The South car sensor will be true if one or more cars are near the intersection on the South road. Similarly, the West car sensor will be true if one or more cars are near the intersection on the West road. The Walk sensor will be true if a pedestrian is present and he or she wishes to cross in any direction. In this simple system, if the walk sensor is true, there is pedestrian to service, and if the walk sensor is false, there are no people who wish to walk. The walk sensor and walk light will service pedestrians who wish to cross in any direction. This means the roads must both be red before the walk light is activated. In a similar fashion, when a car sensor is false, it means no cars are waiting to enter the intersection. The don’t walk light should be on while cars have a green or Blue/yellow light.
6 LEDs are interfaced, that represent the two Red-Blue/Yellow)-Green traffic lights, and PF3 green LED for the “walk” light and the PF1 red LED for the “don’t walk” light. When the “walk” condition is signified, pedestrians are allowed to cross in any direction. When the “don’t walk” light flashes (and the two traffic signals are red), pedestrians should hurry up and finish crossing. When the “don’t walk” condition is on steady, pedestrians should not enter the intersection.


Post time: Jun-17-2017
INQUIRY NOW
  • * CAPTCHA: Please select the Plane