网站大量收购独家精品文档,联系QQ:2885784924

单片机与PC机通信毕业设计 赵文庆.docVIP

  1. 1、本文档共26页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
单片机与PC机的通信设计 摘 要 随着计算机技术尤其是单片微型机技术的发展,单片机被广泛应用在工业控制系统中。单片机具有体积小、价格低廉、开发应用方便、可应用于恶劣工业环境的特点,在分布式控制系统中多采用单片机进行数据采集和现场控制。由于单片机的计算能力有限,难以进行复杂的数据处理,因此在功能复杂的控制系统中常采上位机下位机系统,单片机用作下位机进行数据采集和设备控制,而PC机用做上位机进行复杂的数据处理和对单片机的控制。因此如何实现PC机与单片机之间的通信具有重要的现实意义。 论文详细介绍了单片机与PC机通信的软硬件实现。在硬件设计中,单片机系统与PC机系统通过RS-232串行通信端口进行互连,单片机系统将由PC 机传输过来的数据信息动态的显示在LED数码管上。在软件设计中,在单片机编程上采用接近硬件系统的汇编语言编写通信程序及数据处理程序。 关键词:单片机;串行通信;RS-232;LED数码管 PC communication design Abstract Along with the computer technology especially the single-chip microcomputer technology, computer is widely used in industrial control system. SCM has the advantages of small volume, low price, convenient application, can be used in harsh industrial environment characteristics, in the distributed control system uses the chip microcomputer is used for data acquisition and control. Chip with limited computational power, it is difficult to perform complex data processing, so the function of complex control system used by lower PC system, single chip microcomputer is used as the lower computer data acquisition and control equipment, and the machine used PC do PC for complex data processing and the SCM control. So how to realize the communication between PC and single chip microcomputer has the important practical significance. The paper introduced in detail the PC and SCM communication software and hardware implementation. In the hardware design, single chip system and PC system through the RS-232 serial communication port interconnection, SCM system by PC machine transmission over the data information dynamic display in the LED digital tube. In software design, single chip microcomputer with close to the hardware system of assembly language communication program and data processing program. Key words: single chip microcomputer; serial communication; RS-232; LED digital tube 目 录 摘 要 0 Abstract 1 引 言 1 (1) 单片机与PC机串行通信研究背景 1 (2 )单片机与PC机串行通信研究目的和意义 1 一 串口通信基础理论 2 1.1两种常用接口方式 2 并行接口 2 串行接口 2 1.2 RS-232串行接口标准 2 1.3 系统总体设计 4 1.3.1

文档评论(0)

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

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

1亿VIP精品文档

相关文档