The utility model discloses a consumable detection device for a 3D printing extruder. The consumable detection device comprises a printing head shell, a wire extruding channel is vertically formed in the inner side of the printing head shell in a penetrating mode, and a detection channel, an adjusting groove and a square groove are formed in the inner side of the printing head shell. The inner wall of the detection channel is fixedly connected with a first fixing shaft and a clamping block. Through an innovative mechanical conduction structure, when the
consumables are inserted from the top, the balls are pushed and eject the deflector rod, so that the distance between the
magnet block on the deflector rod and the Hall sensor is changed, the entry state of the
consumables is detected in real time, and meanwhile, the detection accuracy is improved. The Hall sensor can accurately sense the actual
diameter of the
consumables according to the difference of the shifting distance of the shifting rod caused by small change of the diameters of the consumables, real-time accurate control over the
extrusion flow is achieved in combination with the driving motor and the transmission gear set, and the problem that in the prior art, the
extrusion amount is unstable due to uneven diameters of the consumables is solved; and the consistency of printing quality is obviously improved.