网站地图| 免费获取|
毕业论文网
  • 网站首页|
  • 论文范文|
  • 论文降重|
  • 职称论文发表|
  • 合作期刊|
  • 论文下载|
  • 计算机论文|
  • 外文翻译|
  • 免费论文|
  • 论文资料|
  • 论文开题报告
搜索

当前位置:毕业论文网 -> 论文范文 -> 电子通信 -> 基于windows的串口通信软件设计
自动化论文范文| 电子机电论文| 测控技术论文| 通信专业论文| 电气工程论文| 通信工程论文| 电子信息工程论文| 免费自动化论文| 免费电子论文| 免费电气论文| 免费通信论文

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

本文ID:LW947 字数:23644,页数:63 价格:¥80.00 → 信用说明

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

文档编号: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

基于windows的串口通信软件设计由毕业论文网(www.huoyuandh.com)会员上传。
原创论文资料流程 相关论文
上一篇:基于粗糙集和规则树的增量式知识.. 下一篇:基于MATLAB的对称振子阻抗特性和..
推荐论文 本专业最新论文
Tags:windows 串口 通信软件 设计 2009-06-09 14:51:09【返回顶部】
发表论文

联系方式 | 论文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士论文资料


毕业论文网提供论文范文,论文代发,原创论文资料

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

Copyright@ 2009-2020 毕业论文网 版权所有