基于单片机的汽车防撞系统 Automobile anti-collision system based on single chip microcomputer 中文摘要汽车作为世界上最重要的交通使用工具,它不单单只是需要能行驶的工具,更要注重其安全性。现在已经有许多的汽车行驶安全系统,这样的系统最重要的是发生事故前能提前预警,这样就需要测距传感器,测量与障碍物的距离,并可以提醒驾驶者。司机若被提前示意有危险,就可以避免大多数的交通意外,减少人员的伤亡。本论文完成了几个方面的工作:研究汽车防撞系统在国内外的研究情况和发展历程,分析了该系统的需求,提出了基于 STC89C52 的汽车防撞系统;构造出系统总体结构,在本系统中对相关传感器的原理和特性进行了介绍;具体实现了在汽车前进时对前方障碍物的检测,与障碍物距离到一定值时发出警告并躲避障碍的功能和显示速度、里程等功能。关键词:防撞系统 传感器 警报AbstractAs the most important transportation tool in the world, cars not only need tools that can be driven, but also pay attention to their safety. There are already many car driving safety systems. The most important thing of such a system is to give early warning before an accident occurs. In this way, a distance measuring sensor is needed to measure the distance to obstacles and to remind the driver. Drivers can avoid most traffic accidents if they are signaled as dangerous in advance. This paper has completed several aspects of work: study the research and development history of automobile anti-collision system at home and abroad, analyze the needs of the system, and propose the automobile anti-collision system based on STC89C52; construct the overall structure of the system. The principle and characteristics of the relevant sensors are introduced in the system; the specific detection of obstacles in front of the car when it is moving forward, the function of warning and avoiding obstacles when the distance to the obstacle reaches a certain value, and the functio...