摘要
介绍了一种基于AVR系列单片机ATmega8与单总线数字温度传感器DS18B20进行多点温度测量的方法,给出了在一根单总线挂接多个DS18B20的接口电路,及DS18B20序列号读取方法和其与单片机通信的C语言程序,该方法简单、易用,已经在一些电路中得到了应用。
Introduction was made to a kind of multipoint temperature measurement method to be carried out based on AVR MCU and 1-wire bus digital thermometer DS18B20. 1-wire bus interface circuit connected with several DS18B20s was given, as well as DS18B20 serial number reading method and its C program communicating with MCU. The method is simple and easy to use, having been applied in some circuits.
出处
《电工电气》
2010年第12期47-51,共5页
Electrotechnics Electric