摘要:本文研究的智能监控系统核心是AT89C51单片机,采用了DTH11温湿度传感器,对温室内的温湿度进行实时监控。该系统的核心分为六个部分,即AT89C51单片机系统模块、温湿度采集模块、按键系统、报警系统、温度控制模块、湿度控制模块。通过按键可以设定大棚的温湿度值,设定的温湿度和传感器采集的温湿度可以通过LED模块显示。传感器采集的湿度值传送给单片机,通过单片机的串行口和RS-232总线把大棚中的温湿度上传至上位机,上位机开始分析数据并与预设数据作比较,最后反馈给单片机,单片机根据反馈数据,发送指令去调节温湿度。本文设计的温室智能监控系统,可以对温室内的温湿度进行有效的监测和可靠的控制,从而为农作物营造一个适宜的生长环境,实现大棚环境监控的人工智能化。60643
毕业论文关键词:AT89C51单片机;温湿度传感器;温度控制;温度显示;智能化;
Abstract:Intelligent monitoring system is the core of this research AT89C51 microcontroller, using DTH11 the temperature and humidity sensors, temperature and humidity inside the greenhouse experiment in real-time acquisition and control, automatic monitoring of temperature and humidity inside the greenhouse. The core of the system is pided into five parts, namely AT89C51 SCM system modules, temperature and humidity acquisition modules, air conditioning systems, alarm systems, key systems. Greenhouse temperature and humidity values can be set through the key, set the temperature and humidity, and temperature and humidity sensor acquisition can be displayed by LED module. Transfer humidity sensor acquisition to the microcontroller through the microcontroller serial port and RS-232 bus in the greenhouse temperature and humidity were uploaded to the computer, the PC began to analyze the data and compared with preset data, and finally back to the microcontroller, the microcontroller according to feedback data, send commands to adjust the temperature and humidity. By greenhouse intelligent monitoring system, the greenhouse temperature and humidity can be an effective and reliable monitoring and control, so as to create a suitable crop growth environment, to achieve greenhouse environmental monitoring of artificial intelligence.
Keywords: AT89C51 Microcontroller,Temperature & humidity sensor,Temperature & humidity control,LED display,Intelligent.
目 录
1引言 1
1.1温湿度对植物生长发育的影响 1
1.2温湿度智能监控系统的研究前景 1
1.3温室智能监控实验的基本要求 1
1.4单片机控制技术的特点及研究价值 2
2系统设计 3
2.1总体设计框图 3
2.2 AT89C51的引脚功能图 4
3硬件设计 5
3.1温湿度采集模块 5
3.2键盘模块 9
3.3报警模块 10
3.4串口通信模块 11
3.5小结 14
4系统软件设计 15
4.1主程序模块程序设计 16
4.2 LCD液晶显示模块程序设计 19
4.3 传感器模块程序设计 19
4.4 键盘模块设计 22
5测试分析