期刊文献+

PC机与单片机串行通信的研究 被引量:14

Research of serial communication between PC and MCS-51 serial single chip
下载PDF
导出
摘要 针对研究生常需要数据采集而设计了一个串行通信系统.该系统上位机为PC机,下位机为MCS 51单片机.文中给出了通信协议设计,硬件设计和软件设计.协议中有6种通信命令,适用于各种数据交换;硬件方面设计了时钟电路和波特率配置;软件方面完成了中断子程序、数据交换子程序和上位机串行通讯程序的设计、编写和调试.下位机用汇编语言,上位机用C语言;该串行通信系统的硬件与软件已调试成功并运行良好. Presents a serial communication system in order to satisfy the postgraduate need of collecting (data.) The host computer is PC, while the slave computer is single chip computer MCS-51.The paper designs the serial communication protocol ,the hardware and software.There are six commands that can apply all kinds of data exchange in the serial communication protocol. In the hardware, the clock circuit is designed, and the baud rate is configured. In the software, the programs, such as the interruption subroutine, data (exchange) subroutine and the host serial communication subroutine, are designed, compiled and debugged. C language is adopted in the host computer, while the assemble language is used in slave computer. The hardware and software of the system have been successfully debugged and run.
出处 《沈阳工业大学学报》 EI CAS 2005年第3期302-307,共6页 Journal of Shenyang University of Technology
关键词 PC机 MCS-51单片机 串行通信系统 串行通讯程序 数据交换 数据采集 协议设计 软件设计 硬件设计 时钟电路 汇编语言 上位机 子程序 下位机 研究生 波特率 C语言 机用 调试 命令 中断 serial communication single chip computer baud rate multi-computer serial (communication ) communication protocol
  • 相关文献

参考文献10

二级参考文献5

共引文献45

同被引文献53

引证文献14

二级引证文献49

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部