目录
1.绪论...................................................................................................................................................................3
1.1 选题背景...................................................................................................................................................3
1.2 国内外的发展现状 ...................................................................................................................................3
1.3 课题内容、目的及思路 ...........................................................................................................................3
1.4 设计过程及工艺要求 ...............................................................................................................................3
2.方案的比较和选择 ...........................................................................................................................................4
2.1 湿度传感器的选择 ...................................................................................................................................4
2.2 温度传感器的选择 ...................................................................................................................................5
2.3 光照度传感器的选择 ...............................................................................................................................6
3 系统的总体设计 ...............................................................................................................................................6
3.1 确定系统任务...........................................................................................................................................6
3.2 系统的组成和工作原理 ...........................................................................................................................6
3.3 元件的特性...............................................................................................................................................9
3.3.1 STC89C52 特点.................................................................................................................................9
3.3.2AD0804 特点.....................................................................................................................................10
4.电路设计.........................................................................................................................................................10
4.1 湿度测量电路.........................................................................................................................................10
4.2 温度测量电路.........................................................................................................................................11
4.3 光照度测量电路.....................................................................................................................................12
4.4 数据显示电路.........................................................................................................................................12
4.5 复位电路.................................................................................................................................................13
4.6 键盘电路.................................................................................................................................................13
4.7 继电器控制电路.....................................................................................................................................14
5.软件设计.........................................................................................................................................................14
5.1 主程序流程图.........................................................................................................................................14
5.2.参数测量子程序流程图 ........................................................................................................................16
5.3.键盘扫描子程序流程 ............................................................................................................................16
6.总结.................................................................................................................................................................18
参考文献............................................................................................................................................................18
附录 1 电子元器件明细表 ...........................................................................................................................21
附录 2:系统总体电路图 .................................................................................................................................22
附录 3:实物图 .................................................................................................................................................23
附录 4:系统源代码 .........................................................................................................................................25