摘要
针对大棚农业、植被种植、特别是育种等农业种植方面对土壤温度和湿度环境的特殊要求,以STC89C52单片机为核心芯片,并搭配相关的外围功能模块,设计了一款基于STC89C52单片机土壤温湿度检测器;该土壤温湿度检测器利用温度和湿度传感器SHT11采集土壤的温度和湿度信息,并将采集到的信息并传送到STC89C52单片机,单片机将接收到的信号进行分析和处理,并将采集到的温湿度信息发送到LCD1602进行显示;同时,通过将采集到的温湿度信息与设置温度和湿度的门限值进行比较,进而控制声光报警模块,实现超限报警功能;实验表明,该检测器的温度范围为-40^+123.8℃、精度误差为±0.4℃,湿度范围为0~100%RH、误差为±3.0%RH;实验结果表明土壤温湿度检测器的测量精度高、可靠性较高,而且具有价格便宜、操作方便、方便携带及体积小的优点。
Aiming at the special requirements of soil temperature and humidity environment in greenhouse agriculture,vegetation planting,especially breeding,the soil temperature and humidity detector based on STC89C52 single-chip computer was designed,which choose the STC89C52 single-chip microcomputer as the core chip and with related peripheral function modules.The soil temperature and humidity detector uses the temperature and humidity sensor SHT11 to collect the temperature and humidity information of the soil,and transmits the collected information to the STC89C52 single-chip microcomputer,and the single-chip computer analyzes and processes the received signal,and collects the temperature and humidity.The information is sent to the LCD 1602 for display.At the same time,by setting the temperature and humidity thresholds,the over-limit alarm function is realized.Experiments show that the detector has a temperature range of-40 to+123.8℃,an accuracy error of±0.4℃,a humidity range of 0 to 100%RH,and an error of±3.0% RH.Provide reference for the development of related products.The experimental results show that the soil temperature and humidity detector has high measurement accuracy and high reliability,and which has the advantages of low price,convenient operation,convenient carrying and small volume.
作者
谢永超
杨利
Xie Yongchao;Yang Li(Hunan Railway Professional Technology College,Zhuzhou 412001,China)
出处
《计算机测量与控制》
2019年第10期205-208,213,共5页
Computer Measurement &Control
基金
湖南省教育厅科学研究项目(18C1526)