This project primarily deals with the matter of the microcontroller ultrasonic transmitter and receiver. By counting the time difference between the ultrasonic transmitting and receiving, the measured distance is calculated.
This article focuses on the formation of the system, the circuitous philosophy, and the program design. The system consists of a AT89C52 MCU, ultrasonic transmitter circuit, ultrasonic receiver circuit and show circuit. 10mm-700mm. Measurement The paper also analyzes the major cause of the error in ultrasonic ranging.
The circuit design is reasonable, the system works stably, and performs well. The calculation is simple and the whole system is easy to do real-time control. Slight modification can be applied to automotive radar systems.