文档详情

本科论文设计-基于单片机的智能浇花系统的设计与实现.doc

发布:2018-07-13约1.32万字共32页下载文档
文本预览下载声明
基于单片机的智能浇花系统的设计与实现 摘要 关键词:,,, Design and implementation of the Intelligent Control System for Watering the Flowers based on single chip microcomputer Abstract With the continuous development of science and the people life level of progress , people for the requirements of the life quality is more and more rigorous , plants breeding become part of the family life. The purposes of people breeding plants are for the edify sentiment and improve the indoor and outdoor air quality and so on. Because of the busy jobs and other factors, the inability to water the flowers and plants become the main cause of death. In this paper, AT89C51 single-chip microcomputer designed a kind of automatic watering the flowers control system. The system can work for people who can not water the flowers on time, so that the flowers can grow strength and healthy. This design uses the assembly languages programming, realizing hours, points, second display on LED; And using single chip computer to realize the timing, timing function, and at the same time through four button switches to achieve parameter setting and adjustment function, the water the flowers of the interval time set, the duration of water with the chip set, solenoid valve to be automatic control. According to users setting time done smoothly the task of watering the flowers. Key words: MCU, control, display, solenoid valve 目 录 要 I Abstract II 第1章 绪 论 1 1.1 课题研究背景与意义 1 1.2 课题研究内容与方法 1 1.3 课题研究现状 2 第2章 关键技术介绍 4 2.1 单片机介绍 4 2.2继电器的工作原理和特性 4 第3章 系统需求分析 5 3.1 系统设计目标 5 3.2 系统功能需求 5 3.2.1 单片机最小系统 5 3.2.2 显示模块 5 3.2.3 电机驱动模块 5 3.2.4 按键模块 6 3.2.5 AD转换模块 6 3.3 系统非功能需求 6 3.4 系统开发环境 6 3.5 系统可行性分析 6 第4章 系统设计 7 4.1 系统设计指导原则 7 4.2 体系结构设计 7 4.3 硬件设计 7 4.3.1 STC89C52单片机介绍 7 4.3.2 单片机最小系统 9 4.3.3 复位电路 9 4.3.4 时钟电路 10 4.3.5 AD转换模块 10 4.3.6 显示模块 12 4.3.7 水泵驱动模块 13 4.4 软件设计 14 4.4.1 主程序流程及相关说明 14 4.4.2输入模块 15 4.4.3 AD转换程序 16 第5章 系统实现 18 5.1环境配置 18 5.2 功能模块实现 19 5.2.1 主函数实现 19 5.2.2 LCD1602数据读取函数实现 20 5.2.3 延迟函数实现 22 第6章 系统测试 24 6.1 测试概述 24 6.
显示全部
相似文档