Abstract
Currently ,among popular serial expansion in the bus, I2C bus are widely applied because of its strict standard and so much interface peripheral devices which support the I2C bus. It is suitable for the short distance communication between components and chips in a complex microcomputer application system. This article introduces a temperature sensor system design based on the I2C bus. The design is strictly in accordance with the I2C bus specification and givens a method to realize multi-point temperature measurement by using SCM ‘s basic I/O interfaces. It is introduces the concept, characteristics, basic principle of the I2C bus, and the designs and implementations of SCM system hardware and software based on 12C bus in details. The software and hardware of I2c bus application system is applied into research and teaching fields, the results are successful, other similar system can work successfully only if be amended suitable. At the same time, it also detailed introduces the new digital functions, structures and identity numbers of temperature sensor AD74l6. Through the practice, AD7416 has advantages compared with other digital temperature sensor, it has wider range of temperature, higher accuracy, more easily connected and programming. It has value to to promote the use. The design of the main chip is STC89C52, using p1 .0 pin as SCL,using p1.1 pin as SDL.
Keywords:The I2C bus;AD7416;STC89C52