单片机实现RS485的通信毕业论文 下载本文

内容发布更新时间 : 2024/6/7 7:02:59星期一 下面是文章的全部内容请认真阅读。

本科毕业论文

题 目: 单片机实现RS485的通信 学生姓名: 学号: 院(系): 专业: 入学时间: 年 月 导师姓名: 职称/学位: 副教授/博士 导师所在单位: 完成时间: 年 月

单片机实现RS485的通信

摘 要

在工业控制自动化领域,智能装置之间的通信占有重要的地位,RS485这种串行通信方式在工控自动化领域应用非常广泛,这种远距离通信可以采集远程信息和远程数据,实现远程控制和远程调节。本文首先介绍了RS485通信标准,然后在此基础上设计了通信协议,并且提出了具体的通信实现方案。系统使用STC89C52RC为主控芯片,以MAX485芯片实现RS485收发功能,并且加上键盘输入和LCD显示功能,最终完成主站和子站的一套小型远程控制方案。

关键词:RS485;工控自动化;总线;协议

A Kind of Implementation Method of RS485 Communication With

MCU

Abstract

In the field of industrial control automation,communication between smart devices is very important. The serial communication interface RS485 is widely applied in the field of industrial control automation.Remote command and remote data can be transported by a established connection.So we can realize remote control and remote monitoring by communication. This article first introduces the RS485 communication standard, and then introduces the design of communication protocol,finally puts forward a specific implementation scheme of communication. This system uses STC89C52RC as main control chip,MAX485 as RS485 transceiver, and combined with keyboard input module and LCD module.This system is a small remote control solution between main and sub stations.

Keywords: RS485; industrial control automation; bus; protocol