2013福州大学本科毕业论文格式模板(用格式刷就可以了,非常实用)

更新时间:2023-10-03 19:30:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

本科生毕业设计(论文)

中文题目:三号黑体字,不宜超过20个字,如有细节必须放进标题,可以分成主标题和副标题 题 目:基于VC++实现单片机和PC机的串行通信

——副标题

姓 名: 李 星

学 号: 110600212

姓名、学号、学院、专业、年级:四号宋体字 学 院: 物理与信息工程学院

专 业: 电子信息工程

年 级: 2006级

指导教师: (签名)

2010 年 6 月 4 日

封面不要页码1 毕业论文全篇页面设置,页边距:上2.5cm,下2cm,左2.5cm,右2cm

标题:小二号黑体字,固定行间距20pt,段前18pt,段后30~36pt; 基于VC++实现单片机和PC机的串行通信

中文摘要 中文摘要:四号黑体字,1.5倍行距,段前段后各6磅 摘要正文:小四号宋体字,两端对齐,固定行间距20pt,约500-800字,限一页;本论文主要阐述了利用Visual C++ 6.0开发工具实现PC机与单片机串行通信的基本原内容应包括工作目的、研究方法、成果理和方法。并结合具体实例给出使用RS-232接口进行串行通信的基本程序。 和结论等。语言力求精炼,一般不宜使用公式、图表,不标注引用文献。 单片机和PC机的串行通信常应用于工业控制检测领域中。单片机常作为下位机,进行数据的采集工作;PC机常作为上位机,进行数据的集中处理。两者间常通过串口进行数据通讯。在Windows 操作系统中,利用VC++开发上位机的监控软件,具有控制界面简洁大方,应用程序短小精悍等优点。

本论文提供了两种方式来实现在PC机上基于VC++的串行通信程序设计。一是使用Windows API 函数进行编写。此种方法应用较广但程序相对比较复杂,开发Windows工控软件难度大大增加。二是使用VC++自带的Microsoft Communication Control 控件(即MSComm 控件)进行编写。此种方法比较简便,使用时只需要在控件属性中进行一些设置,再编写少量的代码即可,但只适用于较简单的系统。我们可以根据实际情况选择合适的方法。另外,在开发工具方面,本文选用VC++ 6.0。VC++ 6.0是Microsoft公司推出的Windows应用程序开发工具,因其具有界面友好,编程简便等优点而受到广泛的使用。在VC++ 6.0 版本中带有用于实现串行通信的MSComm控件。

在论文的最后部分,有一个程序实例。利用此程序实例,PC机可以通过串口接收到单片机发送的数据,以供PC机的进一步处理。本实例中,单片机采用MSC-51系列机型,PC机操作系统为WINDOWS XP,通信协议采用RS-232。 关键词:串行通信,单片机,控件 3-5个论文的关键词:小四号黑体字,固定行间距20pt,段前1倍行距 摘要页码独立编排,格式:Ⅰ,Ⅱ,Ⅲ,? 以下所有页码字体都是Times New Roman,小五号 I 标题:小3号Arial Black字体,1.5倍行距。 A Solution for Serial Communication between PC and Single-chip Microcontroller Based on VC++ 翻译:小4号Times New Roman 字体,两端对齐,This thesis introduces a designing way of serial communication software between personal 固定行间距20pt,杜绝直computer and single-chip microcontroller using communication control in VC6.0,and gives

接用在线翻译软件翻译。 Abstract:四号Arial Black字体,1.5倍行距,段前段后各6磅 Abstract the fundamental program of serial communication using RS-232 interface in a concrete instance. The serial communication between PC and single-chip microcontroller are widespread used in the field of Industrial Inspection or Industrial Control. Usually, as a lower position machine, the single-chip microcontroller collects data, while the personal computer, an upper position machine, processes the data together. They make data communications through the serial port. In Windows operating system, it has a lot of advantages, such as concise control interface, brief application program and so on, to use VC++ to develop the supervising software for the upper position machine.

This thesis proposes two serial port communication program methods, which is based on VC++ in PC. The first one is to use Windows API functions to write the program. This method has a wide application, but it makes the program complex. It is a little difficult to develop software for Industrial Control in Windows environment by this way. In the second one, we use Microsoft Communication Control (i.e. MSComm), which is built in VC++, to write the program. This method is convenient. By this way, we just need to make some configuration in the MSComm control, and write few codes. But this method just applies to a simple system. According to the actual situation, we may choose one suitable method between the two methods above. In addition,VC++ 6.0 is selected for development tools in this paper. VC++ 6.0 is the Microsoft Corporation introduced Windows application development tool. It has been widely used because its interface is friendly,programming is easy,and so on. In VC++ 6.0 version, it accompanies with MSComm control, which can be used to realize serial communication.

In the last part of thesis, there is an Example of a procedure. By using this procedure, PC can receive the data which are transmitted by single-chip microcomputer through the serial port for further processing. In this example, the single-chip microcomputer is one of MSC-51 series models; the operating system of PC is Windows XP; and the communication protocol is RS-232. Key words: Serial Communication, Single-chip Microcomputer, MSComm 关键词:小四号Times New Roman字体,逗号隔开,单词首字母大写,“Key words”加粗, 固定行间距20pt,段前1倍行距,若关键词一行写不下,下一行应缩进以与上行第一个关键词对齐。 II

“目录”:小二号黑体字,居中,固定行间距20pt,段前18pt,段后30~36pt 目 录 中文摘要 ............................................................................ I ABSTRACT ........................................................................... II 第1章绪论内容应包括本课题的意义、第1章 绪 论 ....................................................................... 1 目的、研究范围及要达到的技术要求;1.1 课题背景及意义 ................................................................. 1 国内外发展概况及存在问题;本课题的指导思想,应解决的主要问题。 1.2 研究现状 ....................................................................... 1 1.2.1 研究背景 ................................................................... 1 ?.(略)

第2章 串行通信技术及标准 ........................................................... 2 2.1串行通信概述 .................................................................... 2 正文主体(从第2章到结 论之前)是对研究工作的?.(略)

详细表述,应该结构合理,层次清楚,重点突出,文2.5 本章小结 ....................................................................... 2 字简练、通顺。其内容包括:问题的提出,研究工作第3章 系统实现 ..................................................................... 3 的基本前提、假设和条件;模型的建立,实验方案的3.1关键技术 ........................................................................ 3 拟定;基本概念和理论基础;设计计算的主要方法和?.(略) ?.(略)

内容;实验方法、内容及其分析;理论论证,理论在等。学生根据毕业设计(论文)课题的性质,一般仅涉及课题中的应用,课题得出的结果,以及对结果的讨论3.5 本章小结 ....................................................................... 3 上述一部分内容。 结 论.............................................................................. 4

谢 辞.............................................................................. 5 参考文献 ............................................................................ 6 附 录.............................................................................. 6 附录1 系统原理图 ................................................................... 7 附录2 通信接口程序 ................................................................. 7

目录自动生成,字体全部设为宋体,五号字,不要倾斜,一级标题加粗,固定行间距17pt,注意各级标题依次缩进2格, 如果有附录则也应列入。 目录只要求写到第二级节标题,即1.1.1这级标题,1.1.1.1这级不要写。 目录页码独立编排,格式Ⅰ,Ⅱ,? I

本文来源:https://www.bwwdw.com/article/48wd.html

Top