This paper describes the working principle of the STM32 drive OLED screen, design of the hardware circuit, program the software.English characters and numbers can be displayed on the OLED display.Graphics can display by font generation software at the same time.The design is especially suitable for the design of instrument and meter.It has a certain practical value.