论文部分内容阅读
本文通过对MCS-51系列单片机硬件结构的研究,提出并实现了一种简单可行的多I/O口扩展原理。在充分考虑了单片机的总线结构的前提下,利用总线设计技术,采用线选法,最大可扩展八位并行I/O口42个;同时,使ROM的空间任意浮动,便于软件开发与调试。利用这一原理设计的多I/O口系统,芯片少,硬件简单,成本低廉,运行可靠,可广泛应用于多组数据采集及多目标控制等场合。
In this paper, through the MCS-51 series MCU hardware structure, proposed and implemented a simple and feasible multi-I / O port expansion principle. Taking full account of the bus structure of the microcontroller under the premise of the use of bus design techniques, the use of line selection method, the largest expansion of eight parallel I / O port 42; the same time, the ROM floating arbitrary space for software development and debugging. The multi-I / O port system designed by using this principle has few chips, simple hardware, low cost and reliable operation. It can be widely used in many groups of data acquisition and multi-target control.