基于单片机的智能浇花系统的设计与实现摘 要 随着社会的进展,人民越来越注重环境质量。养殖花卉成了首要选择,在家养殖可以陶怡情操,丰富生活。同时花卉可以通过光合作用吸收二氧化碳释放氧气同时还可以净化空气,而且花卉还可以吸收有毒物质例如刚装修的房屋里的苯、甲醛等。因此越来越多的人喜爱养殖花卉。本文设计了一种智能湿度感应浇花系统。系统以单片机 AT89S52 为控制芯片,启动浇花之前先有蜂鸣器报警,按时按量的供水是完成每天在限定的时间自动启动水泵浇花,根据各种花卉所需水量的差别,使用一个按钮装置来控制给水的时间,也就是电磁阀开启和闭合的时间,其余时间水泵不转,不会有水流通供给补水;根据温度、湿度来严格控制给水主要用到的是 SLHT5-1 土壤温度、湿度传感器,假如传感器检测温度、湿度都达不到规定的要求,就开始浇花,达到了规定的温度、湿度就停止浇花。该系统既能按时、按 量的给花卉浇水,还可以为节约水资源,从而让花卉更好的生长。关键词:单片机;智能浇花系统;传感器;Abstract With the development of society, people pay more and more attention to environmental quality. Flower cultivation has become the first choice, in farming can Tao Yi sentiment, enrich life. At the same time, flowers can absorb carbon dioxide through photosynthesis release oxygen also can purify the air, and the flower also can absorb toxic substances such as just decoration house of benzene and formaldehyde. So more and more people like to breed flowers. This paper designs a kind of intelligent humidity sensing watering system. The systemwith AT89S52 single chip computer as control chip, first started watering the flowers before thebuzzer alarm, timing quantitative watering is to pump water the flowers every day to open automatically at a specified time, according to the different flowers need different quantity of water, with a button to set the watering time length, i.e., the solenoid valve open time, the rest of the time the pump does not turn water can not flo...