journal6 ›› 2008, Vol. 29 ›› Issue (1): 79-82.

• 物理与电子 • 上一篇    下一篇

I2C总线在单片机串行扩展中的应用

  

  1. (长沙师范学校,湖南 长沙 410100)
  • 出版日期:2008-01-25 发布日期:2012-05-26
  • 作者简介:高晓红(1979-),女,湖南南县人,长沙师范学校教育技术中心教师,主要从事计算机教学与研究.

Application of I2C Bus in Serial Extension of Microcontroller

  1. (Changsha  Normal  College,Changsha    410100,China)
  • Online:2008-01-25 Published:2012-05-26

摘要:介绍I2C总线的结构、工作原理、数据传输方式和优点,对于不带I2C总线接口的单片机,利用其常规的I/O口来模拟I2C总线接口,消除了串行扩展的局限性,并设计了数字温度传感器DS1624与不带I2C总线接口的单片机AT89C52的硬件系统,给出了软件实现的流程图及汇编语言程序. 

关键词: I2C总线, 单片机, DS1624

Abstract: On the basis of introduction of the structure,principle and mode of data trassmission of I2C bus,the paper summarizes the advantages of I2C bus.As for the microcontroller without I2C bus interface,it can use the microcontroller's I/O interface to simulate I2C bus,which provides a simple way to realize serial extension.According to the application of I2C bus to the temperature controlling system,the design of hardware and the software program in assemble language are introduced in detail.

Key words: I2C bus, microcontroller, DS1624

公众号 电子书橱 超星期刊 手机浏览 在线QQ