无忧论文网 · 始于1999 · 学术论文辅导与论文发表推荐服务

在上位机编程实现对下位单片机系统进行监控系统研究

栏目
论文
具体类型
本科毕业论文
语言
中文
用途
范文参考
更新
分类标签
自然科学电子信息类
原站著录信息
原编号
lw200701151207008299
原文字数
14,745 字
原文件格式
DOC
原库登记日期
2007-01-15

摘要

在上位机编程实现对下位单片机系统进行监控系统研究 摘 要 本次毕业设计的主要内容是通过在上位机编程实现对下位单片机系统进行监控。其中上、下位机通过串行口实现通讯。 围绕这个目标,本文先介绍了整个系统的基本组成,接着详细介绍了串行通讯的基本方式、数据传送、总线标准等。然后介绍了串行通讯协议和专门为本程序制定的通讯规约,最后介绍了上位机C程序的编写。 经模拟测试运行,该程序基本实现了预期的功能,圆满完成了本次毕业设计的任务。通过锻炼,积累了宝贵的经验,为以后的科研工作打下了良好的基础。 关键词:串行通讯, 协议, C程…

在上位机编程实现对下位单片机系统进行监控系统研究

摘 要

本次毕业设计的主要内容是通过在上位机编程实现对下位单片机系统进行监控。其中上、下位机通过串行口实现通讯。

围绕这个目标,本文先介绍了整个系统的基本组成,接着详细介绍了串行通讯的基本方式、数据传送、总线标准等。然后介绍了串行通讯协议和专门为本程序制定的通讯规约,最后介绍了上位机C程序的编写。

经模拟测试运行,该程序基本实现了预期的功能,圆满完成了本次毕业设计的任务。通过锻炼,积累了宝贵的经验,为以后的科研工作打下了良好的基础。

关键词:串行通讯, 协议, C程序, 监控

Abstract

The main task of this graduation design is to via programming on the computer to watch and control the SCM system. The computer communicates with the SCM system through the serial interface.

Around this target, the thesis introduce the basic constitutes of the whole system first. Then it introduce the basic mode、data communication 、bus standard of the serial communication in details. Then it introduce the protocol of the serial communication and the protocol for this programme. Finally it introduce how to programme on the computer.

The C programme has passed the simulate technical appraisal, and fulfilled the anticipative function. Thus, the task of this graducation design has been accomplished triumphantly. Through this exercise, I accumulated much precious experience and all this will do well to my subsequent research .

Key words: serial , communication, protocol, C programme

目 录

摘要

第一章 绪论

1.1 串行通讯及其实现…………………………………………………4

1.2 本次毕业设计的任务和意义………………………………………5

第二章 系统概述

2.1 下位机-单片机系统的简介………………………………………6

2.2 上位机监控程序的功能……………………………………………7

2.3 上下位机之间的通讯要求…………………………………………8

第三章 串行通讯

3.1 串行通讯的两种基本方式…………………………………………8

3.2 串行通讯的数据传送………………………………………………11

3.3 通用的异步接收器/发送器UART…………………………………13

3.4 串行总线标准RS-232-C …………………………………………15

3.5 串行通讯中的几个问题……………………………………………20

第四章 串行通讯协议

4.1串行口端口地址的分配……………………………………………22

4.2 8250各寄存器的功能 ……………………………………………23

4.3 本系统的通讯规约…………………………………………………27

第五章 上位机监控程序的实现

5.1 上位机监控界面的实现……………………………………………31

5.2 通讯程序的编写……………………………………………………33

第六章 总结 …………………………………………………………………36

致谢

参考文献

附录

全文与附件

提交申请后,可在会员中心查看原件和附件的查找进度。

申请查询全文与附件