1 / 53
文档名称:

带语音播报功能的倒车雷达预警系统.docx

格式:docx   大小:1,253KB   页数:53页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

带语音播报功能的倒车雷达预警系统.docx

上传人:cjc201601 2021/5/5 文件大小:1.22 MB

下载得到文件列表

带语音播报功能的倒车雷达预警系统.docx

文档介绍

文档介绍:磬山学院
毕业设计
机电工程系
09测控1班
设计题目:超声测距单片机控制系统设计
系 别:
班 级:
姓 名:
指导教师:
2013年5月 30日
超声测距单片机控制系统设计
摘要
随着社会经济的发展交通运输业日益兴旺,汽车的数量大幅攀升,交通事故频 发,针对这种情况,设计一种响应快,可靠性高且较为经济的汽车防撞预警系统势 在必行,超声波测距法是最常见的一种距离测距方法,本文介绍的就是利用超声波 测距法设计的一种倒车防撞报警系统。控制系统核心部分就是超声波测距仪和语音 播报模块。
本次设计所采用的单片机是STC89c52,它的CPU是8位的,具有体积小,精度 高,价格便宜的优点。超声测距模块采用的是HC-SR04,语音播报模块采用的是 ISD1820o整个电路采用模块化设计,由主程序模块,显示模块,语音播报模块, 超声波测距模块,延时模块等组成。由单片机提供10us以上的TTL电平触发超声 波测距模块,由单片机计算超声波从发射到接收的时间差,从而计算出距离值,根 据单片机设定的报警范围决定是显示距离还是进行相应的语音播报。最后通过硬件 和软件设计实现了各个模块的功能。相关部分附有硬件电路图、程序流程图。
最终结果表明,此设计能很好地完成汽车倒车预警的任务,并能正常显示距离 和进行相应的语音提示,能较好地运用到实际生活当中。
关键词:超声波传感器;单片机;安全预警系统
Design of Ultrasonic Range Control System
based on Single-chip Microcomputer
Abstract
As social and economic development of the transport industry booming, the number of cars rose sharply,and frequent traffic accidents this situation, designing a fast response, high reliability and more economical vehicle collision avoidance warning system is imperative , ultrasonic ranging method is the most common form of distance ranging method. The thesis designs a reversing collision alarm system based on an ultrasonic distance measurement method. Control system consists of the ultrasonic range finder and voice broadcast module.
Micro-controller STC89C52 is used in the design , it is an 8-bit CPU, with small size, high accuracy, low price advantages. Ultrasonic Ranging Module uses HC_SR04 and voice broadcast module uses ISD1820. The entire circuit is modular in design, containing the main program module, display module, voice broadcast module, ultrasonic ranging module, the delay module and other components. The micro-controller provides more than lOus TTL level to trigger ultrasonic ranging time difference from the transmitter to the receiver is calculated by the micro-controller and then micro-controller calculates the distance value. Whether display or voice broadcast is according to alarm range set by the chip. Fin