摘要
本文提出了一种基于蓝牙通信协议的PC机监控多台单片机控制系统的多机通信方案。针对蓝牙芯片PTR2000,对多机通信的设计方法、系统的组成原理进行了阐述;对上位机蓝牙接口电路、单片机蓝牙接口电路的实现过程进行了详细的说明;对蓝牙通信协议,特别是大数据传输协议进行了设计。以汉字传输过程为例,提出了一种提取汉字的点阵算法,对上下位机之间进行汉字传输的软件设计与实现过程进行了说明,对实验结果进行了分析。实验结果表明,上述通信方案是成功的和有效的。
Based on bluetooth communication protocol,this paper proposes a multi-machine communication scheme of the control sys-tem in which PC monitors many single-chip microcomputers. Aiming at the bluetooth chip PTR2000,the method of designing multimachine communication and the composition principle of the system are described. The implementation process of bluetooth interface circuits of PC machine and single-chip microcomputer is explained in details. Bluetooth communication protocol,especially large data transmission protocol,is designed. Taking the transmission process of Chinese character for example,this paper also proposes a lattice algorithm to extract Chinese character. The design and implementation process of the software used to transmit Chinese character between upper-machine and nether-machine are described. The experimental result is analyzed and it shows that this scheme proposed in this paper is successful and efficient.
出处
《微计算机信息》
北大核心
2007年第04Z期262-264,共3页
Control & Automation
基金
中国博士后科学基金会第三十七批中国博士后科学基金(2005037192)
关键词
蓝牙
多机通信
通信协议
点阵算法
Bluetooth,Multi-machine communications,Communication protocol,Lattice algorithm