摘要
该文提出一种在RS-232串行接口总线和GPIB通用接口总线之间实现双向数据通信的方案。在该通信方案设计中,单片机PIC18F4620作为控制单元,完成上述两种总线数据的处理及相互转换;TNT4882作为GP1B专用接口芯片,完成GPIB信号的编译与解码;MAX232用于5VTTL/CMOS电平与12VTIA/EIA232电平之间的相互转换。文中介绍了RS-232总线和GPIB总线的特点及应用;讨论了转换接口的硬件构成及电路原理;阐述了接口电路的软件设计过程。
A scheme of implementing bidirectional data communication between RS-232 serial interface bus and GPIB general purpose interface bus is proposed in this paper. In the design of communication scheme, as the control unit, the SCM PIC18F4620 completes the processing and interconversion of the above two kinds of bus data; as GPIB dedicated interface chip, TNT4882 is used tbr compiling and decoding the GPIB signals; and RS-232 interface chip MAX232 is used for the interconversion between 5V TTL/ CMOS level and 12 V TIA/EIA 232 level. In the paper, the characteristics and applications of RS-232 bus and GPIB bus are introduced; the hardware composition and circuit principle of the conversion interface are discussed; and the software design process of the interface circuit is elaborated as well.
出处
《自动化信息》
2011年第10期34-35,67,共3页
Automation Information
关键词
RS-232
通用接口总线GPIB
双向数据通信
转换接口
RS-232
General Purpose Interface Bus (GPIB)
Bidirectional Data Communication
Coversion Interface