论文部分内容阅读
基于单片机的智能浇花系统以AT89S52单片机为控制器,通过温度、湿度检测,由单片机分析处理温度传感器检测的温度数据和土壤湿度传感器检测的湿度信息,并与预先设置的温度值和土壤湿度值进行比较,当达到浇水条件时,单片机给电机驱动模块供电,根据预先设置的浇水量,使水泵运转相应的时间。电机驱动模块使用独立电源供电,集成八路水泵通道。A/D转换模块集成四块PCF8591芯片,占用2个单片机引脚。系统可实现八种不同花卉的土壤湿度检测,并能够对每一种花卉独立浇水。
The intelligent watering system based on single chip microcomputer uses the AT89S52 singlechip as the controller, through the temperature and humidity detection, the temperature data detected by the temperature sensor and the humidity information detected by the soil moisture sensor are analyzed and processed by the single chip microcomputer, and are compared with preset temperature values and soil moisture values For comparison, when the watering conditions are reached, the microcontroller powers the motor drive module, allowing the pump to run for the appropriate time based on the amount of water that is set in advance. The motor drive module uses an independent power supply and integrates eight-way pump channels. A / D converter module integrates four PCF8591 chip, takes up 2 MCU pins. The system enables the detection of soil moisture in eight different flowers, and is able to irrigate each flower separately.