介紹了基于單片機c8051f020的通用串口適配器的設(shè)計與實現(xiàn)方法,即由單片機控制的智能化一對多口收發(fā)信號轉(zhuǎn)換器。通過采用C51對單片機進(jìn)行編程,控制與RS-232(標(biāo)準(zhǔn)RS-232電平)、RS232(TTL電平)、RS-422接口的數(shù)據(jù)通信;采用C++ Builder作為開發(fā)平臺,通過RS-232接口實現(xiàn)上位機對適配器各個通信端口的控制。
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.
標(biāo)簽:
c8051f020
串口適配器
上傳時間:
2013-11-19
上傳用戶:hebanlian