In terms of the dropping function of the intelligent garbage can, two steering gears are innovatively used to control the left and right and up and down movement of the tray: by moving left and right, the garbage is carried to the top of the corresponding garbage collection box; Dump garbage automatically and accurately by moving up and down. Full-automatic release is the most important function of this work, and also the biggest innovation. It has initially realized the full automatic process from "throwing" to "classifying" and then to "precise dropping" of individual garbage. If similar functions are added to the teaching project, it can not only innovate the functions of the project, but also more fit the actual needs, and help students further experience the convenience of artificial intelligence technology to life.