1、 学学 生生 论论 文文 论文题目: 农业智能大棚系统设计 指导教师: 学 号: 姓 名: 年 级: 2012 级 专 业: 电子信息工程 二 0 年 月 日 目录 1.引言 3 2.设计要求 3 3.方案论证 4 3.1 搭建系统的基本要求 4 3.2 系统的基本原理和组成. 4 4. 硬件设计. 5 4.1 单片机特性与选择. 5 4.2 模块功能介绍. 5 4.2.1 复位电路部分 . 5 4.2.2 晶振电路 . 6 4.2.3 显示模块 . 7 4.2.4 传感器模块 . 8 4.2.5 超限部分处理电路 10 4.2.6 按键扫描 10 4.2.7 报警电路 11 4.2.8 电源
2、电路 11 5. 程序设计 12 5.1 C 语言介绍 12 5.1.1 编译环境的介绍 . 12 5.2 系统流程图 . 12 5.3 DHT11 读取程序 14 5.3.1 单总线的介绍 14 5.3.2 单总线程序 14 6.设计作品的调试结果. 15 总结. 16 致谢. 17 参考文献: 18 附录一(硬件电路). 19 农业智能大棚系统设计农业智能大棚系统设计 电子信息工程电子信息工程 120352012007120352012007 郑坤 郑坤 指导指导教师:欧琳教师:欧琳 【摘要】本设计选取单片机作核心【摘要】本设计选取单片机作核心元件,使用了模块化和层次化的电路设计理念,选取
3、硬件为主,软元件,使用了模块化和层次化的电路设计理念,选取硬件为主,软 件为辅的设计方式。选用集成温度和湿度传感器件为辅的设计方式。选用集成温度和湿度传感器 DHT11DHT11 去完成关于温度和湿度检测,使温度和湿度信号经去完成关于温度和湿度检测,使温度和湿度信号经 由传感器来进行收集而且是转变为数字的信号,以及使用由传感器来进行收集而且是转变为数字的信号,以及使用 BH1705BH1705 采集光照强度信息并转化为数字信号传采集光照强度信息并转化为数字信号传 递到单片机。并利用单片机来完成数据信息的分析与处理,提供需要显示的信号,此设计使用了递到单片机。并利用单片机来完成数据信息的分析与处
4、理,提供需要显示的信号,此设计使用了 LCD1602LCD1602 来显示数据。试验证实,此设计的系统检测和准确的温湿度和光照强度的控制,可以实现预期的效果来显示数据。试验证实,此设计的系统检测和准确的温湿度和光照强度的控制,可以实现预期的效果. . 【关键词】温度检测,光照检测,湿度检测【关键词】温度检测,光照检测,湿度检测 Design of detection and control system of agricultural intelligent greenhouse 【Abstract 】 This design selects the single chip microcomp
5、uter as the core component, uses the modular and the hierarchical circuit design idea, selects the hardware as the main, the software is supplemented the design way. Selection of integrated temperature and humidity sensor DHT11 to complete a temperature and humidity detection, the temperature and hu
6、midity signal via a sensor to collect and change into digital signal, and the use of acquisition bh1705 light intensity information and transformed into a digital signal is transmitted to the MCU. And the use of single-chip microcomputer to complete the analysis and processing of data, to provide the need to display the signal, this design uses the LCD1602 to display data. Tests confi