首页 | 本学科首页   官方微博 | 高级检索  
     

基于I2C总线的I/O口扩展设计
引用本文:叶扬科,钱剑敏,成高.基于I2C总线的I/O口扩展设计[J].现代电子技术,2012,35(12):59-62.
作者姓名:叶扬科  钱剑敏  成高
作者单位:1. 东华大学 信息科学与技术学院,上海,201620
2. 上海华东汽车信息技术有限公司,上海,201620
摘    要:由于传统的NI—DIO驱动板卡能够驱动的I/O口数量比较有限,一般只应用在测试通道数比较少的实验场合。而在一般的大型环境试验中,要求能对多个产品同时测量。如果使用传统的DIO板卡测试,就会出现测量通道数量不够的情况。针对此类问题,提出了运用单片机与I/O扩展芯片PCA9554/A采用I2C通信进行I/0扩展,上位机采用LabVIEW编程,界面友好、操作方便,在环境实验中起到了良好效果。

关 键 词:I/O口  MCU  PCA9554/A  LabVIEW

Design of I/O port expansion based on I~2C bus
YE Yang-ke , QIAN Jian-min , CHENG Gao.Design of I/O port expansion based on I~2C bus[J].Modern Electronic Technique,2012,35(12):59-62.
Authors:YE Yang-ke  QIAN Jian-min  CHENG Gao
Affiliation:1.College of Information Science and Technology,Donhua University,Shanghai 201620,China;2.CETC-MOTOR,Shanghai 201620,China)
Abstract:Since the traditional NI-DIO driver board can only drive limited number of I/O ports,it is always used in the test occasions,in which there are few testing channels under test.But in general large test,many products need to be measured in the same time.If the traditional NI-DIO driver board is used for testing,the number of test channels will be not enough.In the light of this,a way of I/O expansion is proposed,in which I2C bus communication between MCU and I/O extension chip PCA9554/A is used.The LabVIEW is used for programming on the PC.It has friendly interface and easy operation.A good result was achieved in environment test.
Keywords:I/O port  MCU  PCA9554/A  LabVIEW
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号