资 源 简 介
针对目前采用的热敏电阻测量方法,提出了采用单总线数字式温度传感器DS18B20和单片机组成的新型温度测量仪。介绍DS18B20的结构和工作原理,以及单总线工作原理,给出了由Mega8单片机和DS18B20构成的单总线温度测量仪的硬件电路及软件流程图。经试验基于单总线器件DS18B20的温度测量仪,具有测量准确、测温范围宽、体积小、控制方便等优点。
- Abstract:
- This paper brings forward a new temperature meter composed of 1-Wire temperature sensor DS18B20 and MCU which has advantage of the thermistor. In the article, the DS18B20's structure and controlling principles are introduced and hardware circuit and software diagram of the temperature meter are given.After been tested,the temperature meter has the advantages of accurate measurement, wide temperature range, small volume and convenient controlling.