文档介绍:基于单片机汽车倒车测
距仪的设计
班级
专业
所在系
学号
指导老师
目录
摘要 1
Abstract 2
第一章绪论 3
第二章超声波的介绍 4
4
超声波的特点 4
5
5
第三章单片机的介绍 7
单片机的定义 7
单片机的发展过程 7
单片机的特点 7
单片机的应用 8
C8051F单片机的介绍 8
第四章汽车倒车测距仪的硬件设计 12
设计的思路 12
设计的重点与难点 12
12
第五章超声波汽车倒车测距仪软件设计 16
主程序编制及流程图 16
中断服务程序的流程图及编制 18
显示距离子程序和延时子程序 18
19
,寄存器及标志位的内容及用途 22
第六章总结 23
参考文献 24
致谢 25
汽车倒车测距仪的设计
摘要:本文利用超声波传输中距离与时间的关系采用C8051F单片机进行控制及数据处理设计出了能精确测量点间距离的超声波测距仪,利用所设计出的汽车倒车测距仪,能比较精确测量车后障碍物距离。
在分析国内外单片机汽车倒车测距仪相关技术的基础上,结合最新研究成果,对基于超声波测距的倒车测距系统的研制进行了深入探讨和研究。该系统分为测距模块、系统控制模块和显示报警模块,并分别对其进行方案分析,构建了单片机汽车倒车测距仪构架和设计方案,在硬件电路中,详细阐述了运用单片机技术实现的可视倒车预警系统的测距实现原理,分析了以单片机为主控单元的系统硬件和软件设计,并对该系统进行了试验和误差分析,给出了本系统的稳定性指标。
关键词:C8051F单片机,超声波,LED,收发电路
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.
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 puter 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: C8051F MCU Ultrasound, LED, Tr