J I A N G S U U N I V E R S I T Y 课 程 设 计 说 明 书汽车倒车雷达设计学院名称:机 械 工 程 学 院专业班级:测控技术与仪器0802 班学生姓名: 顾 海 健学生学号 : 3070302041指导教师姓名:陈进2011 年 09 月摘要设计的倒车雷达预警系统主要是针对汽车倒车时人无法目测到车尾与障碍物体的距离而设计的。本系统运用微机技术、超声波测距技术和传感器技术进行设计,通过液晶屏汽车图像尾部不同条数的黑线显示障碍物与汽车的距离远近,黑线的位置表示障碍物在车后的位置,并根据其距离远近实时发出不同等级及频率的声音报警。关键词:超声波传感器,微机,测距,报警Abstract It is designed to solve the problem unable to know the distance from the obstructions to the rear of car that early warning system for radar in back car. These are used that single-chip technology, ultrasonic ranging technology and sensor technology in the system. The number of the black lines, which be displayed on the LED screen, expresses the distance from the rear to the obstructions the location of black lines shows the location of the obstructions near the rear of the car。 and the different levels(that is different frequency) voices of alarm will be sounded according to different distances. Keywords ultrasonic sensor。 measuring distance。8086/8088。alarming 目 录一.摘要 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯..2 二.设计目的 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯..4 三.汽车倒车雷达硬件设计⋯⋯⋯⋯⋯⋯⋯⋯⋯ ..5 3.1 超声波测距原理 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯5 3.2 系统硬件电路的设计⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯5 3.3 芯片介绍 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯..6 四.软件设计 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯.11 4.1 设计流程图 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯...11 4.2 设计源程序 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯...12 4.3 发光二极管亮灯报警提示程序⋯⋯⋯⋯⋯⋯ .16 4.4 电路连接图 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯...20五. 调试 ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯..21 六. 总结 ⋯⋯⋯⋯⋯⋯⋯⋯⋯...