The utility model provides a code
scanner with a stepless
angle modulation hovering function, which comprises a head
assembly, a base, a pressing plate, a rotating shaft and a
gasket, a first cavity with a semicircular section is arranged in the base, the pressing plate is arranged in the base, a second cavity with a semicircular section is arranged on the pressing plate, and the rotating shaft is arranged in the second cavity. The first cavity and the second cavity are matched to form a mounting cavity with a
circular section, and the rotating shaft is arranged in the mounting cavity; and the
gasket is arranged on the inner wall of the second cavity and is in damping fit with the rotating shaft. An adjusting hole is formed in the top side of the base and communicates with the first cavity. A connecting support is arranged at the bottom of the head
assembly, penetrates through the adjusting hole and is connected with the rotating shaft. The code
scanner is simple in structure and convenient to manufacture, an adjustable stepless hovering structure is formed through damping cooperation of the
gasket and the rotating shaft, the head
assembly can stably stay at any angle within an allowable range, the
fixed angle limitation of a traditional code
scanner is broken through through the design, and the multi-scene flexible adjustment requirement can be met.