1、 毕业设计说明书 温室大棚中温湿度测控系统的研究与设计 学 院: 电气与电子工程学院 专 业: 电子信息科学与技术 学生姓名: 学 号: 指导教师: 20 11 年 6 月 摘 要 I 摘 要 随着大棚技术的普及,温室大棚数量不断增多,温室大棚的温度控制成 为一个难题。目前应用于温室大棚的温度检测系统大多采用由模拟温度传 感器、多路模拟开关、A /D 及单片机等组成的传输系统。这种温度采集系 统需要在温室大棚内布置大量的测温电缆,才能把现场传感器的信号送到 采集卡上,安装和拆卸繁杂,成本也高。 本课题提出一种基于单片机并采用数字化单总线技术的温度测控系统 应用于温室大棚的的设计方案,该方案是利
2、用温度传感器将温室大棚内温 度的变化,变换成电流的变化,其值由单片机处理,最后由单片机去控制 数字显示器,显示温室大棚内的实际温度。一旦该温度值超过我们预先设 定的上、下限,单片机便启动报警系统进行报警,进而对大棚内温度进行 控制。这种设计方案能对多点的温度进行实时巡检,各检测单元能独立完 成各自功能,同时能够根据主控机的指令对温度进行定时采集,测量结果 不仅能在本地显示,而且可以利用单片机串行口,通过 RS 一 485 总线及通 信协议将采集的数据传送到计算机,进行进一步的存档、处理。主控机负 责控制指令的发送,控制各个从机进行温度采集,收集测量数据,并对测 量结果(包括历史数据)进行整理、
3、显示和存储。该测控系统不需要任何固定 网络的支持,安装简单方便,系统稳定可靠、可维护性好. 关键词关键词:温、湿度测控,AT89S52 单片机, PC 机,RS-485 通信 Abstract II Abstract With the popularization of greenhouse technology, the amount of greenhouse is larger and larger. However, the temperature control of greenhouse is becoming a difficult Problem. Currently, the
4、 temperature control system of greenhouse is mostly using a transfers system which consists of analog temperature sensors,multiplexing analog switches,A/D conversion units and SCM. This kind of temperature collection System needs a lot of cables which is laid to make the signal of the sensor be sent
5、 to the collection card in the greenhouse. Thus the work of fixing and take- down is miscellaneous, and the cost is high. This Paper gives a greenhouse temperature control project which 15 based upon the SCM and digital monobus technology. In this project,the change of temperature in the greenhouse
6、is transformed into the change of electric current and then into the change of voltage by using the temperature sensors.The result is dealt with by SCM. At last the real time temperature in the greenhouse is displayed on the monitor under the control of SCM. Once the value of the temperature in the greenhouse exceeds the minimum and maximum which is preestablished,the SCM will give an alarm and auto control the temperature in the greenhouse. This Project can make r