The present invention discloses a reversing mechanism, comprising a fixed part, an input wheel, a first end transmission structure, a second end transmission structure, a transmission wheel, a driven wheel, a moving part, a
cam, a lever and a mounting wheel, wherein the input wheel is fixedly connected to the driven wheel, the transmission wheel and the driven wheel are rotatably mounted on the moving part, the first end transmission structure is meshed with the transmission wheel for transmission, and the second end transmission structure is meshed with the driven wheel for transmission; the first end transmission structure and the second end transmission structure are rotatably mounted on both ends of the moving part, respectively, the
cam and the mounting wheel are rotatably mounted on the fixed part, the lever is mounted on the
cam, the lever pushes the moving part to move up and down, so that the first end transmission structure or the second end transmission structure is meshed with the mounting wheel for transmission. When working, the external power drives the input wheel to rotate, so that the transmission wheel and the driven wheel rotate, the lever pushes the moving part to move up and down, so that the first end transmission structure or the second end transmission structure is meshed with the mounting wheel for transmission, thereby realizing the reversing function.