介绍了单片机ADuC812与新型数字温度传感器TMP100、LED显示电路等组成的采用I^2C总线的温度测量系统。PC总线仅仅需要两根信号线(SDA、SCL)就实现了完善的双工同步数据传送,采用器件地址的硬件设置方法,完全避免了器件片选线寻址的弊端,从而使硬件系统具有更简单、更灵活的扩展方法。系统的核心部分是与MCS-51单片机兼容的高性能单片机ADuC812。软件编写采用8051汇编语言。系统充分展示了采用I^2C总线的数据采集单片机测量系统的灵活性、精密性和高集成性,提出了实现环境温度的高精度测量方法,能够很好地应用于γ能谱仪等核仪器仪表。
This paper introduces a temperature measuring system which is composed of a single chip microcomputer ADuC812, new type digital temperature sensor TMP100, LED display circuit and based on I^2C bus. I^2C bus which is invented by PHILIPS company needs only two signal lines (SDA,SCL), can realized perfect duplex synchronous data transmission. Using the method of hardware setting of device address, can completely avoid the disadvantages of device selection addressing, thus can make hardware system has simplifier and more flexible extension method. The key part of the system is composed of a single chip microcomputer ADuC812 which is compatible with MCS-51 and is invented by AID company in America. The software is compiled with 8051 assembly language. The data acquisition single chip microcomputer measurement system with I^2C bus fully shows the features of flexibility, precise and high integration. Proposed high accuracy measurement method to realize environment temperature measure.