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

毕业设计(论文)-单片机与计算机串行通信设计.doc

毕业设计(论文)-单片机与计算机串行通信设计.doc

  1. 1、本文档共32页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 单片微型计算机简称单片机,它是将中央处理器CPU)、存储器RAM,ROM、定时/计数器和各种接口电路都集成到一块集成电路芯片上的微型计算机。随着计算机技术尤其是单片机技术的发展,人们已越来越多地采用单片机来对一些工业控制系统参数进行检测和控制。PC机具有强大的监控和管理功能,单片机则具有快速及灵活的控制特点,通过PC机的RS 232串行接口与外部设备进行通信,是许多系统中常用的一种通信解决方案。因此如何实现PC机与单片机之间的通信具有非常重要的现实意义。 ABSTRACT Single-chip microcomputer(SCM) is also be called the single chip computer which is integrated the central processing unit(CPU), memory(RAM and ROM), timer/counter and various interface circuit into a piece of integrated circuit chip of microcomputer. With the development of computer technology, especially in microcomputer technology development, people have increasingly used single-chip microcomputer into some industry controlling system parameters to test and control. Personal computers(PC) have powerful functions of monitoring and management. SCM has rapid and flexible controlling features. Through the RS-232 serial interface of PC communicate with external devices, it is an common communication solutions in many communication system. Therefore, how to realize the communication between the microcomputer and PC has very important practical significance. This design introduces the realization method of serial communication between microcomputer(STC89C52) and PC. It gives the specific communication interface circuit and the program which using VB6.0 MSComm control realize serial communication with PC. The LED and digital tube can be controlled by the VB program, which can set the parameters both of them and change time interval and bright light times. By practical application, the effect of system is satisfactory. Key words: serial communication microcomputer VB program proteus simulation 目 录 一 前言 1 1.1概述 1 1.2串行通信基本概念 1 1.3本次设计的工作任务 2 二 总体方案设计 3 2.1可行性分析 3 2.2系统功能分析 3 2.3单片机选型 3 2.4系统硬软件的功能设计 4 三 通信系统硬件电路设计 6 3.1串行接口的基本通信方式 6 3.3电平转换电路的设计 8 3.4绘制电路原理图 10 四 串行通信程序设计 13 4.1下位机(单片机)串行通信及程序设计 13 4.2上位机(pc机)串行通信及程序设计 14 五 总结 18 六 致谢 19 参考文献 20 附 录 21 一 前言 1.1概述 单片机是一种集成在电路芯片,是采用超大规模集成电路技术把具有数据处理能力的中央处理器CPU随机存储器RAM、只读存

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档