目 录
1 绪论.....................................................................................................................................1
1.1 课题背景......................................................................................................................1
1.2 秒表的发展趋势..........................................................................................................2
1.3 本课题研究内容..........................................................................................................2
2 研究方案与预期成果.........................................................................................................2
2.1 研究方案......................................................................................................................2
2.2 预期成果......................................................................................................................4
3 系统硬件设计.....................................................................................................................5
3.1 系统硬件设计框图......................................................................................................5
3.2 单片机最小系统电路..................................................................................................6
3.3 LED 显示电路.............................................................................................................8
3.4 按键电路......................................................................................................................9
3.5 蜂鸣器电路................................................................................................................10
3.6 DS18B20 温度电路...................................................................................................11
3.7 DS1302 时钟电路......................................................................................................11
3.8 系统电路图................................................................................................................12
4 软件系统设计...................................................................................................................12
4.1 主程序模块................................................................................................................13
4.2 中断服务程序模块....................................................................................................14
4.3 按键扫描程序模块....................................................................................................16
4.4 显示程序模块............................................................................................................19
5 系统仿真与调试...............................................................................................................21
5.1 软件平台....................................................................................................................21
5.2 系统仿真....................................................................................................................22
5.3 系统软件调试............................................................................................................22
5.4 仿真测试....................................................................................................................28
6 系统硬件焊接与调试.......................................................................................................28