The smart trash can is composed of an IC chip/infrared sensor detection device/power supply device and a mechanical transmission part. The lid part of the smart trash can can be set on the body of the trash can to complete the device and use, and the operation is very convenient.