登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 自动化 > 正文

基于单片机的智能花盆的设计

 2023-03-09 08:03  

论文总字数:28025字

摘 要

随着现代技术的不断发展,各种科技便利在生活中不断展现出来。土壤温湿度检测越来越容易,就是其中一种好处。土壤温湿度检测可以广泛应用于实验室、大棚,茶园甚至家中的盆栽,而不需要花费特别高的价格。但是传统的温湿度传感器是不适合用于土壤温湿度检测的。因为土壤湿度是指取1公斤土样,彻底烘干,减少的重量(水的重量)与1公斤的比值称为土壤湿度。而空气相对湿度的定义是当前温度下的绝对湿度与当前温度下的饱和湿度的百分比。
    因此土壤湿度跟空气湿度不是一个概念,也不是一个数量级,土壤湿度10%时土壤中空气的湿度已经100%了。所以我选用了SHT10传感器,并且它有很好的保护装置,可以说是物美价廉。此外单片机价格低廉、体型小巧且功能强大也适合用于家庭使用。液晶显示器也方便了家庭成员观察植物的生长状况,在无暇照料植物的时候,低于一定湿度该装置还可以自动浇水,免除了植物干枯致死的遗憾。

本文通过使用STC89C52单片机、SHT10传感器模块、1602液晶显示屏模块、独立按键以及自动浇水模块(包括ULN2003驱动模块和电动机)。SHT10将采集到的数据发送至单片机。然后显示到1602上。并对土壤湿度设置比较值,低于比较值进行自动浇水。

关键词:SHT10传感器;1602液晶显示屏;STC89C52;自动浇水

The design of Laboratory of intelligent flower pot based on MCU

Abstract

With the continuous development of modern technology, a variety of scientific and technological convenience in life continue to show up. Soil temperature and humidity testing more and more easy, is one of the benefits. Soil temperature and humidity testing can be widely used in laboratories, greenhouses, tea gardens and even pots at home, without the need to spend a particularly high price. [11]But the traditional temperature and humidity sensor is not suitable for soil temperature and humidity testing. Because the soil moisture is to take 1 kg of soil samples, thoroughly dry, reduce the weight (water weight) and 1 kg ratio called soil moisture. The air relative humidity is defined as the absolute humidity at the current temperature and the percentage of saturated humidity at the current temperature.

    So the soil moisture with air humidity is not a concept, nor is it an order of magnitude, soil moisture 10% when the air humidity in the soil has been 100%. So I chose the SHT10 sensor, and it has a very good protection device, can be said to be inexpensive. In addition, the microcontroller is inexpensive, compact and powerful, and suitable for home use. Liquid crystal display also facilitates the family members to observe the growth of plants, in the absence of time to take care of plants, less than a certain humidity of the device can also be automatically watering, eliminating the loss of plants die dead regret.This article uses STC89C52 microcontroller, SHT10 sensor module, 1602 liquid crystal display module, independent button and automatic watering module (including ULN2003 drive module and motor). SHT10 will send the collected data to the microcontroller. Then displayed on 1602. And the soil moisture set the comparison value, below the comparison value for automatic watering.

Key words: SHT10 sensor;1602 LCD screen;STC89C52;Automatic watering

目 录

摘 要 I

Abstract II

第一章 引言 1

1.1 研究的背景及意义 1

1.2 SHTl0的介绍及温湿度传感器的发展现状 1

1.3 小结 2

第二章 方案设计 3

2.1 概述 3

2.2 传感器型号的选择 3

2.3 显示模块的器件选择 4

2.4电动机的选择 4

2.5 驱动模块的器件选择 5

2.6 键盘的选择 5

2.7 单片机的选择 5

第三章 硬件设计 7

3.1概述 7

3.2传感器模块部分设计 7

3.2.1 传感器模块的实物介绍以及原理图 7

3.2.2 工作原理及在本次设计中的工作流程 8

3.2.3 SHT10应用电路 13

3.2.4 小结 13

3.3液晶1602显示电路与运行指示灯说明 13

3.3.1 LCD的介绍 13

3.3.2 LCD1602主要技术参数 14

3.3.3 液晶1602显示电路原理 15

3.3.4 显示部分的电路设计 15

3.3.5 显示功能说明 16

3.4 单片机 16

3.4.1 STC89C52芯片的简介 16

3.4.2 单片机在本设计中的作用 17

3.4.3 51单片机的引脚配置(如图3.11) 17

3.5 浇水模块 18

3.5.1 ULN2003介绍 18

3.5.2 步进电机介绍 19

第四章 软件设计 20

4.1 软件设计流程图 20

4.2 软件结构图 21

4.3 传感器接收部分流程图 22

4.4 LCD显示部分流程图 23

第五章 仿真与调试 25

第六章 结束语 28

致谢 29

参考文献 30

附录 31

剩余内容已隐藏,请支付后下载全文,论文总字数:28025字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图