摘要
以VisualBasic 6 .0为开发工具 ,使用自定义的通讯协议实现了PC机与 5l系列单片机以RS - 485通讯方式远距离串口通信 ,该方法以PC机作为控制端 ,以单片机为终端 ,以 9.6k波特率 ,通信距离可达 12 0 0m。
This paper introduces a solution for serial communication between personal computer and 51 single-chip computer,taking Visual Basic 6.0 as developing tool and a self-defined protocol as communication protocol.In the solution,personal computer is the DCE(data control equipment)and single-chip computer is the DTE(data terminal equipment).By the baud of 9600 bps,the communication distance can reach 1200 meters.
出处
《煤矿机械》
北大核心
2003年第7期43-44,共2页
Coal Mine Machinery