STC89C51单片机超声波测距汽车防撞报警系统设计+电路图
时间:2020-06-21 15:36 来源:毕业论文 作者:毕业论文 点击:次
摘要本超声波测距汽车防撞报警系统是主要用 STC89C51 单片机来设计系统。本设计用超声波测距模块实现距离的测量, 以 DS18B20 温度传感器实现温度补偿功能使测量的结果更为精确,液晶显示屏显示当前温度和测得的实际距离,蜂鸣器实现报警功能。在软件方面,本设计采用的是 C 语言进行编写程序。本文将会对设计的硬件部分和软件部分进行详细的介绍。 本设计主要能实现一定范围内的距离的测量,测量距离的设定,及时报警等功能,同时用温度补偿功能提高了整体测量的准确性。51417 毕业论文关键词:超声波测距 报警 STC89C51 温度补偿 The automotive anti-collision alarm system based onultrasonic ranging AbstractT he key of automotive anti-collision alarm system based on ultrasonic ranging isusing STC89C51 micro-controller.The design of ultrasonic ranging module is used tomeasure distance,the temperature compensation of DS18B20 can reach more accurateresult,the LCD display shows the current temperature and the actual distance,buzzercan used to alarm.In the aspect of software, this design uses the C language to writeprograms.This article will introduce both hardware part and software partdetailedly.This design is mainly to achieve distance measurement in certainrange,setting measurement range,alarm in timely and so on, at the same timemeasured with temperature compensation can improve overall accuracy. Key words: ultrasonic ranging alarm STC89C51 temperature compensation 目录 摘要.I AbstractII 目录.III 图清单.IV 表清单.IV 1绪论.1 1.1选题背景.1 2超声波基本发展史及基本原理..4 2.1超声波基本发展史..4 2.2超声波测距原理5 3系统设计及选型..7 3.1设计要求.7 3.2硬件选型7 4系统硬件设计.11 4.1单片机模块11 4.2超声波测距模块.12 4.3测温模块.13 4.4报警电路模块..14 4.5显示电路.14 4.6按键设定模块..15 5系统软件设计.17 5.1主程序流程框图..17 6总结..19 参考文献.20
致谢21 |