Abstract: The LED traffic light electronic controller stabilizes the total output light intensity of the traffic light in order to ensure a constant light intensity of each traffic light color throughout the entire traffic light lifetime. The controller detects the output light intensity of a color, and then automatically adjusts the power input for the LEDs in order to increase the light intensity when needed. The controller works in a closed loop cycle in order to perform real-time control of the light intensity output. Thus, at each moment of the traffic light lifetime, the output light intensity is constant and equivalent to a predetermined standard. This insures traffic safety for the entire traffic light lifetime and also make it last longer. The controller also provides a ballast load when off, and is able to provide an open circuit when the LEDs have exhausted their useful lifespan. The intensity is further controlled by detecting ambient light conditions.