Objective:
Program a PLC simulation that controls a 2-way traffic light sequence that also accounts for pedestrians.
Responsibilities:
Create the state machine and assist with the PLC ladder logic programming.
Project Summary
This project was done in a team of 2 and was constrained to the following requirements:
If both N/S, and E/W have no cars running for more than 20 seconds, N/S remains green until either a car arrives at E/W, or a pedestrian requests to cross.
If a pedestrian requests to cross, then close the requested street light for them within a 20-second window or less without closing both ways. If pedestrians request to cross both N/S and E/W at the same time, use the normal operation sequence to manage pedestrian crossing.
The pedestrian light should be on for 30 seconds and flash for the last 10 seconds to alert them that cars will be crossing soon and they have to clear the road.
If there is car activity on E/W road within a 10 second time window, a special sequence should take place to change the direction of traffic.
State Machine
Project Outcomes
All project requirements were met, and we were able to deliver a complete solution.