节点文献
单片机与微机远程通信接口电路的设计及编程
DESIGN AND PROGRAM OF LONG DISTANCE COMMUNICATION PORT CIRCUIT FOR THE MICROCHIP AND PERSONAL COMPUTER
【摘要】 本文对Rs-232及Rs-485两种标准串口通信进行对比,最终确定远程通信选用RS-485标准串口通信方式,并以MAX485芯片为例,介绍了单片机与微机远程通信接口电路及处理方法.对单片机与微机RS-485的串口通信工作原理做了简要的论述,给出了单片机与微机实现通信的框图及程序设计方法.
【Abstract】 In this paper, the COM port for RS-485 is used in the long distance communication by contrasting the COM ports for RS-232 and RS -485. Furthermore, the long distance communication port circuit and its disposal method for both Microchip and Personal computer are developed as MAX485 chip is an example. The work principle of COM port communication for RS-485 on the Microchip and Personal computer is simply discussed, and the sketch map and program to carry out the communication for the Microchip and Personal computer are presented.
【关键词】 串行接口;
RS-232标准;
RS-485标准;
TTL电平;
共模;
差模;
波特率;
【Key words】 COM port; RS-232; RS-485; The TTL electricity is even; Resonant mode; Differential mode; Bits frequency;
【Key words】 COM port; RS-232; RS-485; The TTL electricity is even; Resonant mode; Differential mode; Bits frequency;
- 【文献出处】 哈尔滨师范大学自然科学学报 ,Natural Science Journal of Harbin Normal University , 编辑部邮箱 ,2002年06期
- 【分类号】TP368.11
- 【被引频次】15
- 【下载频次】341