通信工程专业毕业论文--基于89C52RC的MODBUS通信程序设计.docVIP

通信工程专业毕业论文--基于89C52RC的MODBUS通信程序设计.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘 要 单片机具有体积小,功能强,成本低,应用面广等优点,目前的温度控制系统多采用单片机进行系统设计。基于89C52RC的MODBUS通信程序设计就是针对于温度控制系统进行的设计。在这里主要使用AT89C52芯片和AD590温度传感器,实现温度的检测和显示功能,再通过MODBUS通信协议实现单片机与PC的连接程序设计,通过PC对被控现场的温度实现调节和控制。在这里有两方面设计,硬件电路设计和软件程序设计。硬件电路设计包括人机互换模块包括按键模块和数码显示模块。按键模块用来输入设定的温度,数码管显示模块用来显示当前测得的温度。温度传感器模块包括A/D转换模块和传感器模块。加热控制模块用来给水加热。上位机通信模块通过串口和PC建立通信渠道。软件设计包括温度检测模块,加热器控制模块,按键模块,数码管显示模块和串口驱动模块。温度检测模块通过A/D转换器将温度值转换成数字值存放,加热器控制模块控制加热器开关的通断,按键模块用于设定温度值;数码管模块用于显示检测到的温度值和设定的温度值,串口驱动模块用于从上位机收发数据。 关键词:AT89C52 ;MODBUS通信协议;温度控制 ABSTRACT The MCU has the advantages of small size,low cost, wide range of applications; temperature control systems use a single-chip system design. 89C52RC MODBUS communication program is designed for the temperature control system. Mainly use AT89C52 chip AD590 temperature sensor, temperature detection and display functions and programming of MCU and PC connection, and then through the MODBUS protocol to regulate and control the PC charged with the temperature of the scene. There are two aspects of design, hardware circuit design and software programming. The hardware circuit design, including the man-machine interchangeable modules including key module and digital display module. The key module is used to enter the set temperature; the digital display module is used to display the current measured temperature. The temperature sensor module consists of the A / D converter module and sensor module. Heating control module is used for water heating. The host computer communication module through the serial port and PC to establish communication channels.The software design includes temperature detecting module, the heater control module, keyboard module, digital tube display module and serial port driver module. Temperature detection module temperature values ??by the A / D converter to convert the numeric value stored, the heater control module controls the heater switches off, the button module is used to set the temperature value; the digital control module is used to display the d

文档评论(0)

mkt365 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档