There has been some implementation using image recognition to do garbage classification, but the material of garbage is a major difficulty in image recognition. This research is a smart trash can identifying the type of garbage based on the sound made by the garbage. The sound is recorded by the microphone, and the Raspberry Pi is used as a control center, supplemented by hardware devices such as servo motors and ultrasonic sensors. Lastly, the Convolutional Neural Networks (CNN) model, built-in the Keras machine learning kit, is used to complete the classification. Moreover, a cloud database, Firebase, is used to record the current amount of garbage, and it alerts users when the amount of garbage reaches the threshold.