摘 要............................................................................................................................2
第 1 章 绪 论................................................................................................................3
1.1 课题研究背景.................................................................................................3
1.2 设计思路.........................................................................................................3
第 2 章 系统总体设计..................................................................................................4
2.1 方案选择.........................................................................................................4
2.1.1 程控部分方案选择...............................................................................4
2.1.2 显示部分方案选择...............................................................................5
2.2 系统设计要求..................................................................................................6
2.3 系统结构与总体设计.....................................................................................6
第 3 章 系统硬件设计..................................................................................................6
3.1 单片机的应用与选择......................................................................................7
3.2 芯片简介..........................................................................................................7
3.2.1 STC89C51 性能简介............................................................................7
3.2.2 STC89C51 的主要特性........................................................................7
3.2.3 STC89C51 管脚功能............................................................................7
3.3 控制显示电路.................................................................................................9
3.4 按键输入电路................................................................................................10
3.5 D/A 转换电路 ................................................................................................11
3.5.1 管脚功能............................................................................................11
3.5.2 D/A 转换电路模块 .............................................................................13
3.6 转换电路.......................................................................................................13
第 4 章 系统软件设计................................................................................................14
4.1 软件开发环境简介........................................................................................15
4.2 C 语言简介 ....................................................................................................15
4.3 软件总体设计................................................................................................15
4.4 部分程序段代码............................................................................................16
4.4.1 DAC0832 程序段 ...............................................................................16
4.4.2 LCD 液晶显示代码............................................................................17
第 5 章 系统仿真调试................................................................................................19
5.1 系统仿真结果...............................................................................................19
第 6 章 整机实物调试与分析....................................................................................20
6.1 增益测试.......................................................................................................20
6.2 带宽测试.......................................................................................................21
6.3 误差分析.......................................................................................................24
第 7 章 学习总结........................................................................................................24
7.1 心得体会.......................................................................................................24
7.2 参考文献.......................................................................................................24
附录:..........................................................................................................................25
附录一 总程序代码............................................................................................25
附录二 实物图....................................................................................................30
附录三 整机电路................................................................................................31