Aiming at the problem that it was difficult to popularize accurate garbage sorting and delivery, a kind of intelligent garbage bin that is more intelligent, efficient, and functional than the traditional garbage bin was designed and manufactured. The design was based on the STM32 minimum system implementation. The speech recognition module was used to receive the key words and identify which type of garbage the item belongs to. At the same time, a speech reminder was given, and the steering gear was driven to automatically open the corresponding type of garbage bin lid, and the sorting collection was realized. In addition, the ultrasonic distance measuring module was used to detect the residual capacity of the garbage bin in real time. When it was about to be full, the data would be sent to the background management system through the WIFI module to remind the staff to clean it up. The experimental results show that the intelligent garbage bin can effectively help people sort and put domestic garbage and prevent garbage overflow from affecting the living environment, so as to realize the service of science and technology for human beings.