摘要
本文以病房呼叫系统为例,利用普通单片机两根I/O接口线作为I2C总线系统的同步时钟和数据线SCL、SDA,将由单片机中组成的主机和几十台呼叫从机电路挂在I2C总线上,仿照I2C总线的通讯协议,通过软硬件电路,完成一对多呼叫的数据传送。在主机的地址查询过程中,从机的字节应答形式使呼叫系统更为可靠。
The paper takes ward calling system as an exam -ple, utilizes two common I/O single chip processor interface line as synchronous clock and date line SCL,ADA of I2C bus system, linking the host system made up of single chips and tens of calling follower circuit with PC bus, imitates communication agreement of I2C bus and finishes message of one host to be carried out by followers simultaneously trough software and hardware circuit. Thus the byte answering form followers make the calling system more reliable in the inquiry process of host address system.
出处
《微计算机信息》
2002年第9期38-39,共2页
Control & Automation