毕业设计(论文) 题 目 汽车防撞报警系统设计 姓 名 学 号 专业班级 10 电子信息工程 1 班 指导老师 学 院 信息科学与工程学院 完成日期 201 4 年 5 月 19 日 宁波理工学院摘 要为了提高汽车驾驶安全性,设计一个汽车防撞报警系统。系统以 51 单片机为控制核心,用 HC-SR04 超声波测距模块测量距离,通过 12864 液晶进行显示,用 NY3P016AP8 语音模块报警。当汽车倒车时,语音提示汽车与障碍物的距离,当汽车与障碍物之间的距离小于警戒距离时,喇叭会发出“危险,危险”提示声。从 5cm~1m,间隔 5cm 进行测量,1m~4m,间隔 10cm 进行测量。距离小于50cm 时,误差几乎为 0,50cm~100cm,误差在 2cm 左右,100cm~400cm,误差最大为 7cm。测量结果表明,系统在汽车与障碍物距离 1m 以内,工作可靠。关键词:单片机控制;超声波测距;语音报警AbstractIn order to improve the driving safety, it is necessary to design an automotive anti-collision alarm system. The control core of this system is 51Mcu. This system uses HC-SR04 ultrasonic ranging module to measure distance, and the 12864 LCD as its result display, the NY3P016AP8 module as its alarm. Voice prompt gives the distance between the car and obstacles when car is reversing. If the distance is less than the safe distance, the alarm will give the voice "watch out" to remind diver to be careful. When the distance is between 5cm to 1m, it will do measure every 5cm and the error is almost 0. When the distance is between 1m to 4m, it will do measure every 10cm. When the distance is less than50cm, the error is almost 0, from 50~100cm, the error is about 2cm, from 100~400cm, the error can reach the maximum to 7cm. Measurement results show that the system is useful if the distance between car and obstacle is less than 1m.Keywords: MCU control;Ultrasonic Ranging;Voice Alarm目 录摘 要........................................................................................