This distance measuring sensor unit consists of an integrated combination of a position sensitive detector (PSD), an infrared LED, and a signal processing circuit. It is suitable for use in cleaning robots, personal robots, and sanitary applications. The sensor features a short measurement cycle of 16.5 milliseconds and a measurement range of 4 to 30 centimeters. It provides an analog voltage output proportional to the detected distance and can also function as a proximity sensor. The device offers reliable performance for various automation and detection projects.