- 1、本文档共25页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于单片机的超声波测距仪设计讲述
本科生毕业论文(设计)
题目: 基于单片机的超声波测距仪设计 1208451033
姓 名 张怀林
指导教师 唐磊
2016年05月06日
摘 要
近年来,超声波测距得到了很大的发展,并且在日常生活中以及工业上有着很大的应用前途。
该测距系统电路设计包括超声波的发射与接收电路设计、电源电路设计、报警电路设计及显示电路设计等。软件平台利用C语言软件开发系统——Keil C51,简便快捷。首先单片机在控制定时器产生超声波脉冲的同时进行计时,超声波经历发射、返回、接收三个过程。这时,计时器会计算超声波去返时间,从而获得距离。单片机作为信息处理中心,它与软硬件结合并保证各个电路模块的正常运行。
经实际检测,该测距仪能够在0.02-4m得到有效测量,而且该设计硬件简单,容易焊接,方便轻捷,可广泛应用于日常生活中的各种短距离测量。
关键词:STC89C52 超声波 测距 蜂鸣器
Abstract
In recent years, ultrasonic ranging has been greatly developed, and has a great application prospect in daily life as well as in industry.
The circuit design includes the design of the transmitting and receiving circuit, the power circuit, the design of the alarm circuit and the display circuit design. Software platform using C language software development system, Keil C51, it is simple and convenient. Firstly, microcontroller in the control timer produced ultrasonic pulse as well as timed, Ultrasonic experience, return, receive three process. At this time, the timer will calculate ultrasonic to return time, which can measure the distance. SCM as the information processing center , it combined with the software and hardware to ensure the normal operation of each circuit module.
The experiment proved that the range finder have an effective measurement in 0.02-4m , and the hardware design is simple, easy welding, nimble and convenient and can be widely used in daily life in a variety of short distance measurement.
Key Words:STC89C52 Ultrasonic Ranging Buzzer
目 录
摘 要..............................................................................................................I
Abstract..........................................................................................................II
目 录.............................................................................................................III
1. 前言.................................................................................
文档评论(0)