针对人们由于工作繁忙或出差而导致植物浇水难的问题,设计一个基于单片机的智能自动浇花系统。系统由单片机、电源电路、显示电路、土壤检测模块、按键电路和水泵电路组成。AT89C51单片机作为控制器,接收湿度传感模块YL-69测得的土壤湿度,当湿度小于设置的下限值时,水泵自动打开进行浇水,直到湿度大于设置的上限值,水泵自动关闭,LCD显示器显示当前土壤湿度及设定湿度的上下限值。系统操作简便,成本低廉,在实际生活中有很好的应用价值。
In order to solve the problem that people are difficult to water the plants due to busy work or business trip, an intelligent automatic watering system based on single chip microcomputer is designed. The system consists of single chip microcomputer, power supply circuit, display circuit, soil detecting module, button circuit, and water pump circuit. The AT89 C51 single-chip microcomputer is used as the controller to receive the soil moisture measured by the humidity sensing module YL-69. When the humidity is lower than the lower limit value, the water pump automatically opens for watering until the humidity is greater than the upper limit value, and the water pump automatically shuts down. LCD display shows current soil moisture and upper and lower limits of set humidity. The system is easy to operate, low in cost, and has good application value in real life.