Traffic jams are a major challenge faced by commuters. This leads to stress, air pollution, wastage of petrol, etc. The traditional systems installed at signals have predefined halting criteria of 2 minutes, which adds to the traffic on an already jammed road. This student has come up with an idea to set the halting time, according to the number of vehicles on the road. The traffic controller is equipped with an IR sensor and Arduino board that detect the density and change the traffic light accordingly.