Abstract In this paper, a smart trash can based on the voice control is proposed. The garbage bin takes the Microcontroller as the control core and has a voice interaction function, that is, according to the speech recognition function instruction, the obstacle avoidance can be automatically realized during the movement process, and when the capacity reaches the preset value, it can prompt people to clean up. Meanwhile, the status of all trash cans can be displayed on the LCD screen. After debugging, the design has diversified functions and fully demonstrates practicality.