资 源 简 介
介绍了基于单片机C8051F020的通用串口适配器的设计与实现方法,即由单片机控制的智能化一对多口收发信号转换器。通过采用C51对单片机进行编程,控制与RS-232(标准RS-232电平)、RS232(TTL电平)、RS-422接口的数据通信;采用C++ Builder作为开发平台,通过RS-232接口实现上位机对适配器各个通信端口的控制。
Abstract:
Design and realization of a universal serial port adapter based on the MCU C8051F020 are introduced.The adapter is an intelligent one-to-more receiving and transmitting signal converter controlled by the MCU. By programming the MCU with the language C51,MCU control data communication between the MCU and RS-232(RS-232 level),RS-232(TTL level),RS-422 port; Using C++ Builder as the development plane, by one RS232 port, the upper PC can control each of the communication port of the adapter.