摘要
介绍了 PC机与 MCS- 5 1系列中 80 5 1单片机多机通信原理及通信协议 ,设计了 PC机与多台单片机的通信电路。在 Windows98环境下利用 VC++6 .0的 Active X控件中的 MSComm通信控件 ,实现了 PC机与多台单片机的串行通信。与以往利用 Windows API函数实现方法相比 ,具有编程设计简化及实用性大的优点。
In the paper,the multi computer communication principle and communication protocol of PC and single chip in the series of MCS 51 are introduced.The communication circuit of PC and multi single chip micro computer is designed.Serial communication between PC and multi single chip is realized by using the MSComm communication software in ActiveX controls of VC++6.0 under windows 98 circumstance.Compared with the mean of using Windows API function,MSComm control programming has the advantage of simplifying program design and greater practicality.
出处
《西北农林科技大学学报(自然科学版)》
CSCD
北大核心
2002年第2期123-126,共4页
Journal of Northwest A&F University(Natural Science Edition)