龙源期刊网
http://www.qikan.com.cn
基于单片机的自动浇花系统的设计
作者:吴蓓
张阳
来源:《现代信息科技》
2018
年第
03
期
摘
要:为了解决人们生活中由于工作繁忙或无人照料而带来的浇花难的问题,本文基于
AT89C51
单片机设计了一款自动浇花系统。当花盆土壤湿度低于下限值时,系统报警并进行
自动浇水,当湿度值达到上限值时,浇水停止。同时,采集到的土壤湿度值及设置的上下限值
可以通过显示器进行显示。
关键词:单片机;自动浇花;系统设计
中图分类号:
TP368.12
文献标识码:
A
文章编号:
2096-4706
(
2018
)
03-0039-03
Design of Automatic Watering System Based on Single Chip Microcomputer
WU Bei
,
ZHANG Yang
(
Nanjing University of Aeronautics and Astronautics Jingcheng College
,
Nanjing 211156
,
China
)
Abstract
:
In order to solve the problem of watering flowers caused by busy or unattended life in
people's lives. This paper designs an automatic watering system based on AT89C51 microcontroller.
When the soil humidity is lower than the lower limit
,
the system alarm and automatic watering.
When the humidity reaches the upper limit
,
water stops. At the same time
,
the collected soil
moisture value and the upper and lower limit values can be displayed through the display.
Keywords
:
single chip microcomputer
;
automatic watering
;
system design
0
引
言
现如今,很多人会在家中或办公场所摆放植物,让人们在工作学习之暇提提神。植物的光
合作用可以净化空气,满足人们对高品质生活的要求。然而现代人的生活节奏越来越快,尤其
是当人们忘记或有事长时间不在家时,植物就会面临缺水甚至干枯的状况。据研究表明:
80%
以上的小植物枯萎都是缺水问题引起的。因此,根据土壤湿度来实现自动浇水功能的装置应运
而生
[1
,
2]
。
1
硬件电路设计
本文针对实际需要,设计了一套具有湿度检测功能的自动浇水系统,它能够保证植物在生
长过程中有充足的水分。系统整体框图如图
1
所示。