A complete control system for the elevator balancing chain length measuring equipment was designed with STM32F103 as the main controller and Wirunton MT6103iq as the man-machine interface. The voltage signal of the linear displacement sensor was detected to judge the range of the friction force, and the speed of servo motor can be adjusted in real time with fuzzy control algorithm, then the measurement error can be compensated. The pulse signal of encoder was detected and transformed into length, and displayed on touch screen in real time. The measurement error was controlled within 0.1%.