The utility model relates to the field of measuring mechanisms, and particularly discloses a measuring mechanism for automatically measuring the height of UV glue, which comprises a main control computer, a conveying belt, a mounting bracket, an
infrared sensor, a lifting mechanism and a digital display meter, the digital display meter comprises a telescopic measuring rod, and the lifting mechanism drives the digital display meter to lift. The measuring mechanism realizes
automation, and the detection efficiency is high; after the lifting mechanism falls down, the measuring rod of the digital display measuring tool has a large lifting allowance, so that the error of the
reciprocating motion of the lifting mechanism can be counteracted. When the measuring mechanism is installed, a corner connector used for hanging a digital display meter and a clamp used for clamping a pcb are designed. During specific measurement, the bottom of the measuring rod falls to the side of the uv glue
coating position in advance, the spare position of the pcb is selected as a
reference surface, when the pcb continues to advance, the uv glue
coating position starts to support the measuring rod, then the measuring rod falls back, and the height of the uv glue
coating position corresponding to the difference value of two height data is displayed.