<span lang="EN-US">Traffic jam that is resulted from the buildup of vehicles on the road has become an important problem, which leads to an interference with drivers. The impacts it has on cost and time effectiveness may take the form of increased fuel consumption, traffic emissions, and noise. This paper offers a solution by creating a smart traffic light using a fuzzy-logic-based microcontroller for a greater adaptability of the traffic light to the dynamics of the vehicles that are to cross the intersection. The ATMega2560 microcontroller-based smart traffic light is designed to create a breakthrough in the breakdown of congestions at road junctions, thereby optimizing the real-time happenings in the road. Ultrasonic, infrared, and light sensors are used in this smart traffic light, resulting in the smart traffic light’s effectiveness in parsing jams. The four sets of sensors that are placed in four sections determine the traffic light timing process. When the length of vehicle queue reaches the sensor, a signal is sent as the microcontroller’s digital input. Ultrasonic and infrared sensors can reduce congestions at traffic lights by giving a green light time when one or all of the sensors are active so that the vehicle congestions can be relieved.</span>