摘 要:自动灌溉系统通过对浇灌设备的自动控制,通过技术在浇灌方面达到节水的目的。文章研究的是基于 STC89C52单片机自动浇灌系统,通过 ADC0832 模块,采集土壤湿度传感器信号,并将模拟量转换成数字量,并由单片机对数据进行分析处理;通过 DHT11 模块,对外部环境温湿度进行检测;通过 LCD1602 液晶显示,将数据显示在屏幕上;通过蜂鸣器、发光二极管,完成声光预警模块;通过继电器模块控制水泵,完成自动浇灌的目的。
关键词:STC89C52;A/D 转换;YL-69;LCD1602
DOI:10.19850/j.cnki.2096-4706.2022.06.044
中图分类号:TN929.5 文献标识码:A 文章编号:2096-4706(2022)06-0172-04
Design of Automatic Irrigation System Based on Single-Chip Microcomputer
XU Xiaoxia
(School of Information and Engineering, Xi’an Technology and Business College, Xi’an 710200, China)
Abstract: Through the automatic control of irrigation equipment, automatic irrigation system achieves the purpose of water saving by technology in irrigation. This paper studies the automatic irrigation system based on STC89C52 single-chip, through ADC0832 module, collects soil moisture sensor signal, and converts analog quantity into digital quantity, and analyzes and processes data by single chip. It detects the external environment temperature and humidity by DHT11 module, displays the data on the screen through LCD1602 liquid display, completes the sound and light warning module by the buzzer and light-emitting diode, completes the purpose of automatic irrigation through controlling water pump by the relay module.
Keywords: STC89C52; AD conversion; YL-69; LCD1602
参考文献:
[1] 刘玉明 . 我国水资源现状及高效节水型农业发展对策 [J].农业科技与信息,2020(16):80-81+83.
[2] 王世传,宋陆飞,崔卫超,等 . 基于单片机的智能可控浇花装置的设计 [J]. 电子质量,2018(12):47-49.
[3] 杨风霞 . 基于单片机的智能浇花系统设计 [J]. 智库时代,2018(45):171-172.
[4] 许一洲 . 基于单片机的智能控制浇花系统的设计 [J]. 信息通信,2020(5):103-105.
[5] JAE,SOOL,H A N , e t al .T h e d e si g n a n d implementation of an automatic join system [J].JOURNAL OF THE KOREA INFORMATION SCIENCE SOCIETY,1986,13(4):264-273.
[6] 朱鑫乐,侯文静,惠金娣 . 基于单片机的智能花盆设计 [J].信息技术与信息化,2020(2):172-173.
[7] 谢维成,杨加国 . 单片机原理与应用及 C51 程序设计 [M].北京:清华大学出版社,2014.
作者简介:徐晓霞(1984—),女,汉族,山西大同人,副教授,硕士研究生,研究方向:仿真技术、信号与信息处理、模糊控制等。