- 1 -
一 引言..............................................................................................................................................2
二 硬件系统方案设计 .....................................................................................................................2
2.1 电话拨号防盗报警器硬件系统方案 .................................................................................2
2.1.1 硬件系统方案设计 .................................................................................................2
2.1.2 脉冲拨号原理 .........................................................................................................3
2.1.3 脉冲拨号实现过程 .............................................................................................4
2.1.4 AT89S2052 单片机的功能特点 ..........................................................................5
2.2 时钟计时器的硬件设计方案论证分析 ...........................................................................8
2.2.1 功能要求 .................................................................................................................8
2.2.2 方案论证 ...............................................................................................................8
2.2.3 系统硬件电路设计 ...............................................................................................8
4.1.2 时钟计时器的硬件电路设计描述 ........................................................................9
三 系统的软件设计 .......................................................................................................................10
3.1 电话拨号防盗报警器程序设计 ......................................................................................10
3.1.1 主程序设计 ..........................................................................................................11
3.2 时钟显示程序设计 ..........................................................................................................12
3.2.1 主函数 ....................................................................................................................12
3.2.2 LED 显示子函数 ...................................................................................................13
3.2.3 定时器 T0 中断函数.............................................................................................13
3.2.4 中断函数 ...............................................................................................................14
3.2.5 功能函数 ...............................................................................................................14
四 系统的调试部分 .......................................................................................................................15
4.1 时钟系统的调试 ..............................................................................................................15
4.1.1 时钟系统的硬件调试 ...........................................................................................15
4.1.2 时钟系统的软件调试 ...........................................................................................15
4.1.3 性能分析 ...............................................................................................................15
4.2 拨号报警器功能调试 ......................................................................................................15
五 总结 ...........................................................................................................................................16
参考文献 .........................................................................................................................................17
附录 .........................................................................................................................................18
附录 1 程序清单.....................................................................................................................18
附录 2 系统使用说明.............................................................................................................18
附录 3 英文资料.....................................................................................................................18
附录 4 系统 PCB 板图 ...........................................................................................................18
附录 1:程序清单...................................................................................................................19
附录 2:系统使用说明...........................................................................................................36