毕业论文

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

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

时间:2020-09-10 21:40来源:毕业论文
以AT89C2051单片机为主控制器的微型化数字超声波测距仪设计。其控制电路由主程序模块、中断程序模块、接收放大电路模块、发射模块、显示电路模块等组成。发射模块的探头先将信号

摘要:随着科技的日新月异,超声波的运用也越来越广泛。作为一种重要的无线测量工具,它具有很大的发展空间,并且超声波将向高精度高定位的测距方向发展。

      本设计是以AT89C2051单片机为主控制器的微型化数字超声波测距仪设计。其控制电路由主程序模块、中断程序模块、接收放大电路模块、发射模块、显示电路模块等组成。发射模块的探头先将信号通过放大和检测之后发射出去,同时单片机开始计时,超声波信号遇到障碍物之后原路返回,接收模块接收到返回信号,计时器立即停止工作。然后主程序开始读取数据并且显示在LED数码管上。经测试,该设计性能良好,测试精度较高,可以测出一定范围内的距离。55844

毕业论文关键词:超声波测距仪,AT89C2051,控制电路

Abstract: Along with the development of the science and technology, ultrasonic has been used more and more widely. As an important wireless measuring instrument, it has very large development space, and ultrasonic wave will develop to the high precision and high positioning.                         This design is the micro digital ultrasonic range finder based on AT89C2051 controller. The control circuit consists of the main program module, interrupt module, receiving amplifier circuit module, the transmitting module, display circuit module, etc. First,the probe of the transmitter module will send out the signal through the amplification and detection,and single chip microcomputer timing will start. Then, the ultrasonic signal will be back on the road after encountering obstacles, and the receiving module will receive the return signal, and the timing will stop working. Finally, the main program will read the data and display on the LED digital tube. By testing, this design can be a good measure; however, with the change of the environment, there may be errors of the data. After testing,this design is of good performance and high precision,and can be measured within a certain distance.

Keywords: ultrasonic range finder, AT89C2051, the control circuit

目   录

1 前言 3

  1.1设计背景及意义 3

  1.2设计任务 3

2系统总体设计 3

  2.1 系统设计方案 3

  2.2硬件器材选取 5

3系统硬件设计 9

  3.1 单片机最小系统 9

  3.2 发射和接收放大模块设计 9

  3.3 显示电路设计 10

4系统软件设计 11

  4.1 软件主程序设计 11

  4.2 中断程序设计 12

  4.3 LED显示模块设计 14

  4.4 数据计算设计 15

5 实验测试结果及分析 16

  5.1 系统测试和结果 16

  5.2 测距仪进一步展望 18

结  论 19

参考文献 20

致  谢 21

附录1:系统整体原理图 22 

附录2:实物图 AT89C2051单片机的超声波测距仪设计+电路图:http://www.youerw.com/zidonghua/lunwen_60209.html

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