摘要
文中介绍了单总线数字式温度传感器DS18B20的应用特点,给出了基于DS18B20与AVR单片机CVAVR编译器的编程思路以及多点测温的程序设计,分析并提出了测温系统数据不稳定的电路改进措施,同时给出了接口程序的编程技巧和应用实例。
The paper elaborated on the application features of digital single bus temperature sensor (DS18B20) and demonstrated the programming method of CVAVR complier as well as the programming design of multi-point temperature measuring on the basis of DS18B20 and AVR single-chip microcomputer. Building on the above, the paper analyzed the reason for data instability in temperature measuring system and provided the corresponding circuit improving measures. At last, the programming skills and application examples for interface programme were put forward in the paper.
出处
《仪器仪表用户》
2010年第1期51-52,共2页
Instrumentation
关键词
单总线
DS18B20
AVR单片机
程序设计
硬件连接
single bus
DS18B20
AVR single-chip microcomputer
programming design
hardware connection