摘要:随着当前生活质量的快速提高,温室大棚已经成为高效农业的一个重要构成部分。本文阐述了一种花房温度、光照度控制系统的设计及其自动控制原理。该设计可分为温度、光强的监测部分和控制部分。温度监测部分,通过使用温度传感器DS18B20,使系统具有测量误差小、分辨率高、抗干扰能力强,动态显示等特点。光强度监测电路,通过使用光敏电阻,用它的光敏效应,测得的电压或电流超过由微控制器中的A/D转换,再由单片机进行数据处理。在所检测到的光的强度的电路中被显示出来,从而达到对花房环境两个方面的数据进行监测的目的。设定报警装置,在出现异常情况下蜂鸣器发出警报信号。经测试仿真结果证明,达到了论文设计要求。53728
毕业论文关键字:温度传感器;光敏电阻;单片机;报警设置
Abstract:With the rapid increase in the current quality of life, greenhouses have become an important component of efficient agriculture. This paper describes a greenhouse temperature, design and principle of automatic control illumination control system. This design can be pided into temperature, light intensity monitor and control parts. Temperature monitoring part, through the use of a temperature sensor DS18B20, the system has a measurement error is small, high resolution, anti-jamming capability, dynamic display and other features. Light intensity monitoring circuit using a photosensitive resistor, with its photosensitive effect, the measured voltage or current by the microcontroller over the A / D conversion, and data processing by the microcontroller. Is displayed in the intensity of light detected in the circuit, so as to achieve both the greenhouse environment for monitoring data. Set the alarm device in the event of unusual circumstances buzzer alarm signal. After the test results proved that meet the design requirements.
Keywords: temperature sensor; photosensitive resistance; Single chip microcomputer; alarm device
目 录
1 绪论 4
1.1 课题研究背景及意义 4
1.2 课题研究主要任务 4
2 系统的总体设计 5
2.1 系统设计要求 5
2.2 系统工作原理及总体设计 6
2.3 硬件选型 7
3 系统硬件设计 12
3.1 温度及光照度测试电路 12
3.2 A/D转换电路 12
3.3 报警电路 13
3.4 继电器电路 14
4 系统软件设计 14
4.1 系统总流程图 14
4.2 温度控制流程图 15
4.3 光照度控制流程图 17
4.4 键盘扫描流程图 19
5 系统结果测试与分析 21
5.1 软件结果仿真测试 21
5.2 硬件结果仿真测试 22
结论 23
参考文献 24
致谢 25
附录一:系统原理图 26
附录二:系统程序 AT89C51单片机花房温度光照度控制电路设计+程序+电路图:http://www.751com.cn/zidonghua/lunwen_57878.html