摘要
详细介绍了一种基于高性能单片机ATmega169P和数字温度传感器DS18B20来测量温度的方法,包括DS18B20的测温原理和结构、数字温度计硬件电路的设计,以及实现温度采集和数据通信的软件设计。DS18B20是单线数字温度传感器,将其与ATmega169P结合应用在数字温度计中,具有硬件电路简单、体积小等特点,并可以在此基础上拓展温度记忆功能和上位机通信功能。而且在一根通信线上可以挂接多个传感器,特别适合测点较多、环境恶劣的测量环境。
A method of temperature measurement was presented, which based on high performance microcon- troller named ATmega169P and digital temperature sensor named DS18B20. The principle and structure of DS18B20 was introduced. The hardware design of digital thermometer, and software design of temperature ac- quisition and data communication were dealt with in more details. DS18B20 is a single -wire digital tempera- ture sensor, it can applicable for the temperature measuring system with the ATmega169P, which has charac- teristics such as simple hardware circuit, small size and so on. The system can has temperature value memory function and data communication function. In addition, many sensors can be hung on one communication line, especially for measuring points more harsh environment of the measurement.
出处
《华北科技学院学报》
2017年第1期100-105,共6页
Journal of North China Institute of Science and Technology
基金
中央高校基本科研业务费资助(3142015140)
关键词
数字温度传感器
数字温度计
单片机
Digital temperature sensor
Digital thermometer
Microcontroller