编号淮安信息职业技术学院毕 业 论 文题目基于单片机的超声测距系统的设计学生姓名韩露学号15011315 院系电子工程学院专业应用电子系班级150113 指导教师丁向荣顾问教师俞学刚二〇一四年六月摘 要I 摘要随着科学技术的快速发展,超声波将在测距仪中的应用成为研究热点,但就目前的水平来说,人们可以具体利用的测距技术还十分有限。因此,这是一个正在蓬勃发展而又有无限前景的技术及产业领域。本设计介绍了基于单片机控制的超声测距仪的原理:由 AT89S52 控制定时器产生超声波脉冲并计时,计算超声波自发射至接收的往返时间,从而得到实测距离。并且在数据处理中采用了温度补偿的调整,用四位LCD 数码管切换显示距离和温度。通过硬件和软件实现了个各个功能模块,此系统模块具有易控制、 工作可靠、测距准确度高、可读性强和流程清晰等优点。实现后可应用于需要测量的测距参数的各种应用场合。关键词: AT89S52;超声波;测距;淮安信息职业技术学院毕业设计论文II Abstract III Abstract With the rapid development of science and technology, the application of ultrasonic wave in the range finder has become a hot topic, but the current level of technology, people can use the specific location is very limited. Therefore, it is a booming and technology and industry have unlimited prospects. The design introduces the principle of the ultrasonic distance measurement instrument based on SCMC-controlled: AT89S52 controls timers to produce the ultrasonic wave pulse and time,count the time of ultrasonic wave spontaneous emission to receive round-trip,thus obtains the measured distance.And the temperature compensation adjustment is used in the data processing, with four LCD nixie tubes display distance or temperature by switching. It has given the system constitution, the circuitry and the programming. The instrument system has features: ease of control, stability of operation, highness of precision and distinctness of programme process ,etc. After the realization of the works can be u...