In order to make up for the shortcomings of traditional physical experiments and virtual simulation experiments, a remote control system for physical experiments based on STM32 was designed. The system uses the STM32F103RCT6 microprocessor as the control core, and provides detailed circuit diagrams for the stepper motor drive circuit, external power failure protection circuit, network communication, etc. At the same time, the underlying embedded control program of the lower computer is written, and a web operation interface is developed and designed. The successful development of the online experimental system indicates that online remote teaching based on offline real instruments is completely feasible, and this scheme ensures good consistency in online and offline experimental operations.