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

当前位置:论文天下网 -> 论文范文 -> 电子通信

基于windows的串口通信软件设计

本文ID:947 字数:23644,页数:63

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

论文编号:TX050        论文字数:23644,页数:63

摘  要
串行通信具有连接简单、使用灵活方便、数据传递可靠等优点,在工业监控、数据采集和实时控制系统中得到了广泛应用。通过基于线程和消息的多任务处理编程可以有效地解决串行通信实时性和可靠性都得不到保证的问题,且能提高数据传输的吞吐量和应用程序的可靠性。
本文在研究异步串行通信软件以及通信协议的基础上,给出了基于windows的串行口通信软件设计,配合多线程的程序设计实现了串口通信和数据的实时采集,本文利用CSerialPort类进行串行通信,设计了直接和灵活地对串口控制操作的软件。CSerialPort类是由Remon Spekreijse提供的免费串口类,CSerialPort类支持线连接(非MODEM)的串口编程操作,编写的程序能在windows环境下很好的运行。并且CSerialPort类能方便的利用windows API对其进行扩展和改进,不但可以方便的实现基本串行通信功能,而且可以随意进行功能扩展。
最后以此为基础给出一个楼宇温度控制系统。楼宇温度控制通过串行数据总线连接温度传感器和中央空调系统,整个系统简洁高效。

关键词:  串行通信,异步通信,楼宇温度控制

 

ABSTRACT
    Serial communication is flexible and easy to use , Data transmission by the serial communication is security and stability. It is widely used in industrial control, Real-time data acquisition and control system and so on.Using the thread through information and the multi-task processing program we can solve the problem that the Real-time and reliability are not guaranteed, but also improve the throughput of data transmission and application reliability.
    Based on the study of asynchronous serial communication software and communication protocol,it give out a serial communication software design.Based on the windows and Real-time data acquisition. By using CSerialPort class Implement the serial communication and give a design of serial operating software CSerialPort is a free class provided by Remon Spekreijse which is support th serial programming operation well.It’s easy to Using windows API to upgrade.
    Finally It made a building temperature control system, which connected temperature sensors and the central air-conditioning system through serial data bus. The whole system is simple and efficient.


KEY WORDS  serial communication, asynchronous ommunication, building temperature control
 


目  录
第一章  串口通讯的概念、背景及意义   1
1.1本课题研究的主要内容   1
1.2本课题研究的背景意义   1
1.3串行通信基本概念   2
1.3.1串行通信概述   2
1.3.2串口知识   3
1.3.3 RS-232-C接口   4
1.3.4数据校验方法   5
1.4串行通信协议   6
1.4.1 硬件协议   6
1.4.2、软件协议  8
第二章  设计方案的选择和介绍   11
2.1常用串行通信软件设计方案   11
2.1.1利用MSCOMM控件   11
2.1.2利用WINAPI函数进行编程   11
2.1.3利用第三方串口通讯控件进行编写   11
2.2利用第三方CSerialPort类进行串口通信编程   12
2.2.1 CSerialPort类介绍   12
2.2.2 CSerialPort类的改进   12
2.3 利用CSerialPort类进行串行通信   15
2.4 小结   16
第三章  串行通信软件设计   17
3.1编制通信协议和设定软件流程图   17
3.2软件设计   19
3.3 VC下串行通信软件设计   24
3.4 小结与系统扩展   25
第四章  应用实例:楼宇温度控制系统   27
4.1 楼宇温度控制系统分析   27
4.2 系统详细设计  28
4.3 系统各模块介绍  29
4.4 数据中心程序设计   31
4.4.1数据中心与温度传感器通信  31
4.4.2数据中心与中央空调通信      32
4.4.3串行通信与TCP/IP相结合  33
4.4..4数据中心程序设计   33
4.5 小结  35
结束语   37
参考文献  38
致谢   39
附录一:修改后的CSerialPort类   40
附录二:程序核心代码   47

相关论文
上一篇:基于粗糙集和规则树的增量式知识.. 下一篇:基于MATLAB的对称振子阻抗特性和..
推荐论文 本专业最新论文
Tags:windows 串口 通信软件 设计 2009-06-09 14:51:09【返回顶部】

相关栏目

自动化专业
电子机电类
测控技术
机械模具设计
金融专业
电子通信
交通工程专业
英语专业
会计专业
政治学行政学
财务管理
国际贸易
法律专业
社会工作专业
物流论文
人力资源
食品科学生物技术
市场营销
土木工程
化学工程与工艺
旅游管理专业
工商管理
工程管理
其他专业论文


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

 

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

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

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