目 录摘 要交通信号灯是人们生活中必不可少的基础设施,伴随城市范畴的持续扩张,之前的交通灯控制系统出现众多问题:通行时间相对程式化,无法凭借车流量现实情况来调节红绿灯显示。 本设计将 STC15F2K60S2 单片机当做中央控制器,采用发光二极管来模拟交通灯信号,并且采用 LED 数码管倒计时显示红绿灯还需亮的时间。通过红外传感器检测车流量,车检测电路将得到的车流量信息传给单片机系统,单片机系统根据车流量的多少而选定红绿灯转换的时间程序,再将信息传给时间显示电路和信号灯电路,通过上位机软件远程监控车流量与现场状态,进而实现交通信号灯的智能化,提高了十字路口的通行效果。 关键词:交通灯;STC15F2K60S2 单片机;倒计时显示;车流量检测 Ⅲ 目 录AbstractThe traffic lights are the essential infrastructure in people's life, with the continuous expansion of city scale, the traditional traffic control system has obvious shortcomings: the passage of time is relatively stylized, not depending on how much traffic and adjust the traffic lights display time.This design uses STC15F2K60S2 microcontroller as the central controller, using LEDs to simulate the traffic light signal, and the use of LED digital tube countdown traffic lights is bright time. Through infrared sensors to detect vehicle flow, vehicle detection circuit will get traffic information to the microcontroller system, MCU The system selected red light conversion time program according to how much traffic, and then send the information to the time display circuit and signal circuit, through the PC software of remote monitoring and traffic condition, and then realize the intelligent traffic lights, improve the traffic effect at the crossroads.Key words: traffic lights; STC15F2K60S2 SCM; countdown display; traffic flow detectionⅢ 目 录目 录摘 要...........................................................................................................................................