1 / 29
文档名称:

基于STM32单片机的串口转网络设计.doc

格式:doc   大小:335KB   页数:29页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于STM32单片机的串口转网络设计.doc

上传人:zl201163zl 2022/1/6 文件大小:335 KB

下载得到文件列表

基于STM32单片机的串口转网络设计.doc

文档介绍

文档介绍:题 目
基于STM32单片机的串口转网络设计
摘 要
本毕业设计主要研究串口转网络技术,继而实现串口与网络之间的数据传输。本串口转网络模块主要包括以太网接口模块、STM32处理器模块和串口数据处理模块。串口数据进行网络化处理过程是整个模块的关键。
激光打靶系统的主要信号处理过程包括:信号的放大、编码和数据传输。信号由光电探测器检测后传送到相应的放大电路,放大电路采用集成运算放大器。按原先对光电探测器的编码规则采用多路优先编码器对信号进行编码。最后把编码值以串口的形式传送到计算机,利用计算机的强大功能对打靶结果进行各种处理。与计算机之间的串行数据传输由89C2051单片机实现。89C2051单片机的程序,使用keil编译器进行设计和调试完成,其主要功能是控制数据的串行传送,实现与计算机的串口通信。
该信号处理系统实现了对信号的良好检测。与计算机之间的串口通信可以实现数据在计算机上的显示、统计、储存等功能,为打靶者提供非常直接、准确的打靶结果,有利于提高打靶效果。
关键词:激光打靶;信号处理;信号编码;串行传输
ABSTRACT
The main aim of this thesis is to design and realize signal processing of a self-developed laser target shooting system and then realize the whole laser target shooting system. The laser target shooting system consists of semiconductor laser gun, photoelectric detector, and signal processing circuit, which is the key part of the whole system. Laser target shooting process go though following steps: laser gun emitted a pulse of laser, which would be received by the laser target and the results of shooting will be shown on screen of computer by series signal processing. The laser target consists of some silicon photoelectric units that were encoded with different numbers according to certain rule. The result of the shooting will be got when detecting the number of the photoelectric unit that receives the laser pulse.
The signal processing of the laser target shooting system mainly consists of signal amplification, signal encoding and data transmission. The inspected photoelectric signal was then amplified by operator amplifiers, coded by multiplex priority encoder according to the prearranged rule, and then transferred to computer by 89C2051 MCU through its serial port. And then computer can process the signal. The program of 89C2051 MCU is designed in keil and debugged using keil compiler. It is designed to control the data transmission with computer.
The designed signal processing system can detect signal effectively. Through the se