Barcode scanners are usually called bar code scanners or barcode readers. They are devices used to read the information contained in barcodes. They can be divided into one-dimensional and two-dimensional barcode scanners.
Barcodes are composed of black and white lines, and barcode scanners use infrared light sources that emit infrared light to determine the width of the barcodes based on the difference in the degree of reflection of infrared light by black and white. There is a sensor in the barcode scanner, which will generate different voltages according to the intensity of the reflected light, use the chip to decode, and finally return the correct character represented by the barcodes.