基于单片机的超声波测距仪的设计

上传人:woxinch****an2018 文档编号:38970322 上传时间:2018-05-10 格式:DOC 页数:39 大小:1.86MB
返回 下载 相关 举报
基于单片机的超声波测距仪的设计_第1页
第1页 / 共39页
基于单片机的超声波测距仪的设计_第2页
第2页 / 共39页
基于单片机的超声波测距仪的设计_第3页
第3页 / 共39页
基于单片机的超声波测距仪的设计_第4页
第4页 / 共39页
基于单片机的超声波测距仪的设计_第5页
第5页 / 共39页
点击查看更多>>
资源描述

《基于单片机的超声波测距仪的设计》由会员分享,可在线阅读,更多相关《基于单片机的超声波测距仪的设计(39页珍藏版)》请在金锄头文库上搜索。

1、基于单片机的超声波测距仪的设计摘要本设计介绍了基于单片机设计的超声波测距仪的原理:由STC89C51控制定时器产生超声波脉冲并计时,计算超声波自发射至接收的往返时间,从而得到测量距离。并且在数据处理中设置了距离的高低限,用四位LED数码管显示距离,同时当超过限值时用蜂鸣器实现报警。此超声波测距系统是基于51单片机,由HC-SR04超声波测距模块,数码管,阻容元件,蜂鸣器等组成,系统带有距离报警功能,报警通过蜂鸣器和LED做出反应,并且系统报警距离可通过按键随时更改。超声波测距模块可提供2cm400cm的非接触式感测功能,测距精度可达到3mm,模块包括超声波发射器,接收器以及控制电路。本作品成本

2、低,可抗性相对较高,测得的距离能够清晰稳定的显示在四位数码管上,且小巧轻便,应用起来比较方便。关键词:STC89C51;超声波;测距Ultrasonic rangefinder design based on single chip microcomputerAbstractThis design describes the chip design based on the principle of ultrasonic range finder:when STC89C51 controlled the timer that generates an ultrasonic pulse and

3、timing ,calculated the round-trip time from the ultrasonic transmitter to the receiver , resulting in the measured distance. In the data processing and set high and low limit of distance, with four LED digital display distance, but when the limit is exceeded an alarm buzzer. This ultrasonic ranging

4、system is based on 51 single, the HC-SR04 ultrasonic ranging module, LED, resistive and capacitive components, buzzer, etc., with distance alarm system, alarm buzzer and respond by LED, and the system can be changed at any time from the alarm by pressing a button. Ultrasonic Ranging Module provides

5、2cm-400cm non-contact sensing capabilities, ranging accuracy can reach 3mm, module comprises an ultrasonic transmitter, a receiver and a control circuit. The work of low cost, relatively high resistance, the measured distance can be displayed on a clear and stable four digital tube, and the compact

6、and light weight, the application more convenient. Keywords: AT89C51; ultrasound; ranging目录目录第一章 引言.11.1 课题研究的背景.11.2 课题的提出及研究意义.11.2.1 课题的提出.11.2.2 课题的研究意义.2第二章 超声波的介绍及超声波测距的原理.32.1 超声波的简介.32.1.1 什么是超声波.32.1.2 超声波的特性及特点.32.1.3 超声波的应用.42.2 超声波测距的原理.42.2.1 超声波发生器.42.2.2 压电式超声波发生器的原理.52.2.3 超声波测距的原理.5

7、第三章 方案设计及元件选型.63.1 设计方案.63.1.1 设计思路.63.1.2 系统最终方案.63.2 STC89C51 单片机的介绍.63.2.1 STC89C51 单片机的功能.73.2.2 STC89C51 单片机的主要特性.73.2.3 STC89C51 的管脚说明.83.3 HC-SR04 超声波发射接收模块 .93.3.1 超声波模块的特点.93.3.2 基本的工作原理.93.3.3 引脚介绍.103.3.4 电气参数.10第四章 硬件设计.114.1 系统结构设计.114.2 接收显示终端电路.114.3 超声波发射电路.124.4 超声波接收电路.134.5 报警电路.144.6 电源电路.15第五章 软件设计.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 其它相关文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号