|
基于STM32的智能浇花系统设计与实现
|
Abstract:
为了解决盆栽养殖因浇水不善导致植物枯萎死亡的问题,本文设计了一种基于STM32的智能浇花系统。系统以STM32为主控芯片,设有土壤湿度检测模块,空气有害气体检测模块,水泵控制模块以及安全报警模块。工作原理为:通过湿度传感器检测土壤湿度,控制水泵进行浇水;通过烟雾传感器检测空气中有害气体含量,控制蜂鸣器是否发出警报。经过硬件连接并编程调试后,实现了盆栽植物的自动浇水以及空气质量的预警。实验测试数据表明,所设计系统安全可靠,满足盆栽植物按需按量浇花的要求和空气质量的检测。
In order to solve the problem of plant wilting and death caused by poor watering in pot culture, an intelligent watering system based on STM32 was designed in the paper. The system takes STM32 as the main control chip, and is equipped with soil humidity detection module, air harmful gas detection module, water pump control module and safety alarm module. The working principle is to detect the soil humidity through the humidity module and control the water pump to water and detect the harmful gas content in the air by the smoke sensor to control whether the buzzer gives an alarm. After the hardware connection and programming debugging, the automatic watering of potted plants and the early warning of air quality are realized. The experimental test data show that the designed system is safe and reliable, and can meet the requirements of potted plants watering flowers according to the demand and air quality monitoring.
[1] | 高伟, 董彦辰, 马庆磊. 基于STM32F103C8的智能浇花系统[J]. 中国新技术新产品, 2018(3): 25-26. |
[2] | 何伟宏, 郑首易, 毛锦庚, 等. 基于单片机的智能浇花系统设计与实现[J]. 电子制作, 2016(2): 20-21. |
[3] | 张兆朋. 基于AT89S52的家庭智能浇花器的设计[J]. 电子设计工程, 2011, 19(5): 39-41+44. |
[4] | 卢娜. 基于STM32的智能家居控制系统设计[J]. 商丘职业技术学院学报, 2021, 20(5): 87-91. |
[5] | 陈峰汉, 庄楷. 单片机I/O驱动与隔离电路的设计[J]. 集成电路应用, 2017, 34(11): 87-90. |
[6] | 梁慧敏, 于海丹, 唐钰杰, 等. 双磁钢差动式电磁继电器虚拟样机与参数优化研究[J]. 中国电机工程学报, 2016, 36(1): 258-267. |