登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 理工学类 > 电气工程及其自动化 > 正文

基于STM32的上位机数据通信系统毕业论文

 2022-04-09 21:59:07  

论文总字数:26273字

摘 要

随着计算机技术、信息技术以及微电子技术的不断发展,人类工业生产以及日常生活对控制技术以及数据通信技术有了更高的要求。更加精密、稳定、智能化的数据通信系统可以大大提高工业生产效率,减少无用工序,使我们的生产及生活更加便利高效。可见,现代化数据通信系统对社会生产生活有着及其重要的作用,并且随着为控制技术以及信息交互技术的不断发展和累积,数据通信技术也将会获得更大发展和技术革新。

本文将以STM32F407开发板为研究对象,依靠LabView、KEIL、串口调试软件等工具,通过STM32F407开发板的串口模块以及RS485模块实现上位机与下位机的数据通信系统设计。本片论文将主要通过三次通信系统设计,利用循序渐进的研究方法逐步实现基于LabView的上位机数据通信系统设计。首先,本文将从STM32F407串口模块实现PC与STM32F4的数据串口通信及反馈。然后,在基于串口通信的基础上,使用RS485接口实现两块开发板的485通信。最后,在前两次设计结果的基础上,我们将利用LabView软件实现基于LabView的上位机数据通系统设计。在文章末尾,我们将对三次设计仿真的结果进行分析比较,并提出优化改进建议。

关键词: 数据通信 STM32F407开发板 串口通信 RS485通信

Abstract

With the development of computer technology, information technology and micro electronic technology,human industrial production and the daily life of the control technology and data communication technology has a higher demand.More sophisticated, stable, intelligent data communication system can greatly improve the efficiency of industrial production, reduce useless processes, so that our production and life more convenient and efficient.Visible, modern data communication system of social production and life has an important role, and as for the control technology and continuous development of information technology, interactive and cumulative data communications technology will achieve greater development and technological innovation.

This paper will STM32F407 development board for the study, relying on LabView, KEIL, serial debugging software tools, data communications system design PC and the next crew by STM32F407 development board module and RS485 serial module.This paper will mainly through the three communication system design, the use of step by step research methods to gradually realize the LabView based host computer data communication system design.First of all, this article will be from the STM32F407 serial port module to achieve PC and STM32F4 data serial communication and feedback.Then, on the basis of serial communication, using RS485 interface to realize the 485 communication of the two development board.Finally, on the basis of the former two design results, we will use the LabView software to realize the design of the upper computer data communication system based on LabView.At the end of the article, we will design three simulation results are analyzed and compared, and make optimization recommendations for improvement.

Key words :data communication STM32F407 development board serial communication RS485 communication

目录

  1. 绪论 .....................................................................................................................1

1.1 选题背景..................................................................................................................1

1.2 国内外研究现状......................................................................................................2

1.3 本文主要研究内容及文章架构..............................................................................2

  1. STM32F4芯片外围硬件电路介绍......................................................................4

2.1 STM32F4系列微控制器简介.................................................................................4

2.2 STM32F4系列控制器的优点.................................................................................4

2.3 相关外围电路介绍..................................................................................................5

第三章 STM32F4芯片串口通信设计.............................................................................8

3.1 STM32F4串口简介.................................................................................................8

3.2 串口设置..................................................................................................................8

3.3 串口通信硬件设计..................................................................................................12

3.4 串口通信程序设计..................................................................................................12

3.5 串口通信程序验证..................................................................................................14

第四章 基于两块STM32F4芯片的485通信系统设计.................................................16

4.1 485简介....................................................................................................................16

4.2 485通信硬件设计....................................................................................................18

4.3 485通信软件程序编写............................................................................................19

4.4 485通信程序验证....................................................................................................23

第五章 基于LabView和STM32F4芯片的上位机通信系统设计.................................25

5.1 基于LabView的通信程序编写...............................................................................25

5.2 基于LabView的通信程序验证...............................................................................30

第六章 结果总结...............................................................................................................33

致谢.......................................................................................................................................34

参考文献...............................................................................................................................35

  1. 绪论

数据通信系统是信息控制技术的一个重要部分,它是以计算机技术、信息接收、数据接收以及处理为一体的综合应用技术。目前数据通信系统广泛应用通信、工业生产、以及智能控制等多项与我们现代化生产生活等息息相关的各种领域。而随着当今社会信息通信技术的快速发展以及数据通信的手段的不断增多,数据通信系统必将有着更加广泛的应用。

1.1 选题背景

请支付后下载全文,论文总字数:26273字

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图