中文摘要
近年来随着科技的飞速发展,单片机的应用正在不断深入,同时带动传统控制检测技术日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构软硬件结合,加以完善。
十字路口车辆穿梭,行人熙攘,车行车道,人行人道,有条不紊。那么靠什么来实现这井然秩序呢?靠的就是交通信号灯的自动指挥系统。交通信号灯控制方式很多。本系统采用STC89C52单片机以及单片机最小系统和三极管驱动电路以及外围的按键和数码管显示等部件,设计一个基于单片机的交通灯设计。设计通过两位一体共阴极数码管显示,并能通过按键对定时进行设置。本系统实用性强、操作简单、扩展功能强。
关键词:交通灯,单片机,显示,计时
ABSTRACT
In recent years along with the rapid development of science and technology, SCM applications are continually deepening, and promote the traditional control detection technology is updated. In real-time detection and automatic control of the microcomputer application system, the microcontroller is often used as a core component, only SCM knowledge is not enough, should be based on specific hardware structure of hardware and software combination, to be perfect.
Crossroads shuttle vehicles, pedestrians bustling, car dealership traffic lane, people walkways, everything in good order and well arranged. So what to rely on to realize it in order? Is the traffic lights on the automatic command system. A lot of traffic signal control. This system uses STC89C52 and SCM system and the smallest transistor driving circuit and a periphery of the keys and digital tube display and other parts, a design based on the single chip design of traffic lights. Design through one of two common cathode nixie tube display, and can be key to regular set. This system is practical, simple operation, strong expanding function.
Keywords: traffic light,SCM,display,timing
目录
中文摘要1
ABSTRACT2
第一章 设计的背景及意义5
1.1交通灯的背景5
1.1.1交通灯的历史5
1.1.2交通灯的出现5
1.2交通灯的意义6
第二章 系统方案设计与要求6
2.1单片机交通灯控制系统通行方案设计6
2.2单片机交通控制系统的功能要求8
2.2.1显示模块功能8
2.2.2 按键模块功能8
2.3单片机交通控制系统的基本构成及原理8
第三章 系统硬件电路的设计10
3.1系统硬件总电路构成10
3.2单片机系统10
3.2.1单片机引脚介绍10
3.2.2单片机最小系统12
3.3显示系统13
3.3.1 LED显示13
3.3.2数码管显示13
3.4信号显示驱动电路14
3.5键盘输入电路15
第四章 系统软件程序的设计16
4.1程序主体设计流程16
4.2子程序模块设计17
参考文献19
附录A21
附录B22
致谢23
………………