A code scanner is a machine that reads bar code information. Use infrared light source, then decode it with chip according to the reflection result, and finally return the correct characters represented by bar code.
Static code analysis principle of code scanner is as follows:
Bar code is a combination of black and white lines, and barcode scanner judges the width of bar code by the difference of infrared reflection between black and white. There are sensors in barcode scanner, which will generate different voltages according to the intensity of reflected light, and then generate logical data.
The logic signal received by the barcode scanner can generate digital data according to the coding rules.