1、 毕 业 设 计 毕业设计题目:超声波测距仪的设计毕业设计题目:超声波测距仪的设计 学生姓名:学生姓名: 学学 号:号: 系系 别:别: 专业班级:专业班级: 指导教师姓名及职称:指导教师姓名及职称: 起止时间:起止时间: 摘摘 要要 现代的社会已经进入了飞速发展的阶段, 人们在各个领域对测距 仪的应用,有越来越广泛的需求。针对愈发广泛的应用需求,设计一 种经济实用准确度高响应灵敏的测距仪很有必要, 而本文设计的 超声波测距仪恰好满足以上要求。 由于超声波具有指向性强和传送距离远等优点, 人们很容易利用 超声波制成测距仪。为了实现测距功能,本设计以 AT89S51 芯片为核 心,再结合 4 位
2、一体共阴 LED 数码管、超声波传感器模块和 12.0M 晶 振等器件。系统里包括了单片机系统,LED 显示电路,复位电路以及 超声波发射接收电路。 关键词关键词 超声波 测距仪 AT89S51 芯片 Abstract Modern society, has entered a stage of rapid development. Application of range finder in many fields , has a growing demand. In order to meet the increasing demands , it is necessary to desi
3、gn an economical range finder, which has a high accuracy and a sensitive response. The ultrasonic range finder designed in this thesis just satisfies the above requirements. Because of good directivity and long transmission of ultrasonic, it is easy to fabricate an range finder by ultrasonic. In ord
4、er to achieve the function of measuring distance , ultrasonic range finder is designed with AT89S51 chip as the core. It also contains four in one common cathode LED digital tube, ultrasonic sensor module, and 12.0M crystal . The ultrasonic range finder is made up ofa single-chip system, LED display
5、 circuit, reset circuit, and an ultrasonic transmitting and receiving circuits. Key words:Ultrasonic Range finder AT89S51 chip 目目 录录 第第 1 1 章章 绪论绪论 1 1 1.11.1 设计的背景设计的背景 1 1 1.21.2 设计的意义设计的意义 1 1 第第 2 2 章章 超声波测距原理超声波测距原理 2 2 2.1 2.1 超声波简介超声波简介 2 2 2.2 2.2 超声波测距原理超声波测距原理 2 2 2.3 2.3 超声波传感器超声波传感器 3 3
6、第第 3 3 章章 方案论证方案论证 4 4 3.1 3.1 设计思路设计思路 4 4 3.2 3.2 系统结构设计系统结构设计 5 5 第第 4 4 章章 主要元件介绍主要元件介绍 6 6 4.14.1 单片机单片机 AT89S51AT89S51 6 6 4.1.1 AT89S514.1.1 AT89S51 简介简介 6 6 4.1.2 AT89S514.1.2 AT89S51 的主要性能特点的主要性能特点 6 6 4.1.3 4.1.3 管脚说明管脚说明 7 7 4.24.2 超声波传感器超声波传感器 HCHC- -SRSR0404 8 8 4.2.14.2.1 端口介绍端口介绍 8 8 4.2.24.2.2 主要技术参数主要技术参数 8 8 4.2.34.2.3 基本工作原理基本工作原理 8 8 4 4.2.4.2.4 超声波时序图超声波时序图 9 9 4.2.54.2.5 模块线路图模块线路图 1010 4.2.64.2.6 最远探测距离调节最