The invention discloses a special-shaped workpiece detection device, which comprises a mechanical arm, a transferring box, a plurality of ultrasonic sensors, a weighing sensor, a motor, a screw rod, aslide rod, a
buzzer, a display screen, a
key switch, a single-
chip microcomputer, a
power module and a frame. The slide rod is mounted at the upper end of the frame, and one end of the slide rod is mounted on the frame through a rail while a nut matched with the screw rod is mounted at the other end of the slide rod. The ultrasonic sensors are mounted on the slide rod, and each ultrasonic sensoris connected with the single-
chip microcomputer. The motor is fixed to the frame and connected with the single-
chip microcomputer. The screw rod is mounted on the frame through a bearing, fittingly connected with the nut at one end of the slide rod and connected with an output end of the motor through a belt. The weighing sensor is mounted at the bottom end of the frame and connected with the single-chip microcomputer, and the transferring box is placed on the weighing sensor. The
buzzer, the display screen, the
key switch, the single-chip microcomputer and the
power module are mounted on theframe. The mechanical arm, the
buzzer, the display screen, the
key switch and the
power module are all connected with the single-chip microcomputer.