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

当前位置:论文天下网 -> 论文下载 -> 通信工程论文

基于VB6.0的PC机与单片机串口通信

本文ID:16705 字数:9860,页数:33

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

论文编号:TX347  论文字数:9860,页数:33

 摘要
 
 随着计算机技术特别是单片机技术的发展,串口通信在诸多领域得到了广泛的应用。
 本文介绍了一种简单的串口通信。其中单片机负责数据采集、处理和控制,上位机进行现场可视化检测,通信协议采用异步串行通信方式,通过RS-232-C 的RTS信号进行收发转换,传输数据采用二进制数据,上位机与下位机之间采用主从式通讯。首先,单片机发固定编好的代码" Welcome to Hangzhou, Zhejiang, thank you everyone."这个显示内容在串口调试界面上接收;然后,在串口调试界面上发送 0-9 十个数字中的任意一个,在单片机板上的数码管上显示出来。其中,单片机程序由汇编语言实现,PC机程序由VB实现。
 
关键词:RS-232串口,PC机,单片机

ABSTRACT

 With the development of computer technology, especially the development of single-chip technology, serial communication has been widely used in many fields.
 This paper describes a simple serial communication. The single-chip microcomputer is responsible for collecting, processing and controlling data. Upper computer is performing visual field testing, using asynchronous serial communication protocol communication. It sends and receives and converts through the RTS signal of the RS-232-C. The binary system is used in the transmission of data, and the head-subordinate communication is adopted between the PC machines and single-chip. First of all, a fixed code is sent by single-chip, and " Welcome to Hangzhou, Zhejiang, thank you everyone." will be shown in the debug serial interface. Then, any one of the numbers between 0 to 9 is sent in the serial debug interface, and it is shown in single-chip digital panel. The single-chip is programmed in assembly language, PC programmed in VB.
Keywords: RS-232 serial port, PC machines, single-chip
目录

摘要 I
ABSTRACT II
第1章 引言 1
1.1 背景 1
1.2 研究内容 1
第2章 设计方案 2
2.1 设计目标 2
2.2 设计构思 2
2.3 设计流程 2
第3章 电路设计 3
3.1 下位机电路设计 3
3.1.1 时钟电路和复位电路 4
3.1.2 电平转换电路 5
3.1.3 显示电路 7
3.1.4 电源电路 8
3.2 串口 9
3.2.1 串口基本概念 9
3.2.2 RS-232-C串口标准 11
3.2.3 PC机串口 13
第4章 程序设计 14
4.1 下位机程序设计 14
4.1.1 初始化程序 15
4.1.2 发送程序 16
4.1.3 接收程序 17
4.1.4 延时程序 18
4.2 上位机程序设计 18
4.2.1 VB介绍及编程方法 18
4.2.2 VB6.0的通信控件及通信方式 20
第5章 调试与结论 22
第6章 结束语 23
致谢 24
参考文献 25
附录1 单片机程序 26
附录2 电路图 28
附录3 实物图 29

相关论文
上一篇:gsm&wcdma室内分布系统的设计与实.. 下一篇:基于光纤的视频传输系统的设计
推荐论文 本专业最新论文
Tags:基于 VB6.0 单片机 串口 通信 2011-04-01 10:03:37【返回顶部】

相关栏目

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


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

 

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

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

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