基于单片机的自动浇花系统的设计与实现摘要:随着信息化时代的高速发展,人们对环境的质量也越来越注重。在家养花就成为了人们的第一个选择的东西,在家里养花不仅能够使生活更加丰富,还可以使情操得到陶冶。并且养殖的植物能够通过植物绿色光合作用,在释放氧气的同时吸收二氧化碳,在这种情况下空气也就能够得到净化,从而变得更加清新,并且,绿色植物能吸收因为装修而产生的有害物质,比如甲醛和苯等。由于植物的这些优点,越来越多的人,对在家养花情有独钟。这篇文章设计了一种智能湿度感应浇花系统。系统以单片机 AT89S52 为控制芯片,启动浇花之前先有蜂鸣器报警,然后按照每天的定量供水为限,在固定的时间内,自己启动浇花系统,然后按照各种植物需要的不同水量,来进行浇水,其中会有一个装置来控制,供水的时间也就是电磁阀开启和闭合的时间。在学校供水的时候水棒会进行运转,其他时间停止工作,也就不会有补水,按照温度和湿度来严格控制供给水量,主要用到的是 SLHT5-1 土壤温度湿度传感器,如果没有呃,检测到温度和湿度达到要求,传感器就会机控智能开始,给花浇水。在达到了固定的温度,湿度之后关机就会停止给花浇水,这个系统不仅能够使植物得到按时按量的水量,并且还可以为节约水资源做出贡献,然后在这种情况下植物就能够得到更好的生长。关键词:单片机;自动浇花系统;传感器;AbstractWith the development of society, people pay more and more attention to environmental quality. Farming flowers has become the first choice. Farming at home can enrich people's life. At the same time, flowers can absorb carbon dioxide through photosynthesis to release oxygen and purify air, and flowers can also absorb toxic substances such as benzene and formaldehyde in newly decorated houses. So more and more people like to breed flowers. This paper designs an intelligent humidity induction watering system. The system uses single chip AT89S52 as control chip, buzzer alarm before starting watering, water supply on time and quantity is to automatically start pumping watering at a limited time every day. According to the difference of water requi...