目 录
摘要 ................................................................I
Abstract..................................................................................................................II
绪论.........................................................................................................................1
1 系统设计方案论证 ...............................................................................................3
1.1 设计方案...........................................................................................................3
1.2 功能概述...........................................................................................................4
2 系统硬件设计......................................................................................................5
2.1 交通灯控制系统组成........................................................................................5
2.1.1 ATC89C51 芯片 .............................................................................................5
2.1.2 交通灯控制系统构成....................................................................................8
2.2 各单元电路模块功能........................................................................................9
2.2.1 时钟电路模块 ...............................................................................................9
2.2.2 复位电路模块 ...............................................................................................9
2.2.3 主控制系统模块..........................................................................................10
2.2.4 信号灯输出控制模块 ..................................................................................11
2.2.5 时间显示电路模块......................................................................................11
2.2.6 系统电源模块电路......................................................................................12
2.2.7 按键输入模块 ............................................................................................13
3 系统软件设计....................................................................................................14
3.1 软件总体流程图 ............................................................................................14
3.2 延时的设定.....................................................................................................15
3.2.1 计数器初值计算..........................................................................................15
3.2.2 相应程序代码 .............................................................................................15
4 系统调试分析及结果.........................................................................................21
4.1 电路板实物的制作..........................................................................................21
4.1.1 印制电路板 PCB 图的绘制 ..........................................................................21