摘 要 本次设计园艺自动灌溉系统的设计包括土壤温度和与控制和蓄水箱自动上水部分。土壤温度的检测与控制还包括土壤温度的检测和显示、自动灌溉系统。用温度传感器SHT-11作为传感元件来检测和显示土壤的温度,将检测到的土壤温度值为STC89C52单片机,然后输出到液晶屏幕显示。智能和手动浇水系统设计两部分:智能浇灌部分是通过单片机程序设定浇灌的上下限值与SHT-11送入单片机的土壤湿度值相比较,当低于下限时,单片机输出信号控制电磁阀打开,开始倒水,高于上限值时再由单片机输出一个信号控制电磁阀关闭,停止浇水;手动部分由单片机的实时时钟芯片DS1302的时刻读读入月份与每天的实时时刻,通过软件程序设定定时浇灌的时间与浇灌的量。
毕业论文关键词:STC89c52单片机;湿度传感;自动浇灌;土壤
Abstract The design of automatic irrigation system of the design includes the soil temperature and the automatic water feeding part and the control and storage tank. Soil temperature detection and control also includes the detection and display of soil temperature, automatic irrigation system. The temperature sensor SHT-11 is used as the sensing element to detect and display the temperature of the soil, and the soil temperature value is STC89C52, and then output to the LCD screen display. Intelligent and manual watering system design two parts: intelligent irrigation part is comparison of soil moisture on the lower limit setting water through the MCU and SHT-11 into the single value, when below the threshold, the micro controller output signal to control the electromagnetic valve open, began to pour, above the upper limit by the micro controller output a signal to control the electromagnetic valve is closed stop watering, in part by manual time; real-time real-time clock chip DS1302 MCU read read time and every month, setting time and water timed irrigation through software quantity.
Keywords: STC89C52 micro controller; humidity sensing; automatic irrigation; soil
目 录
第一章 绪论 1
1.1论文选题的背景及研究意义 1
1.3研究目标和内容 2
1.4本章小结 3
第二章 控制器选择及外围电路设计 4
2.1 控制器的选择 4
2.2 89C51单片机简介 4
2.2.1单片机知识 4
2.2.2 STC89C52单片机的管脚介绍 4
2.2.3 STC89C52单片机晶振电路 6
2.2.4 STC89C52单片机复位电路 6
2.3 KEIL C51编译器介绍 6
2.4 PROTEL 99SE概述 7
第三章模块芯片方案的选择 8
3.1 主单片机控制部分的方案 8
3.2 时钟芯片的方案 9
3.3 测温部分的方案 9
3.4显示程序部分 11
第四章系统硬件设计 13
4.1 设计思想 13
4.2 系统设计框图 13
4.3 硬件各电路设计