摘要
针对目前DS18B20构成的各种温度测量系统主要采用单片机来读取其温度数据,再通过单片机与计算机进行通讯存在的成本高、故障点多、稳定性相对较差的缺点,提出一种通过微机串口直接读取DS18B20温度数据的方法。文中简单介绍了DS18B20的内部结构和工作原理,结合实际使用经验详细介绍了通过微机串口直接读取DS18B20温度数据的软硬件设计。上述方法具有系统软硬件设计简单、安装方便、成本低廉、易于维护等优点,是多点温度测量系统的理想解决方案。
Currently, all kinds of temperature measurement system consisting of DS18B20 are mainly used to read its temperature data through MCU, and then communicate with PC through MCU. This mode has some disadvantages that high-cost, more point of failure, poor stability relatively. In view of these disadvantages, this paper presented a method which read DS18B20 temperature data through a PC serial port directly. The paper briefly introduced the internal structure and working principle of DS18B20, combined with practical experience in the use recommends the software and hardware design which read DS18B20 temperature data through a PC serial port directly in detail. The above method has the features of simple hardware and software system designed, easy to install, low-cost and easy to maintain, it is a muhidrop temperature measurement system the ideal solution.
出处
《仪表技术与传感器》
CSCD
北大核心
2009年第4期52-53,66,共3页
Instrument Technique and Sensor