A new microcontroller based intelligent traffic control system is proposed in this paper. Instead of changing traffic lights automatically for a given interval, this system allows passing the vehicles considering the number of vehicles on the roads. An Atmega 32 microcontroller and infrared sensors (IR sensors) are used to implement the traffic system. An algorithm is also developed for this purpose. The system is simulated and implemented also by constructing a test rig. The results from the simulation and experimental test rig confirm its appropriateness of using in the roads of different cities. No further processing scheme is required for this intelligent traffic control system.