Abstract:Aiming at the problem of weighing accuracy and low efficiency caused by irregular shape and uneven quality of weighing objects, an embedded multi-function combination scale control system based on STM32 single-chip microcomputer was designed and developed. The system introduces a modular design concept and adopts distributed control. The hardware is standardized on the power module, main control module, AD data acquisition module and stepper motor drive module of the system. The software aspect improves the efficiency and yield of the combination by establishing nested functions and optimizing the combination algorithm. After field test, when the combined speed is controlled within 0.5%/min, the error can be controlled within 0.5% to achieve the desired effect.