The invention discloses an automatic weeding device based on the joint operation of a drone, which includes a drone, a connecting device, and a weeding mechanism. The weeding mechanism includes a processor, a driving device, a first navigation device, a repelling device, a roller blade, and wheels The first navigation device is connected with the processor and is used to set the walking route of the weeding mechanism, the expelling device is connected with the driving device, and is used to expel living things close to the weeding mechanism, and the roller blade is connected with the driving device through a transmission mechanism, and is used for cutting weeds. Grass, the wheels are connected to the driving device to drive the weeding mechanism to walk, the drone includes a first camera, a second camera and a second navigation device, the first camera is connected to the processor, and is used to shoot the picture below the drone and Send to the processor, the second camera is connected with the processor, and is used to take pictures above the UAV and send it to the processor, and the second navigation device is connected with the processor, and is used to set the flight route of the UAV.