摘 要:超声波测距进行距离测量时,不与测量物体相接触,接收信号只与距离有关,不易受外界因素干扰,同时在将倒车系统推向市场时,控制成本,稳定价格是非常重要的一环,而超声波测距具备了极高的性价比,在日常生活中已经十分常见。由于超声波是通过声音来传播的,这就在一定程度上方便了使用者的计算和检验。
本设计是以51单片机为主控制器的超声波倒车雷达系统,详细介绍了各个模块,充分利用了超声波的测距优势,将其与51单片机进行了有效的结合。该系统分为硬件和软件两部分,硬件部分主要是由最小系统模块、超声波测距模块以及数码管显示模块、报警器和电机驱动模块组成的,软件部分是以主程序为基础,超声波发射接收程序为辅,额外添加了计算距离子程序和数码管显示报警子程序。整个设计充分利用了各个模块的优势,实现了系统的多用化。驾驶者能够根据倒车系统调整倒车的速度方向和距离,极大地减小了发生意外的可能性,也为驾驶员出行提供了更优质的安全保障。
关键词:超声波测距 51单片机 数码管显示模块 报警器
Ultrasonic reversing radar system based on single chip microcomputer
Abstract:Ultrasonic distance measurement when we measure the distance has no relationship with the measured object. The received signal is only related to the distance, not susceptible to external factors. While reversing the system to the market, control costs, stable prices are very important part. The ultrasonic rangefinder has a very high price and in daily life it has been very common. As the ultrasound is transmitted through the sound, which to a certain extent, facilitate the user's calculation and testing.
The design is based on 51 single-chip controller of the ultrasonic reversing radar system, detailing the various modules, making full use of the advantages of ultrasonic distance measurement, with 51 single-chip combination of effective. The system is pided into two parts: hardware and software. The hardware part is mainly composed of the minimum system module, the ultrasonic distance measuring module and the digital display module, the alarm and the motor drive module. The software part is based on the main program, the ultrasonic transmitter and receiver Procedures, supplemented by the addition of the calculation of distance subroutine and digital display alarm subroutine. The whole design takes full advantage of the advantages of each module to achieve the system of multi-purpose. The driver can adjust the reversing speed and distance according to the reverse system, greatly reducing the possibility of accidents, to providing a better quality of security for the driver.
Key Words: Ultrasonic distance measurement 51 single chip Digital tube display module Alarm
目 录
摘 要 I
Abstract II
图清单 V
表清单 V
1 绪论 1
1.1设计的背景 1
1.2设计的主要内容 2
1.3本设计达到的目标 2
1.4应解决的关键问题 2
2 电路方案论证 3
2.1 方案比较 3
2.2电路总体方案 4
3 单片机概述 5
3.1 STC89C51主要性能 5
3.2 STC89C51外部结构及特性 51单片机的超声波倒车雷达系统设计:http://www.chuibin.com/zidonghua/lunwen_205657.html