免费获取|
论文天下网
  • 论文天下网 |
  • 原创毕业论文 |
  • 论文范文 |
  • 论文下载 |
  • 计算机论文 |
  • 论文降重 |
  • 毕业论文 |
  • 外文翻译 |
  • 免费论文 |
  • 开题报告 |
  • 心得体会 |

当前位置:论文天下网 -> 论文下载 -> 电气工程论文

基于串行通信的分布式测控系统研究(上位机部分)

本文ID:17192 字数:17762,页数:39

下载地址 全文下载链接(充值:¥128.00元) 

点击下载:下载地址 基于串行通信的分布式测控系统研究(上位机部分) (收费:12800 积分)  如何获取积分?

论文编号:DQ192   论文字数:17762,页数:39

摘    要
 本次毕业设计主要研究基于串行通信的分布式测控系统中PC机与单片机之间串行通信的上位机部分, PC 机通信程序利用VB 提供的MSComm 串行通信控件来完成, 单片机的程序用C语言来编写。VB 提供了MSComm 串行端口控件来为应用程序提供串行通讯,该控件屏蔽了通信过程中的底层操作,程序员应用时只需设置、监视 MSComm 控件的属性和事件即可完成对串行口的初始化和数据的输入输出工作,利用MSComm控件及硬件设施进行串口通信, 可以很好地实现PC 机与单片机之间的实时数据传送。本文主要论述了如何实现这种串行通信,通信协议的制订以及上位机相关界面和程序的设计。

关键词:串行通信 PC机 单片机 VB

Abstract
The article is mainly about study the PC part in serial communication between PC and SCM ,which is a core of distributed measurement and control system which bases on the serial communication Distributed, PC-communication procedures use MsComm provided by VB to complete serial communication, while single-chip microcomputers use C language to write. VB provides a serial port control procedures called Mscomm for the using of serial communication, the control of the communication process shielding the bottom of operation, application programmers can complete initialization of the serial port and the input and output of data owing to set up and monitor Mscomm control attributes and events. real-time data transfer between PC and single-chip microcomputer can be acheieved by the serial communication making use of mscomm and the procedures and hardware facilities. This paper discusses how to achieve this serial communication, and complete the communication protocol and the procedures and interface related to the design in the VB.
 
Key words: Serial Communication PC SCM VB

目  录
摘要………………………………………………………………………………………………………I
Abstract……………………………………………………………………………………………… II
1  绪论…………………………………………………………………………………………………1
 1.1 前言………………………………………………………………………. ……………………1
 1.2本文的内容和结构………………………………………………………. …………………….2
2  串行通信的种类及比较…………………………………………………………………………3
 2.1  串行通信的种类………………………………………………………………………………3
 2.1.1 RS-232通信……………………………………………………………………………5
      2.1.2 RS-485通信……………………………. ……………………………………………..6
      2.1.3 USB通信……………………………. ………………………………………………...7
3  系统架构和上位机控件…………………………………………………………………………8
    3.1  系统构架和RS-232设置……………………………………………………………………..8
         3.1.1  RS-232的电气特性和字符传送……………………………………………………..9
 3.1.2  RS-232的脚位定义和功能…………………………………………………………11
         3.1.3  通信的工作模式…………………………………………………………………….12
         3.1.4  速度及流量控制…………………………………………………………………….13
         3.1.5  通信端口的初始化………………………………………………………………….15
    3.2  上位机控制软件VB和MSComm控件……………………………………………………16
         3.2.1  上位机VB软件简要介绍……………………………………………………………16
         3.2.2  MSComm 控件的主要属性及事件………………………………………………..18
         3.2.3  用MSComm控件进行串口通信一般步骤…………………………………………19
4  通信原理与程序设计 …………………………………………………………………………21
 4.1  PC机和单片机串行通信的简要介绍……………………………………………………….21
    4.2  通信原理的分析………………………………………………………………. ……………22
         4.2.1  MSComm控件通信方式的选择……………………………………………………….22
         4.2.2  PC机串行口中断通信管理程序框图………………………………………………23
    4.3  通信协议和波特率的的设定……………………………………………………………….25
         4.3.1  通信协议…………………. ………………………………………………………..26
        4.3.2  波特率的设定……………………………………………………………………….27
5  总结………………………………………………………………………………………………28
致谢……………………………………………………………………………………………………29
参考文献 ……………………………………………………………………………………………30
附录一 电路原理图
附录二 VB程序

相关论文
上一篇:温州110kV江滨变电站一次系统设计 下一篇:电车空调控制监视软件设计
推荐论文 本专业最新论文
Tags:基于 串行 通信 分布式 系统 研究 上位 部分 2011-04-02 18:45:37【返回顶部】

相关栏目

教育管理论文
汉语言文学
学前教育论文
心理学论文
小学教育论文
现代教育技术
数学与应用数学
数学教育论文
工商管理
人力资源管理
财务会计
法律论文
行政管理论文
物流专业论文
电子商务论文
理工科论文
物理学论文
乡镇企业管理
电视制片管理
文化产业管理
物业管理论文
毕业论文下载
包装工程论文
印刷工程论文
工业工程论文
信息管理论文
生物工程论文
制药工程论文
电子信息工程
通信工程论文
电气工程论文
信息计算科学
药学专业毕业论文


关于我们 | 联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 原创毕业论文

 

论文天下网提供论文检测,论文降重,论文范文,论文排版,网站永久域名WWW.GEPUW.NET

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 893628136@qq.com

Copyright@ 2009-2022 GEPUW.NET 论文天下网 版权所有