- 1
- 0
- 约1.5万字
- 约 27页
- 2024-04-28 发布于广东
- 举报
PAGE20
PAGEIII
基于单片机的自动浇水灌溉系统设计
摘要
本次设计的自动浇水灌溉灌溉系统包括土壤温湿度的检测与控制和蓄水箱自动上水及水位报警两大部分。土壤温湿度的检测与控制部分又包括了土壤温湿度的检测和显示、自动浇水灌溉系统。土壤温湿度的检测和显示以温湿度传感器SHT-11为感应部件,将检测到的土壤温湿度值送入AT89C51单片机,再由其输出到LCD屏进行显示。自动浇水灌溉系统设计为智能和手动两个部分:智能浇水灌溉灌溉部分是通过单片机程序设定浇水灌溉的上下限值与SHT-11送入单片机的土壤湿度值相比较,当低于下限值时,单片机输出一个信号控制电磁阀打开,开始浇水灌溉,高于上限值时再由单片机输出一个信号控制电磁阀关闭,停止浇水灌溉;手动部分是由单片机从时钟芯片DS1302读入月份与每天的实时时刻,通过软件程序设定定时浇水灌溉的时间与浇水灌溉的量。
关键词:AT89C51单片机;SHT-11温湿度传感器;LCD;DS1302时钟芯片;C51程序;数字电路
Abstract
Thedesignoftheautomaticwateringsystemincludessoilpothumiditydetectionanddisplay,automaticwateringandstorageboxautomaticwaterandwaterlevelalarmthreeparts.S-oiltestinganddisplayoftemperatureandhumiditysystemtakesTemperatureandhumiditysen-sorSHT-11asinductivecomponents,itwilldetectthesoiltemperatureandhumidityvalueandinputthevaluetotheAT89C51microcontroller,thenthetemperatureandhumidityvaluewillbeoutputtoLCDscreendisplayed.Automaticwateringsystemdesignforintelligenceandmanualtwoparts.Intelligentwateringpartthroughthemicrocontrollerprogramsettingtheupperandlo-werwaterattained,thencomparingthisupperandlowerwaterattainedwiththevalethatthroug-hingSHT-11inputtingtothemicrocontroller.WhenbelowthelimitSCMoutputsasignaltoo-peningtheElectromagneticvalve,andStartwatering.ifAbovetheupperlimitvalue,theSCMwilloutputanothersignaltoTurnningofftheElectromagneticvalve,andStopwatering.ManualpartreadthetimefromtheclockchipDS1302bymicrocomputer.ThroughsoftwareprogramtosettingtheregularwateringtimeandWateringamount.StorageboxWaterlevelcontrolsystemu-sesPurehardwarecontrol.
Keywords:AT89C51microcontroller;SHT-11temperatureandhumiditysensor;LCD;clockchipDS1302;C51program;Digitalcircuit
目录
TOC\o1-3\h\z\u摘要 I
Abstract II
第一章绪论 1
1.1课题研究的背景意义 1
1.2自动浇水灌溉的诞生背景及发展现状 1
1.3研究方法 2
第二章AT89C51单片机 4
2.1AT89C51单片机的基本
原创力文档

文档评论(0)