[毕业设计]基于单片机汽车倒车测距仪的设计

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1
Baidu Nhomakorabea
! "#$%&'
The design of car parking rangefinder Abstract:In this paper, using the relation of the ultrasonic transmission
distance and time by C8051F MCU controlling and data processing design capacity points that can accurately measure the distance between the ultrasonic range finder, using the design of car parking ranger, can more accurately measure the distance between the obstacle and vehicle.
毕业设计
作 者: 系 部: 专 业: 题 目:
学 号: 电气工程系 应用电子技术 基于单片机汽车倒车测距仪的设计
指导者: 评阅者:
2011 年 3 月
¡ ¢£¤¥¦§¦¨©
汽车倒车测距仪的设计 摘要:本文利用超声波传输中距离与时间的关系采用 AT89C51 单片机进行控制及数
据处理设计出了能精确测量点间距离的超声波测距仪,利用所设计出的汽车倒车测 距仪,能比较精确测量车后障碍物距离。
SCM car parking on the analysis on the basis of rangefinders related technologies, combined with the latest research results, Based on Ultrasonic Ranging System reversing conducted in-depth study and research. The system is divided into distance module, alarm system control module and display module, with respect to their program analysis, construction of the single chip architecture and design of car parking ranger program; in the hardware circuit, described in detail the use of microcomputer technology to achieve Distance visual reversing warning system implementation principle, analysis based on single chip main control unit of the system hardware and software design, and tested the system and error analysis, Given the stability of the system indicators.
Key words: AT89C51 MCU Ultrasound LEDTransceiver Circuit
2
()01234546789@A
目录
1 绪论……………………………………………………………………..........………..4 2 超声波传感器的介绍………………………………….............................................5 2.1 超声波传感器的概述 ……………………………………….............................5 2.2 超声波传感器的特点 ……………………………………………………...........6 2.3 超声效应 ……………………………………………………………………........6 2.4 超声波传感器的应用 …………………………………………………...............6 3 单片机的介绍 ………………………………………………………......………...7 3.1 单片机的定义 ……………………………………………………………………..7 3.2 单片机的发展过程 ………………………………………………………………...8 3.3 单片机的特点 ……………………………………………………………………. 9 3.4 单片机的应用 ……………………………………………………………………..9 3.5 AT89C51 单片机的介绍 …………………………………………………………...10 4 汽车倒车测距仪的硬件设计 …………………………………………....................13 4.1 设计的思路 …………………………………………………………………………13. 4.2 设计的重点与难点………………………………………………………………….13 4.3 硬件设计的基本原理及原理图 ……………………………………………….....13 5 超声波汽车倒车测距仪软件设计 ……………………………………….................18 5.1 主程序编制及流程图…………………………………………………………….....18 5.2 中断服务程序的流程图及编制 …………………………………………………. 20 5.3 显示距离子程序和延时子程序 …………………………………………………. 21 5.4 信号处理程序 …………………………………………………………………......22 5.5 程序中有关存储器,寄存器及标志位的内容及用途 …………………………. .25 总结 ……………………………………………………………………….................. 26 致谢 ………………………………………………………………………………….... 28 参考文献 ……………………………………………………………………………....29
在分析国内外单片机汽车倒车测距仪相关技术的基础上,结合最新研究成果, 对基于超声波测距的倒车测距系统的研制进行了深入探讨和研究。该系统分为测距 模块、系统控制模块和显示报警模块,并分别对其进行方案分析,构建了单片机汽 车倒车测距仪构架和设计方案,在硬件电路中,详细阐述了运用单片机技术实现的可 视倒车预警系统的测距实现原理,分析了以单片机为主控单元的系统硬件和软件设 计,并对该系统进行了试验和误差分析,给出了本系统的稳定性指标。 关键词:AT89C51 单片机 超声波传感器 LED 收发电路
相关文档
最新文档