Abstract: This paper according to characteristics of the AT89C51 single-chip microcomputer and the characteristics of the traffic lights in the actual control of the proposed a single-chip microcomputer automatic control traffic lights and time display method, and gives the hardware and software design method. Design process, including hardware circuit design and software design two major steps, on the important design issues that may be encountered in the application of SCM involved. This system uses the monolithic integrated circuit as the core controller, through the infrared detection system to measure the east-west and north-south direction the volume of traffic, the red and green light time was obtained through simple algorithm. Then respectively, with red, yellow and green light for different combinations of to command two The opening of the direction and the forbidden line, with LED digital tube as a countdown to the instructions, real-time control the traffic lights time led display countdown work and maintain the synchronization with the state of light, while maintaining the traffic safety and maximize the increase traffic to alternate running smoothly, so as to realize the crossroads of the intelligent traffic control.
Key words: single chip microcomputer; traffic lights; infrared detection; intelligent control