毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

AT89C52单片机的超声波测距仪设计+电路图

时间:2021-04-11 22:03来源:毕业论文
AT89C52单片机为控制芯片加上微型化数码管数字显示超声波测距仪的硬件电路和软件设计方法。整个电路采用模块化设计,发射超声波模块,接收超声波模块,显示距离模块组成

摘 要:本文采用以低成本、高精度的AT89C52单片机为控制芯片加上微型化数码管数字显示超声波测距仪的硬件电路和软件设计方法。整个电路采用模块化设计,发射超声波模块,接收超声波模块,显示距离模块组成。发射模块主要发射超声波,接收模块主要接收发射装置遇到障碍物反射的回波,单片机计算距离,数码管显示测量结果。各探头的信号经单片机综合分析处理,实现超声波测距仪的各种功能。在此基础上设计了系统的总体方案,最后通过硬件和软件实现了各个功能模块。本设计的优点在于超声波明显特征是方向性好,穿透性强,尤其在民用上有很好的发展前景。65437

毕业论文关键词:AT89C52,超声波,测距。

Abstract:  The design of this project using AT89C52 microcontroller low-cost, high-precision control chip and miniaturization of digital tube digital display ultrasonic range finder hardware and software design methods. The entire circuit is modular in design,  transmitting ultrasonic module receives the ultrasonic module, the display from the module. Transmitter module transmitter ultrasonic receiver module main receiver transmitter device encounters an obstacle reflected echo microcontroller calculates the distance, the digital display measurement results. Probe signal the SCM comprehensive analysis of processing, the various functions of the ultrasonic range finder. The system is designed on the basis of the overall program, through hardware and software to achieve the various functional modules.The advantage of this design is that the distinctive feature of ultrasonic directional, penetrating, especially in civilian good prospects for development.

Key word: AT89C52, ultrasound, ranging

目  录

1  前言 4

1.1  设计目的 4

1.2  设计的主要内容 4

1.3  应解决的关键问题 4

2  总体方案设计 5

2.1  超声波测距离原理 5

2.2  超声波传感器特性 6

3  硬件电路设计 7

3.1  单片机AT89C52介绍 7

3.2  超声波发射电路 12

3.3  超声波检测接收电路 12

3.4  超声波显示电路 13

3.5  报警电路 14

3.6  电源电路设计 15

4  系统程序的设计 15

4.1  超声波测距器的算法设计 16

4.2  总体设计方案 17

4.3  超声波发生子程序和超声波接收中断程序 17

4.4  主程序 18

5  电路调试及误差分析 19

5.1  系统干扰因素 19

5.2  电路的调试 20

5.3  声速引起的误差 21

5.4  环境对测量的影响 21

5.5  系统功能 22

结论 24 AT89C52单片机的超声波测距仪设计+电路图:http://www.751com.cn/zidonghua/lunwen_73081.html

------分隔线----------------------------
推荐内容