(毕业设计论文)单片机与PC的串行通讯.doc

(毕业设计论文)单片机与PC的串行通讯.doc

  1. 1、本文档共38页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
滨州学院本科毕业设计(论文) PAGE PAGE 1 毕业设计(论文) 题 目 单片机与PC之间的串行通讯 系 (院) 计算机科学技术系 专 业 通信工程 班 级 学生姓名 学 号 2008110311 指导教师 职 称 讲师 二〇一二年五月二十日 单片机与PC之间的串行通讯 摘 要 随着计算机技术的发展,特别是单片机技术的迅猛发展,单片机被广泛应用于大量工业控制系统。单片机拥有占有空间小,价格低廉,开发应用程序容易的优势,可用于恶劣的工业环境中,单片机的数据采集和现场控制能力被广泛应用于分布式控制系统中。但因为单片机的计算能力是有限的,而且用它也很难进行复杂的数据处理,因此这就要求我们往往在具有繁多功能的控制系统中采用上,下位机系统,单片机被使用为下位机系统采集数据和控制设备,而使用PC机为上位机系统处理复杂数据和控制单片机。当今,在大量解决通信系统通信受阻的常用方案中,通过PC机自带的RS-232串行通讯端口与外设实现通讯这一方案备受人们的青睐。故由上知,实现单片机与PC机之间的串行通讯具有重要的意义。 本论文设计详细介绍了使单片机与PC机之间能够进行串行通讯的软件和硬件的实现。在硬件设计中,通过RS-232串行通讯端口将单片机与PC机相互连接,PC机把数据传输至单片机系统,单片机系统会将这一传输数据显示在LED数码管上;在软件设计中,利用Visual Basic6.0中的MSComm串行通讯控件来编写PC机的串口通讯程序。在对此设计正确测试后,证明我们的设计能够实现单片机与PC机之间的串行通讯。 关键词:单片机;串行通讯;RS-232;Visual Basic6.0;MsComm Serial Communication between SCM and PC Abstract With the development of computer technology, especially the rapid development of the SCM technology, SCM has been widely used in industrial control systems. The SCM has the advantage of possession of a small space, low price, easy to develop applications that can be used in harsh industrial environments, data acquisition and site control capabilities of the microcontroller is widely used in distributed control systems. Single-chip computing power is limited, and it is difficult to use it for complex data processing, so this is often used in the control system has a range of functions, the controller system, the microcontroller is used for the next bit machine system data acquisition and control equipment, using a PC as the host computer system to handle complex data and control SCM. Today, a large number of commonly used programs address communication system communication disruption, comes via a RS-232 serial communication interface with peripherals, communication of this program much people of all ages. Therefore, by the Sounds, the communication between the SCM and PC has an important significance. The design details of this paper between the SCM and PC serial communications software and har

文档评论(0)

秦圈圈 + 关注
实名认证
内容提供者

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

1亿VIP精品文档

相关文档