摘要 :超声波测距是无线测距的一种,由于其可以直接测量近距离目标,纵向 分辨率高,适用范围广,方向性强,并具备不受光线、烟雾、电磁干扰等因素影 响,且覆盖面较大等优点从而被广泛应用。在本系统中,采用单片机定时器计数, 由单片机控制超声波的发射和接收,并且实施了以温度补偿的方法来提高超声波 测距系统的精度。模块化设计思路贯穿于整个系统,硬件模块主要有发射模块、 接收模块、传感器模块、数码管显示模块、温度补偿模块等。软件模块组成部分 包括主程序、发射子程序、接收子程序等。通过多次实验,对比误差,优化程序 以及装置,提高测量距离以及测量精准度。90894

毕业论文关键词 :超声波测距,模块,单片机

Abstract: In this paper, ultrasonic distance measurement technology, based on single-chip microcomputer, ultrasonic sensor as the core, the construction of ultrasonic ranging system。 In this system, the time counting, transmitting and receiving ultrasonic wave is controlled by the single chip computer, and the method of temperature compensation is used to improve the precision of the ultrasonic ranging system。 The modular design idea runs through the whole system, including the main program, the temperature compensation program, the transmitting subroutine, the receiving subroutine, etc。。 The function of the range finder can be realized by analyzing and processing the probe signal data。 Through the test, the system parameters such as launch, receive the corresponding demonstration, specific analysis, so as to design a good performance, relatively accurate measurement of ultrasonic ranging system。

Keywords:Ultrasonic ranging, module, MCU

1 绪论 3

1。1 超声波测距国内外现状 3

1。2 超声波测距发展趋势 3

1。3 超声波测距的应用及缺陷 3

2 超声波测距系统 4

2。1 超声波传感器原理 4

2。2 超声波测距原理 5

2。3 系统结构设计 6

3 硬件电路设计 6

3。1 超声波发射电路 6

3。2 超声波接收电路 7

3。3 传感器模块电路 8

3。4 LED 数码管 8

3。5 温度补偿电路 9

4 软件设计 9

4。1 主程序流程 9

4。2 子程序设计 11

4。2。1 测温程序 11

4。2。2 计算距离程序 11

上一篇:西门子PLC的交通灯控制设计+梯形图
下一篇:STC89C51单片机微型电子琴的设计+源代码+J电路图

热环境对磁记忆信号的影响ANSYS有限元分析

单片机数字红外测距系统设计+电路图+程序

连续-离散型状态观测器设...

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

农村幼儿教育开题报告

华夫饼国内外研究现状

高校体育场馆效益研究【2772字】

“时尚与旅游”电子杂志的设计制作

企业科研管理中统计报表...

论商业银行中间业务法律...

家电制造企业绿色供應链...

透过家徽看日本文化家紋から見る日本文化

ASP.net+sqlserver会员管理系统设计

基于安卓平台的二维码会议管理系统设计