In this paper, an ultrasonic target detection system based on Piezoelectric Micromachined Ultrasonic Transducers (PMUTs) is proposed, which consists of the PMUTs based ultrasonic sensor and the sensor system. Two pieces of 3 × 3 PMUTs arrays with the resonant frequency of 115 kHz are used as transmitter and receiver of the PMUTs-based ultrasonic sensor. Then, the sensor system can calculate the target’s position through the signal received by the above receiver. The static and dynamic performance of the proposed prototype system are characterized on black, white, and transparent targets. The experiment results demonstrated that the proposed system can detect targets of different colors, transparencies, and motion states. In the static experiments, the static location errors of the proposed system in the range of 200 mm to 320 mm are 0.51 mm, 0.50 mm and 0.53 mm, whereas the errors of a commercial laser sensor are 2.89 mm, 0.62 mm, and N\A. In the dynamic experiments, the experimental materials are the targets with thicknesses of 1 mm, 1.5 mm, 2 mm and 2.5 mm, respectively. The proposed system can detect the above targets with a maximum detection error of 4.00%. Meanwhile, the minimum resolution of the proposed system is about 0.5 mm. Finally, in the comprehensive experiments, the proposed system successfully guides a robotic manipulator to realize the detecting, grasping, and moving of a transparent target with 1 mm. This ultrasonic target detection system has demonstrated a cost-effective method to detect targets, especially transparent targets, which can be widely used in the detection and transfer of glass substrates in automated production lines.