1、I 数字超声波倒车测距仪设计 学生:XX 指导教师:XX 内容摘要:在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件 来使用。单片机是把主要计算机功能部件都集成在一块芯片上的微型计算机。它是一种集计 数和多中接口于一体的微控制器。而 52 单片机是个单片机中最为典型和最有代表性的一种。 本设计主要应用 AT89C52 作为控制核心,与显示器,驱动电路等相结合的系统。基于单 片机设计。利用单片机 AT89C52 作为报警装置的控制器,能充分发挥 AT89C52 的数据处理和 实时控制功能而设计的数字超声波倒车测距仪。使系统工作于最佳状态,提高系统的灵敏度。 其优点是体积小、使
2、用方便、硬件电路简单,软件功能完善,控制系统可靠,具有一定的使 用和参考价值。若将安全距离设为 0.5m,就可作为汽车倒车报警器,提高汽车倒车时的安全 性。 该数字超声波倒车测距仪利用超声波实现对汽车的测距。利用单片机的实时控制和数据 处理功能完成系统的控制。文章给出了测距仪的硬件电路原理及软件设计。 关键词:AT89C52 超声波 测距仪 II The design of Digital ultrasonic Reverse rangefinder Abstract: In the application system of single-chip microcomputer of real
3、-time detection and automatic control, the single-chip microcomputer always be used as a core components. The single-chip microcomputer is a microcomputer which collect all the important computer components to a chip.It is a kind of micro controller which contains count and varieties of interface. H
4、owever, the 52 single-chip is the most typical and representative one of all the single-chip. This design is mainly taking AT89C52 as the control core, it is a system of connecting monitor, drive circuit etc. According to the design of the single-chip, using AT89C52 as the controller of alarm device
5、 will fully develop the function of data processing and real-time control of AT89C52. This kind of single-chip ensures the best condition and arises the sensitivity of the system. The merit of this single-chip is the small volume, convenience, simple hardware circuit, perfect software functions, the
6、 Control system is reliable,as well as the value of using and reference. If the safety distance is 0.5m, the single-chip may be setted as the reverse alarm and the safety will be improved. This digital ultrasonic reverse rangefinder uses ultrasonics to finish the test of the distance of vehicles. Completing the control of the system with real-time detection and the function of data processing. This essay is mainly talking about the hardware circuit principle and the software design of rang