本科毕设论文_基于单片机的智能微喷灌控制系统的设计.doc
文本预览下载声明
基于单片机的智能微喷灌控制系统的设计Design of intelligent micro spray irrigation control system
based on 51MCU
Abstract
With the increasing development of science and technology,especially the development of Intelligent Technology,the application range of intelligent micro-irrigation technology more widely.The intelligent micro-irrigation systems can achieve a large area of crop field irrigation,and save to a large extent on the manpower,resources,management of the crop area,real-time control environment for the growth of crops.Development of simple,rapid,practical micro-irrigation intelligent design is of great significance.
The design is by SHT11 temperature and humidity sensors on the soil temperature and humidity,and other important physical collection,the collected signal to the 51 single-chip system for processing,related to an external device driver when needed by using c language programming achieve automatic precision smart irrigation,the target area.
Key words: 51MCU temperature and humidity sensors C language
目 录
1 引 言 1
2 概论 2
2.1国内外现状及发展趋势 2
2.2设计的背景及意义 3
2.3本设计所做的工作和内容 4
3 系统总体设计与分析 4
3.1 总体方案 4
3.2 系统方案论证 4
4 系统硬件设计 5
4.1 单片机系统硬件硬件设计7
4.2.1 1602液晶接口信号说明映射图10
4.2.3 状态字说明10
4.2.4 数据指针设置11
4.2.5 其它设置 11
4.2.6 初始化设置12
4.3.1 DS1302功能特性12
4.3.2 DS1302的引脚13
4.3.3 DS1302的命令控制字3
4.3.4 DS1302的数据传送寄存器14
4.3.6 时钟模块电路图15
4.4 键盘控制模块硬件设计16
4.5继电器(接口)硬件设计17
4.6 温湿度采集转换模块硬件设计19
4.6.1 SHT11介绍 19
4.6.2 工作原理 20
4.6.3 输出特性 21
4.6.4 寄存器配置23
4.6.5 接口电路 24
4.6.6 SHT11工作时序25
5 系统软件设计28
5.1系统整体框架介绍28
5.2 LCD显示模块软件设计32
5.3 键盘控制模块软件设计35
5.4 DS1302时钟模块软件设计42
5.5 温湿度采集转换模块软件设计45
6 电路仿真1】2 概论
2.1国内外现状及发展趋势
微灌技术的研究在中国的起步还不算太晚,自1974年引进墨西哥的滴灌设备我国的微灌技术试验研究正式开始。该过程经历了1974到1980年之间的引进消化和吸收,设备的研制与应用实验及试点阶段;1981到1986年之间经历了设备产品的改进和应用试验的研究以及扩大试点的推广三个阶段;从1987年到现在直接引用了国外先进的科学技术,进入了从高起点上对研发微灌设备的产品开发阶段。基于引入、吸收发达国家先进科学技术的基础上,结合了我国国情,从经济上的实用,便于安装和利于推广的主要几点出发,在个地相关关部门的合作与努力的情况下,开发微灌技术、生产研制设备和科学实验等多方面都取得重要的成果,我国的微灌技术日趋步入成熟【2】
水是生命之源,经济发展,人类生,水的重要性国际共识,水资源开发和保护所重视。如何高利用有限的淡水资源,发挥资源效益己成为一个全球性解决的重要课题。
诸多缺水国家中,水
显示全部