{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的花盆自动浇水系统的设计(附系统电路图,程序代码)

来源:56doc.com  资料编号:5D21706 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D21706
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

基于单片机的花盆自动浇水系统的设计(附系统电路图,程序代码)(论文15000字)
摘  要
随着社会科技的不断发展和经济水平的不断提高,各种家居设备向着人性化、智能化方向发展。花盆自动浇水系统可以大大减少养花人的浇水次数,同时保证植物生活在良好状态,其是家居设备智能化的一部分。
本次设计的花盆自动浇水系统每隔一段时间测量土壤湿度和温度,当湿度过低时,启动浇水功能,如果水箱没水则发出报警信息,提醒人们为水箱加水;当温度过高时则会发出报警信息,以提醒人们把花盆搬到温度较低的地方。本系统采用SST89E58单片机作为控制芯片,以单片机最小系统为核心,并由以TLC1549AD芯片为土壤湿度测量模块,以DS18B20为温度测量模块,以ILI9325和XPT2046为控制芯片的LCD触摸屏,以直流电机控制的浇水模块和水位报警模块等外围电路构成。整个系统包括土壤湿度和温度的数据采集,系统状态信息的显示和控制,水泵的控制,水箱的水位报警,下位机和上位机之间的无线通信和上位机显示界面设计,历史数据存储等。实际使用表明,本系统实现了预设的功能,工作可靠、准确性较高。

关键词:单片机  土壤湿度测量  温度测量  自动浇水

Design of flowerpots automatic watering system based on Microcontroller
Abstract
With the continuous development of social technology and economic level continues to improve, various household equipment trend to the development of humane and intelligent direction. Intelligent flowerpot watering systems can greatly reduce the work of people watering the flower, while ensuring plant life in good condition, and it also is a part of the intelligent home devices.
  The intelligent watering system measure soil moisture and temperature at regular intervals. When the humidity is too low, it will start watering function. It send an warning message to warn people to add water into a water tank if the tank have no water. If the temperature is too high, it will issue a message to warn people to put it to more cool place. The system uses Microcontroller SST89E58 as the control chip and the core is the smallest single-chip system. It composed by measurement module of soil moisture using TLC1549 AD converter chip, temperature measurement module using a DS18B20 chip, a LCD using ILI9325 and XPT2046 chip, watering module using a DC motor and water level alarm module and other peripheral circuits. The system design include acquisition of soil moisture and temperature, displaying system status information, control the pump, alarm module of tank level, wireless communication between lower machine and PC and PC display interface design. At the same time, the system displays information to the LCD and sent the related information to the host computer through the wireless module, and the host computer record historical data.

 Key Words: Microcontroller; Soil moisture measurement; Temperature measurement;                                                             
            Automatic watering
 

基于单片机的花盆自动浇水系统的设计
基于单片机的花盆自动浇水系统的设计
基于单片机的花盆自动浇水系统的设计


目  录
摘  要    I
Abstract    II
第一章 绪   论    1
1.1 课题研究的背景    1
1.2 论文所做的工作    2
第二章 系统设计概述    3
2.1 系统的内容和要求    3
2.2 系统的方案选择    3
2.2.1系统显示设计方案    3
2.2.2 湿度测量设计方案    4
2.2.3 温度测量设计方案    4
2.2.4 水位报警设计方案    5
第三章 硬件系统设计    6
3.1 硬件系统框图    6
3.2 单片机最小系统    6
3.3 湿度测量模块    8
3.4 温度测量模块    10
3.6 水位报警模块    11
3.7 显示模块    12
3.7.1 ILI9325显示模块    12
3.7.2 XPT2046触摸模块    13
第四章 软件设计    15
4.1 主程序    15
4.2 土壤湿度程序    16
4.3 温度测量程序    19
4.4 LCD显示程序    20
4.5 触摸屏程序    21
4.6 上位机程序    22
第五章 系统调试    24
结束语    26
参考文献    27
致谢    28
附录一 系统电路图    29
附录二 上位机程序设计    30
附录三 下位机程序设计    33

推荐资料