Design of Online Monitoring System for Greenhouse
Abstract: In order to realize the real-time monitoring of temperature and humidity in the greenhouse, ensure the normal growth of crops in a suitable environment, achieve high quality and high yield, the on-line monitoring system for greenhouse is designed in this paper. The main content of this paper includes scheme design, hardware and software design, download of the software and debugging of the hardware. System uses digital temperature and humidity sensor DHT11 to detect temperature and humidity, the MCU STC89C52 collects and process measured dates with sensor and the LCD1602 display. When the temperature and humidity exceeds a threshold, the MCU controls alarm of the LED lamp and operation of the motor, adjusting temperature and humidity.The results show that, this system has the advantages of simple operation,high measuring precision,good real-time temperature and humidity control, achieving the expected goal.
Keywords:Online monitoring of greenhouse;Temperature and humidity; STC89C52; DHT11; LCD1602
目 录
摘要 1
引言 2
1.系统方案设计 2
1.1系统方案选择 2
1.2器件的选择 3
1.3系统总体框图及其功能 5
2.系统硬件设计 6
2.1最小系统设计 6
2.2温湿度检测电路 7
2.3液晶显示电路 9
2.4按键及报警电路 9
2.5继电器驱动电路 10
2.6程序下载及供电电路设计 11
3.软件编程 11
3.1主程序流程图 11
3.2子程序流程图 12
3.3程序设计 14
3.4湿度线性补偿和温度补偿 16
4.下载与调试 16
4.1软件下载 16
4.2硬件调试 17
5.总结 18
参考文献 19
致谢 20
温室在线监控系统设计毕业论文
引言
目前,我国农业正处于从传统农业向现代精作农业转型阶段。农业现代化的重要标志是温室控制工程,它可以控制农作物快速生长、品质优良、产量高。温室环境由温湿度、光照及二氧化碳浓度等多个环境因子组成,这些因子之间相互影响。当前,我国温室环境监控仍采用简单人工经验来管理,阻碍了现代农业生产的发展,严重影响了农业生产的效益。因此,采用先进的温室控制技术科学、合理地控制温室环境因子,以使农作物能在一个最佳的环境条件生长。这样,不仅提高产品的产量、质量、经济价值和社会效益,还降低生产成本。可见,温室环境监控直接影响现代农业的健康发展[1]。
近几十年内,随着电子行业的迅速发展和集成电路及高集成电路的产生,温室在线监测系统也得到不断发展,温湿度传感器已经广泛应用在农业生产领域。因此,温室监控系统逐步向微型化、多功能化发展。