Ultrasonic distance measurement is a mature technology, which can obtain distance data without contact. This technology can not be affected by other factors, unlike infrared distance measurement, it will be affected by light intensity, and the measurement data is very inaccurate. So it is very important to choose the ultrasonic method to measure the distance between the vehicle and the obstacle, so as to judge whether it is at a safe distance and protect the safety of the vehicle. The distance data detected by this scheme is very accurate and accurate.The circuit inside the ultrasonic module has been completely designed, which is very convenient to use, and there is no need to design the peripheral circuit. Single chip microcomputer is the most commonly used development and design scheme at present. Single chip microcomputer can be designed by human logic, and the design idea can be run by single chip microcomputer. The memory space includes the memory speed that ROM can only read and the memory speed that ram can read and write. Timer is a very useful scheme, which can be used in timing interrupt design, convenient for use in many logic development, so that the code does not need to be complex. The emergence of single-chip computer has changed the development of Electronic Science and technology, making a lot of electronic development more simple. Through the use of single-chip computer, complex product functions can be realized in a simple way. Single chip microcomputer is used in many fields, such as automobile manufacturing, playthings, electric vehicles, intelligent hardware, industrial automation, mobile equipment and many other places. It is because of the emergence of single chip microcomputer that those intelligent products come into being.