摘要
本系统设计实现一种基于STC89S52单片机控制的花卉自动浇水系统。该系统利用土壤湿度传感器、温度传感器、光敏传感器对土壤的湿度、温度和光照进行监测,并将其土壤湿度、温度、光照实时显示在LCD显示屏上。若超过设定的土壤湿度范围,便对花卉进行适时、适量的浇水。该系统主要包括硬件电路部分和软件模块。硬件电路部分主要由单片机最小系统、土壤湿度、温度和光敏传感器的信号调理电路、LCD显示电路、缺水报警电路、电机驱动电路等;软件部分主要选用C51语言编程,由信号采集模块、显示模块、报警模块和控制模块构成。经测试,系统运行良好,达到了所需功能。
This system is designed and implemented a flower automatic watering system based on STC89S52 single chip microcomputer control. The system uses soil moisture sensors, temperature sensors, light sensors to monitor the soil moisture, temperature and light, and its soil moisture, temperature, light real-time display in the LCD display. If you exceed the set of soil moisture range, then the flowers in a timely manner, the amount of watering. The system mainly includes the hardware circuit part and the software module. The hardware circuit is mainly composed of the minimum system of the single-chip microcomputer, the signal conditioning circuit of the temperature, the temperature and the photosensor, the LCD display circuit, the water shortage alarm circuit and the motor drive circuit. The software part mainly selects the C51 language program, which consists of the signal acquisition module, An alarm module and a control module. After testing, the system works well and meets the required functionality.
出处
《现代制造技术与装备》
2017年第3期60-61,63,共3页
Modern Manufacturing Technology and Equipment