摘要
DS1820是常用的测量元件,本文介绍了一种新颖的使用方法,由一个简单的电路完成RS232电平与TTL电平的转换,用PC机串口来模拟DS1820单总线协议操作,将多个DS1820接入串口构成多点测温网络。文章分析了DS1820总线协议的特点,并以图例的方式直观地分析了串口模拟DS1820单总线操作的过程,此方法在温度检测系统中有着广泛的应用前景。
DS 1820 is commonly used to detect temperature. A novel application method about this device is presented in this paper. A simple circuit is designed to interconvert between RS232 and TTL. The one-wire protocol of DS1820 is simulated by serial port of PC. Multi-DS1820 are connected to the one-wire bus to form the temperature detecting network. The property of one-wire bus analyzed and the process of simulation by serial port with flow chart are introduced detailedly and visually in the paper. This method is expansive in the domain of temperature measurement.
出处
《传感器世界》
2007年第2期46-49,共4页
Sensor World
关键词
DS1820
温度测量
单总线
串口
DS1820
temperature detection
one-wire bus
serial port