期刊文献+

PC机与单片机多机主从互通的实现 被引量:3

Realization of master-slave mode communication between PC and MCUs
下载PDF
导出
摘要 为了实现PC机与多个单片机的互相通信,特别是多个单片机都需要向PC机传输数据时,课题组采用"点名式"的总线控制方式。单片机在得到PC机发送的"点名"指令后,开始控制总线,向PC机传输数据。传输数据结束后,通知PC机并退出总线控制,PC机再逐个往后发送"点名"指令。根据这种思路,搭建了相应的电路,经过不断的实验、调试和改进,构建的系统工作稳定、可靠。"点名式"的多机互通方式非常适合于需要多单片机向PC机传送数据的场合,具有较高的实用价值。 For the realization of communication between PC and multiple MCUs,especially the data transmission from mul-tiple MCUs to a PC,the bus control mode of“roll called type”was adopted by the research group. One of the MCUs begins to control the bus and transfers data to PC when it receives the“roll called”instructions from PC,and then the MCU notifies PC and abolishes the control over the bus when the data transmission is over. The“roll called”instruction is send to other MCUs one by one. The research group set up the corresponding circuit according the idea. The system became stable and reliable after continuous experiments,debugging and improvement. The“roll called type”communication between PC and multiple MCUs is applied to the occasions where multiple MCUs are needed to transfer data to PC.
出处 《现代电子技术》 2013年第22期57-59,共3页 Modern Electronics Technique
关键词 点名式 PC机 互通 RS485总线 roll called type PC mutual communication RS485 bus
  • 相关文献

参考文献9

二级参考文献39

共引文献42

同被引文献18

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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