Abstract
The laser marking control system based on STM32 microprocessor is designed. Combined with the advantages of high efficiency and low cost of embedded control system, the overall scheme design is described and the peripheral hardware and the underlying driver are analyzed and designed. The microprocessor controls the switch of the laser by receiving the marking data sent by the upper computer via USB, and at the same time, the simulated galvanometer control protocol (XY2-100) controls the scanning of the galvanometer. SDRAM is used to enhance the data storage and processing capacity of the microprocessor. In order to improve the security and reliability of data, symmetric encryption algorithm is designed. After testing, the designed system meets the requirement of actual marking precision and has good practical value.