基于RS-总线远程多点分布式温度监控系统毕业设计.doc
文本预览下载声明
中文摘要
在实际生产、生活、工业控制18B20数字温度传感器,利用STC89C516RD+单片机采集温度数据并显示当前温度,通过RS-485 串口传回主控计算机,实现对环境现场多个分布点的温度的远程实时监测;在软件方面,下位机采用C51编写DS18B20采集温度数据的程序和1602液晶的显示程序,上位机采用Visual Basic6.0编写软件实现温度的实时显示、曲线绘制、高温报警等功能。由于本系统采用了单线多点数字化测量技术,具有测量误差小、抗干扰能力强、快速、可靠、低成本、数字化与网络化等特点。本系统可被广泛用于粮库、仓库、矿井、机房、煤堆、花房、养鸡场等场合,有很好的使用价值。
关键词:单片机,RS-485,DS18B20,Visual Basic6.0,实时监测
ABSTRACT
In actual production, living, industrial control and other fields, the temperature is an integral part of environmental factors, the precise on-site detection and real-time temperature monitoring is particularly important. For example, all levels of agriculture on the soil temperature will affect plant growth; Nursery at the hospital have in order to achieve constant temperature measurements. In industry, barrel ceiling inside and outside, and heat treatment in different temperature requirements in various parts of the workpiece after the formation of temperature on the performance of critical parts and so on.
The contents of this paper, RS-485 bus based remote multi-point distributed temperature monitoring system, the system through hardware design, placed in the environmental field over DS18B20 digital temperature sensor, temperature data collected by STC89C516RD microcontroller and display the current temperature, through the RS- Returns the host computer serial port 485, to achieve distribution of points on the environment than the temperature field of remote real-time monitoring; On the software side, the next crew prepared using C51 DS18B20 temperature data collection procedures and liquid crystal display program 1602, the PC software using Visual Basic6.0 write real-time display of temperature, curve drawing, high temperature alarm. Because this system uses a single multi-point digital measurement technology, with measurement error is small, anti-interference ability, quick, reliable, low cost, digital and network characteristics. This system can be widely used for grain storage, warehouse, mine, the engine room, co
显示全部