- 1、本文档共23页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于CAN总线的分布式环境温度监控及报警系统(软件部分)
摘 要
由于单片机具有价格低,功能全,体积小,功耗低,抗干扰能力强等特点,在工业控制系统中得到了广泛的应用。随着单片机技术的发展应用VB6.0 实现上位PC 机和单片机间的串行通信的方法,并着重阐述了在VB环境下实现的主要过程。PC机通讯程序利用VB提供的MsComm串行通讯控件来完成。
关键字:VisualBasic MSComm 控件 串口通信 单片机
Distributed temperature monitoring and alarm system
Based on CAN (software segment)
ABSTRACT
Due to low prices, full function, small size, low power consumption, anti-disturbance capacity, and other characteristics MCU has been widely used in the industrial control system. With the development of MCU technology, MCU applications in a variety of designs, often encountered the information exchange with the outside, namely communication. Especially for the use of its full-duplex communication in all kinds of data acquisition and process control as front end computer composed a distributed control system. Serial communication is a commonly used method to transfer data. It can be used in the communication between computer and peripheral equipment,or between one computer and another.Serial communication means in accordance with the order-by-bit data transmission. Because it has only three transmission lines to transmit data and communication distance is relatively far, in control of the area of site monitoring, control of important occasions has important application values. A PC has powerful monitoring and management function, and MCU with the characteristics of fast and easily to be controlled. Generally, the PC-standard serial RS-232 Interface is connected to achieve data exchange between PC and application systems. This article introduces a method of serial communication between PC and single-chip using VB6. 0, and also elaborates the main process based on VB. PC-communication program use MSComm serial communication control provided by VB to complete.
Key words: Visual Basic; MSComm control;Serial Communication;MCU
目 录
一 引言 1
1.1研究目标 1
1.2研究内容 1
1.3研究方法及手段 1
二 设计方案论证 2
2.1 编程方法论证 2
2.2 通信方式论证 2
三 基本理论和软件介绍 3
3.1 串行通信介绍 3
3.2 Visual Basic介绍 3
3.3 虚拟串口软件介绍 5
您可能关注的文档
- 基于BLUETOOTH控制下的AC-3系统的研究 毕业论文.doc
- 基于BPA的C县电网无功优化分析 毕业论文.doc
- 基于BP神经网络的应用 毕业设计论文.doc
- 基于BP神经网络和SVM的江口流域洪水预报研究 毕业论文.doc
- 基于BP算法的神经网络技术研究与应用 毕业论文.doc
- 基于BS的仓库管理系统设计研究 毕业论文设计.docx
- 基于BS的仓库管理系统设计研究 毕业设计.doc
- 基于BS的家庭理财管理系统的设计与实现 软件工程毕业论文.docx
- 基于BS的企业人力资源管理系统的设计与开发 毕业论文.doc
- 基于BS的实验室预约系统 毕业论文.doc
- DB45T2032-2019 糖料甘蔗良种逐级繁育技术规程.docx
- DB45T 2419-2021钻孔管波探测技术规程.docx
- DB45T 1675-2018 户用沼气池施工规程.docx
- DB45T2010-2019 市场(商场)公平秤设置与管理规范.docx
- DB45 T2091-2019 八角嫁接育苗技术规程.docx
- CT增强扫描碘对比剂外渗预防与护理规范 DB45T 2935-2024.docx
- DB43_T 3081-2024 电加热锅炉能效测试技术规范.docx
- DB43_T 1168-2016 多层复合食品包装膜、袋.docx
- DB46T669-2025 醇基液体燃料调配站安全管理规范.docx
- DB34T2900-2017 黄喉拟水龟人工繁殖技术规程.docx
文档评论(0)