论文部分内容阅读
本文以微机打印并行口与8051单片机间的通讯为例,介绍配置MC145026编码器和MC145027解码器实现远程数据通讯的方法。该方法与RS—232C串行通讯相比,具有通讯距离长的优点,曾成功地用于体育场馆电子计分系统的通讯,除此之外,它还可用于远程数据采集系统、LED大屏幕显示系统等。该通讯方法既可使用有线载体,也可使用无线载体,因此具有较强的推广应用价值。打印并行接口信号简介微机打印并行接口包括数据端口、状态端口和控制端口,其中1号打印机并行口的三个端口地址依次是378H、379H和37AH。数据端口可实现8位数据的输出。状态端口有5个信号,各信号的含义如下: BUSY——打印机忙信号,高电子有效;
In this paper, computer-based parallel port and 8051 MCU communication between the mouth, for example, describes the configuration MC145026 encoder and MC145027 decoder for remote data communication methods. Compared with RS-232C serial communication, this method has the advantages of long communication distance and has been successfully used in the communication of stadium electronic scoring system. In addition, it can be used for remote data acquisition system, LED large screen Display system and so on. The communication method can use both wired carrier and wireless carrier, so it has strong promotion and application value. Print parallel interface signal Introduction Microcomputer print parallel interface includes data port, status port and control port, which No. 1 printer parallel port three port addresses followed by 378H, 379H and 37AH. Data port enables 8-bit data output. Status port has 5 signals, the meaning of each signal is as follows: BUSY-- Printer busy signal, high-electron effective;