摘要
以STC89C52RC单片机为核心,开发了一套多点温度采集系统。该系统利用标准的二叉树算法对挂接在总线上的数字温度传感器DS18B20进行识别和操作,采用红外线技术实现相邻2个单片机的无线通信,通过RS232串口实现单片机主机与计算机的通信,使用Visual Basic 6.0编制上位机工控软件实现对采集点的温度显示、记录、设置及报警等操作。实际运行表明,该系统稳定可靠,操作简单,界面友好,性价比高。该系统实现了总线式多点测温功能,其应用前景广阔。
This article developed a set of multipoint temperature acquisition and monitoring system by using the STC89C52RC single-chip microcomputer as the core .The system used a standard binary tree algorithm to recognize the digital temperature sensor DS 18 B20 which were articulated on the bus .The wireless communication of adjacent two single-chip microcomputers was realized by using infrared technol-ogy.The communication between single chip computer host and the computer was realized by using RS232 serial port .The upper computer industrial control software was programmed to achieve the opera-tions of collection points'temperature's display, record, set and alarm and so on by using Visual Basic 6.0.Actual operation shows that the system has the stable and reliable performance , simple operation, friendly interface, high performance-price ratio.This system realizes the bus multipoint temperature measurement functions , it has a broad application prospect .
出处
《工业仪表与自动化装置》
2014年第1期27-31,35,共6页
Industrial Instrumentation & Automation
基金
2012年度国家公益性行业(农业)科技专项经费项目(201203028)
青岛市公共领域科技支撑计划项目(621254)
重庆交通大学省部共建水利水运工程教育部重点实验室开放基金资助(SLK2010B01)