Detector is an important part of parking space guidance system. Using the working principle of ultrasonic ranging, it collects real-time parking space data of parking lot, controls the display of parking space indicator light, and transmits parking space information to node controller in time through 485 network. The detector consists of a detector main body and a detector bracket. The main devices on the detector body include ultrasonic probe, stop light connecting wire, power supply, 485 network connecting wire, detection distance setting jumper, 485 communication indicator lamp and stop information indicator lamp. Based on the working principle of ultrasonic ranging, the measured distance is measured by non-contact measuring instrument by using the time difference after ultrasonic emission, reflection of the measured object and echo reception. The use of advanced ultrasonic detection methods will not cause the problem of false alarm caused by the change or interference of the external environment, like the use of infrared and microwave detection methods. The alarm distance can be set flexibly. When the vehicle is in place and the measured distance is less than the preset distance, an LED light signal is generated, and the vehicle arrival information is sent to the controller through the RS-485 interface.