J4 ›› 2013, Vol. 26 ›› Issue (1): 69-73.doi: 10.3976/j.issn.1002-4026.2013.01.015
• Content • Previous Articles Next Articles
ZHU Si-Rong, ZHOU Wang-Li, BI Chun-Yuan, ZHAO Xiao-Hua, GAOGuang-Heng, LIU Zhong-Hui
Received:
Online:
Published:
Abstract:
We employ the PCA modules of MCU C8051F120 and software simulation to extend a halfduplex 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
ZHU Si-Rong, ZHOU Wang-Li, BI Chun-Yuan, ZHAO Xiao-Hua, GAOGuang-Heng, LIU Zhong-Hui. Serial port expansion and communication design of MCU C8051F120[J].J4, 2013, 26(1): 69-73.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://www.sdkx.net/EN/10.3976/j.issn.1002-4026.2013.01.015
https://www.sdkx.net/EN/Y2013/V26/I1/69
Cited