论文部分内容阅读
针对单片机串行通信中经常遇到的 ,通信距离近和串行口资源少。以 Intel89c5 1为例 ,介绍了解决方案。一是利用 RS485总线协议实现远距离传输 ;二是利用普通 I/ O口实现串行接口功能 ,并给出了两种设计思路的硬件和软件实现方法。该方法已在铁路与军用中运行多时 ,证明稳定性好 ,抗干扰强。
For SCM serial communication often encountered, communication distance and serial port less resources. Intel89c5 1 as an example, describes the solution. First, the use of RS485 bus protocol to achieve long-distance transmission; the second is the use of ordinary I / O port serial interface functions, and gives two design ideas of the hardware and software implementation. The method has been running for a long time in the railway and military, proving good stability, strong anti-interference.