【精品】基于AT89C2051单片机超声波测距系统毕业设计论文资料.doc
文本预览下载声明
基于AT89C2051的超声波测距系统毕业设计论文
学 院:00
专 业:00
班 级:00
老 师:00
姓 名:00
学 号:00
设计题目:00
00年00月00日
目录
摘要 2
一、设计任务和性能指标 3
1.1设计任务 3
1.2性能指标 3
二、超声波测距原理概述 3
2.1超声波传感器 4
2.1.1 超声波发生器 4
2.1.2 压电式超声波发生器原理 4
2.1.3单片机超声波测距系统构成 5
三、设计方案 5
3.1 AT89C2051单片机 6
3.2 超声波测距系统构成 6
3.2.1 超声波测距单片机系统 7
3.2.2 超声波发射、接收电路 7
3.2.3显示电路 7
四.系统软件设计 8
4.1 主程序设计 8
4.2 超声波测距子程序 8
4.3 超声波测距程序流程图 10
4.4 超声波测距程子序流程图 11
五.调试及性能分析 12
5.1调试步骤 12
5.2 性能分析 12
附录一:基于AT89C2051单片机超声波测距系统电原理图 13
附录二 基于AT89C2051单片机超声波测距系统PCB图 13
附录三 基于AT89C2051单片机超声波测距系统焊接组装图 13
附录四 基于AT89C2051单片机超声波测距系统C语言原程序 13
附录五 元件清单 16
摘要
随着科技的发展,人们生活水平的提高,城市发展建设加快,城市给排水系统也有较大发展,其状况不断改善。但是,由于历史原因合成时间住的许多不可预见因素,城市给排水系统,特别是排水系统往往落后于城市建设。因此,经常出现开挖已经建设好的建筑设施来改造排水系统的现象。城市污水给人们带来了困扰,因此箱涵的排污疏通对大城市给排水系统污水处理,人们生活舒适显得非常重要。而设计研制箱涵排水疏通移动机器人的自动控制系统,保证机器人在箱涵中自由排污疏通,是箱涵排污疏通机器人的设计研制的核心部分。控制系统核心部分就是超声波测距仪的研制。因此,设计好的超声波测距仪就显得非常重要了。
介绍了一种以A T 89C2051 单片机为核心, 利用超声波的特性设计出低成本、高精度测距仪的方法。给出了这种测距仪的硬件原理电路和主要的软件设计思路,用Psp ice 对硬件的主要部分进行了模拟仿真。根据理论分析和试验统计对设计进行改进, 电路达到了预期的效果。
关键词:AT89C2051; 超声波;测距
Abstract
With the development of science and technology, the improvement of peoples tandard of living, speeding up the development and construction of the city. Urban rainage system have greatly developed their situation is constantly improving. However,due to historical reasons many unpredictable factors in the synthesis of her time, the city drainage system. In particular drainage system often lags behind urban construction.Therefore, there are often good building excavation has been building facilities to upgrade the drainage system phenomenon. It brought to the city sewage, and it is clear to the city sewage and drainage culvert in the sewage treatment system. comfort is very important to peoples lives. Mobile robots designed to clear the drainage culvert and the automatic control system Free sewage culvert clear guarantee robot, the robot is designed to clear the culvert sewage to the core. Control System is the core component of the development of ultrasoni
显示全部