This paper introduces an intelligent garbage-handling trolley model based on an STM32 single chip microcomputer as the control core. The device is driven by four independent motors to achieve automatic tracking, automatic obstacle avoidance, and fixed-point docking. Using external execution structure to realize the car without the use of a mechanical arm, complete garbage collection, storage, and uninstall function. On this basis, the type of garbage is marked by color, and the color recognition sensor is applied to realize the type recognition after garbage collection and put into the corresponding unloading point, to realize its intelligent classification function. It can automatically complete the established task autonomously.