基于单片机的自动浇花系统的设计与实现摘要:随着信息化时代的高速发展,人们对环境的质量也越来越注重。在家养花就成为了人们的第一个选择的东西,在家里养花不仅能够使生活更加丰富,还可以使情操得到陶冶。并且养殖的植物能够通过植物绿色光合作用,在释放氧气的同时吸收二氧化碳,在这种情况下空气也就能够得到净化,从而变得更加清新并且,绿色植物能吸收因为装修而产生的有害物质,比如甲醛和苯等。由于植物的这些优点,越来越多的人,对在家养花情有独钟。这篇文章设计了一种智能湿度感应浇花系统。系统以单片机AT89S52为控制芯片,启动浇花之前先有蜂鸣器报警,然后按照每天的定量供水为限,在固定的时间内,自己启动浇花系统,然后按照各种植物需要的不同水量,来进行浇水,其中会有一个装置来控制,供水的时间也就是电磁阀开启和闭合的时间。在学校供水的时候水棒会进行运转,其他时间停止工作,也就不会有补水,按照温度和湿度来严格控制供给水量,主要用到的是SLHT5-1土壤温度湿度传感器,如果没有呃,检测到温度和湿度达到要求传感器就会机控智能开始,给花浇水。在达到了固定的温度,湿度之后关机就会停止给花浇水,这个系统不仅能够使植物得到按时按量的水量,并且还可以为节约水资源做出贡献,然后在这种情况下植物就能够得到更好的生长。关键词:单片机;自动浇花系统;传感器;AbstractWiththedevelopmentofsociety,peoplepaymoreandmoreattentiontoenvironmentalquality.Farmingflowershasbecomethefirstchoice.Farmingathomecanenrichpeople'slife.Atthesametime,flowerscanabsorbcarbondioxidethroughphotosynthesistoreleaseoxygenandpurifyair,andflowerscanalsoabsorbtoxicsubstancessuchasbenzeneandformaldehydeinnewlydecoratedhouses.Somoreandmorepeopleliketobreedflowers.Thispaperdesignsanintelligenthumidityinductionwateringsystem.ThesystemusessinglechipAT89S52ascontrolchip,buzzeralarmbeforestartingwatering,watersupplyontimeandquantityistoautomaticallystartpumpingwateringatalimitedtimeeveryday.Accordingtothedifferenceofwaterrequirementofvariousflowers,abuttondeviceisusedtocontrolthetimeofwatersupply,thatis,thetimeofopeningandclosingofsolenoidvalve.Thepumpwillnotturnandtherewillbenowaterflowintherestofthetime.ThemainpurposeofstrictlycontrollingwatersupplyaccordingtotemperatureandhumidityisSLHT5-1soiltemperatureandhumiditysensor.Ifthetemperatureandhumidityofthesensorcannotmeetthespecifiedrequirements,itwillstartwateringflowersandstopwateringflowerswhenthetemperatureandhumiditymeetthespecifiedrequirements.Thesystemcannotonlywaterflowersontimeandinquantity,butalsosavewaterresources,sothatflowerscangrowbetter.Keywords:singlechipcomputer;intelligentwateringsystem;sensor一、绪论..........................................................................................................................................11.1选题目的及意义................................................................................................................21.2国内市场发展现状............................................................................................................31.3研究方法和手段................................................................................................................31.4植物、植物的一般生长习性............................................................................................41.5单片机介绍........................................................................................................................4二、基于单片机的智能浇花系统...................................................................................................42.1系统的总体设...