Official encstore Articles

Tips, Tricks, use cases

How Does Barcode Work

userArvind Katiyar   calender 10 Feb 2020 Barcode  Barcode

A barcode is used to encode information in a visual pattern understandable by a machine. They are used for a different reasons including tracking products, prices, and stock levels for centralized recording in a computer software system.

Barcode scanner normally consists of three different parts including the illumination system, the sensor and the decoder. In general, a barcode scanner scans the black and white elements of a barcode by illuminating the code with a red light, which is then converted into similar text. More exclusively, the sensor in the barcode scanner identifies the reflected light from the illumination system (the red light) and creates an analog signal which is sent to the decoder. The decoder depict that signal, validate the barcode using the check digit, and converts it into text.This converted text is deliver by the scanner to a computer software system holding a database of the maker, cost, and amount of all products sold.

The barcode is read using a laser that scans along the length of the series, reflecting more light where the label is white and less where it is black. This is where the computer starts to decode the mess. Since computers only understand the world as 0s or 1s the white sections are read as 0s and the black sections are 1s.

Barcode scanners have with a purpose to study the black-and-white zebra lines on products awfully and fast and offer that facts to a computer or checkout terminal, which can discover them speedy using a product database. Here's how they do it.

Light reflects back off barcode into a light-detecting electronic section called a photoelectric cell. White areas of the barcode reflect most light whereas black areas reflect least. Consequently because the scanner moves past the barcode, the cell generates a pattern of on-off pulses that correspond to the black and white stripes. The digital circuit attached to the scanner converts these on and stale pulses into binary digits .The binary digits are send to a computer connected to the scanner, which detects the code as 11101011.

In some scanners, there's a particular photoelectric cell and when you move the scanner head past the product (or the product past the scanner head), the cell detects each part of the black-white barcode in return. In complicated scanners, there is an entire line of photoelectric cells and the whole code is detected in a single go.In reality, scanners do not stumble on zeros and ones and bring binary numbers as their output,they stumble on sequence of black and white stripes, however convert them immediately into decimal numbers, giving a decimal wide variety as their output.