J4 ›› 2013, Vol. 26 ›› Issue (1): 69-73.doi: 10.3976/j.issn.1002-4026.2013.01.015

• Content • Previous Articles     Next Articles

Serial port expansion and communication design of MCU C8051F120

 ZHU Si-Rong, ZHOU Wang-Li, BI Chun-Yuan, ZHAO Xiao-Hua, GAOGuang-Heng, LIU Zhong-Hui   

  1. Shandong Provincial Key Laboratory of Biosensors, Biology Institute, Shandong Academy of Sciences, Jinan 250014, China
  • Received:2012-07-12 Online:2013-02-20 Published:2013-02-20

Abstract:

We employ the PCA modules of MCU C8051F120 and software simulation to extend a halfduplex serial port in the design of a fermentation controller. We extend multiple 485 bus in one serial port with the chip MAX485, so solve the problem of serial port deficiency. The extended serial port using PCA modules send or receive data in interruption mode of PCA, so it occupies very little CPU time. It can be used as hardware serial ports besides more interruption times. Multiple extended 485 bus from one serial port can connect multiple lower computers with different protocols and different baud rate to complete the sequence communication. Application flexibility is significantly improved, as compared with single 485 bus.

Key words: serial port extension, serial port simulation, multiple 485 bus

CLC Number: 

  • TP399