The position of a 40 mu m wide by 400 mu m long cantilever in a microscope was detected by a 32 lines array of I D amorphous silicon position sensitive detectors (PSD). The sensor was placed in the ocular used for the CCD camera of a microscope and the alignment, focusing and positioning of the cantilever was achieved using the X-Y-Z translation table of the microscope that has a micrometer resolution controller. In this work we present results concerning the micro positioning of a cantilever and its holding structure through the reflected light that is detected by 1D/3D psd and converted to an analog signal proportional to the movement. The signal given by the 32 sensor array was analyzed directly without any electronic readout system or data algorithm. The obtained results show a linear behavior of the photovoltage relating X and Y movement, a non-linearity less than 2% and spatial resolution of 600 mu V/mu m.