The results of development of an adjustment block for regulating the angular position of output mirror of a lidar in a semi-automatic mode are presented. The possibility of implementing an adjustment block using economical, widely used electronic components, such as an Arduino board and stepper motors, as well as 3D-printed mounting components, is shown. Appropriate software was developed to control this unit. The program for the automatic formation of a tuning curve of the laser with parametric generation of light and the program for the automatic measurement of the dependence of the pulse energy on the generation wavelength was developed.