This paper presents the design and construction of a microcontroller-based four-way traffic light control system aimed at optimizing traffic flow by automatically adjusting signal timing based on traffic density at each intersection. The system is built around an Arduino ATmega328 microcontroller inter-faced with break beam infrared (IR) sensors (transmitters and receivers) and LED displays. The IR sensors are installed on both sides of the lanes at regulated intervals to detect traffic density. The system is powered by a 12V DC battery and a 5V, 3A power supply is provided using a buck converter IC (LM2596), which steps down the 12V from the battery to 5V, 3A. This 5V power is used to run the Arduino microcontroller and the Darlington pair ICs for current sinking and sourcing. As vehicles pass through the areas monitored by the IR sensors, the traffic density is measured for each opposing lane, allowing the system to determine which lane should be prioritized for traffic flow. The corresponding LED indicators are then activated accordingly.
Read full abstract