首页> 中文期刊>现代电子技术 >PC机与单片机多机主从互通的实现

PC机与单片机多机主从互通的实现

     

摘要

为了实现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页
  • 作者单位

    中国人民解放军92932部队;

    广东 湛江 524016;

    海军驻南京地区航空军事代表室;

    江苏 南京 210003;

    中国人民解放军92932部队;

    广东 湛江 524016;

    中国人民解放军92932部队;

    广东 湛江 524016;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 TN911-34;
  • 关键词

    点名式; PC机; 互通; RS 485总线;

  • 入库时间 2023-07-24 18:34:18

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号