The present invention relates to the field of
code reading technology, and in particular to a
code reading device. It comprises a conveying base, the conveying base is fixedly connected with a bracket, the bracket is fixedly connected with a code reader, the conveying base is fixedly connected with a
fixed frame, the
fixed frame is ball-connected with a swing frame, a first elastic element is arranged between the
fixed frame and the swing frame, the fixed frame is fixedly connected with a fixed ring, the fixed ring is sealingly and rotatably connected with an inner ring, and the two cooperate to form a first
closed cavity, the inner ring is fixedly connected with a push cylinder, the push cylinder is connected with an adjacent first
closed cavity, the push cylinder is sealingly and slidably connected with a first
piston shaft, and a second elastic element is arranged between the push cylinder and the adjacent first
piston shaft. The present invention drives the swing frame to tilt through two first
piston shafts, so that the sliding frame and the sliding column drive the cigarette box to tilt synchronously, thereby changing the code reader's reading angle of the
barcode on the cigarette box.