This study designs and realizes the solar-thermal experiment system based on STM32. It introduces the structure and function of the system as well as the design of hardware and software of the system terminal. It analyzes the operation principles and circuit structures of the functional circuits in the solar-thermal experiment system, which consists of the temperature sensor PT1000 modulation circuit, AD conversion and isolation circuit and artificial light dimmer circuit unit. The paper proposes an architecture multitasking software system, using the least squares fitting method for piecewise linearization of the measured temperature data, and introduces the error evaluation principle to determine the best suitable for PT1000 correction equation. The related technology has been applied to solar-thermal experimental teaching system of New Energy Engineering Center of Fujian Normal University. The application shows that the terminal performance indicators meet the design requirements.