- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要
超声波是指频率在20kHz以上的声波,它属于机械波的范畴。超声波也遵循一般机械波在弹性介质中的传播规律,如在介质的分界面处发生反射和折射现象,在进入介质后被介质吸收而发生衰减等。正是因为具有这些性质,使得超声波可以用于距离的测量中。随着科技水平的不断提高,超声波测距技术被广泛应用于人们日常工作和生活之中。
系统的设计主要包括两部分,即硬件电路和软件程序。硬件电路主要包括单片机电路、发射电路、接收电路、显示电路和温度补偿电路,另外还有复位电路和通讯电路等。硬件电路以AT89S52单片机为核心,并具有低成本、微型化、带LCD液晶显示等特点。整个电路采用模块化设计,由信号发射和接收、温度测量、显示、语音播报等模块组成。发射探头的信号发射出去,单片机的计时器开始计时,然后当单片机接收回波时,计数器停止工作并得到时间。温度测量后送到单片机,通过程序对速度进行校正, 结合两者实现超声波测距的功能。软件程序主要由主程序、预置子程序、发射子程序、接收子程序、显示子程序等模块组成。它控制单片机进行数据发送与接收,在一定温度下对超声波速度的校正,实现数据显示在LCD上。
关键词:AT89S52;超声波传感器;测距仪;温度补偿;LCD
Abstract
Sound frequencies above 20kHz is called Ultrasound, it belongs to the scope of mechanical wave.Ultrasound can also follow the general mechanical wave propagation in an elastic medium, as in the medium occurs at the interface reflection and refraction, absorption of the medium into the medium occurred after attenuation. Ultrasound can be used for distance measurement with these properties. With the continuous improvement of technological level, ultrasonic distance measurement techniques are widely used in daily work and life.
System design includes two parts, namely, hardware and software programs. Hardware circuit includes a microcontroller circuit, transmitter circuit, receiver circuit, display circuit and temperature compensation circuit, in addition to reset circuit and communication circuit. AT89S52 microcontroller is the core of hardware which is low cost,miniaturization,with LCD liquid crystal display and so on. The modular design of the livelong circuit contains the signal transmission and reception, temperature measurement, display, voice broadcast and other modules.The microcontroller timer starts time when the probe launch ultrasound, after the original ultrasound was reflected, ultrasound will be incepted by the probe,then microcontroller stop working and get time. After sending the temperaturemeasurement to the microcontroller, process of correction will revise the speed.It can achieve the function of ultrasonic ranging by
您可能关注的文档
最近下载
- 高考作文模拟写作直面青春迷茫导写(附写作指导及范文点评) 2021范文.doc VIP
- 餐厅6S制作流程.pptx
- 《现代酒店服务英语》Chapter2 客房预订部服务.ppt VIP
- 北京现代领动_汽车保养手册用户服务指南车辆维护保修说明书电子版.pdf VIP
- The Beginning-钢琴谱 原调简谱 高清正版完整版双手简谱.pdf
- 高考作文模拟写作:贫困应该带给我们的 导写(附:写作指导及范文点评).docx VIP
- 光伏发电+储能项目建议书写作模板.doc VIP
- 交通安全风险评估.pdf VIP
- 隧道注浆施工记录表.doc VIP
- 《现代酒店服务英语》Chapter1 前台服务.ppt VIP
文档评论(0)