In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .

Mi 5

[Tips] [Device Team] [Tech Class] Chapter 24: All About Barcodes

2017-08-13 15:06:39
11084 154

Hope you guys are having loads of fun here on MI Community. In the last tech class thread you learnt about SENSORS used in smartphones. In this tech class we are going to give you some usefull information about barcodes.


When you purchase any products from a retail stores or shops, you will find a set of lines aligned with varied thickness and spaces affixed on the package. These are called Barcodes.
A Barcode is a optical, machine-readable representation of data, which describe ssomething about the product which carries barcode. A barcode is a small image of lines and spaces that is affixed to retail store items, identification cards, product number and many more. Barcodes are applied to products as means of quick identification.

A Barcode essentially is a way to encode information in a visual pattern, which can onlybe readable by machines. The combination of black bars, other 2d characters along with spaces represents different text characters which follow a set of algorithm for that barcode type. A barcode can hold any type of information you encode.

One dimensional or 1d barcodes are the first kind of barcodes came into existence. They represent data by varying the width of black lines and spaces. UPC and EAN barcodes comes under 1d barcodes.

UPC codes
Universal product codes which found on nearly every retail product, these barcodes were originally created for grocery stores to provide quick receipt printing and inventory tracking.

EAN codes
International Article Number are the 13 digit barcodes which are mainly used by book sellers,libraries and universities.

These are the types of barcodes which contains 2d characters. In 2d barcodes information will be encrypted using geometrical figures such as rectangles, dots, hexagons and other geometric patterns. 2d barcodes are more complex as they organize information vertically and horizontally which allows them to store more information than the 1d barcodes.


It is a two dimensional barcode consisting of black and white cells arranged in sqare or rectangular shape, which can encode large information in a very small space, So this makes it very popular in electronics manufacturing and healthcare.

QR CODES(QuickResponse Code)
Qr code is the trademark for a type of matrix barcode first designed for the automotive industry in Japan. A QR code consists of black squares arranged in a square grid on a white background. These are the popular barcoding which serves as marketing tools to link to web based information.


This stacked, linear 2d barcodes can be found in many types of identification suchas your driving licenses. It is also the chosen standard by the USPS and department of homeland security due to its advanced capabilities such as encoding links to more than one data file.

Barcodes are scanned using barcode scanners with the use of a class 2 lasers which are not harmful.
A barcode scanner picks up the alternating white and black elements of the barcode which follow a specific algorithm that is turned into a corresponding text string by the scanner. Nowadays smartphones are equipped with features to read barcodes.


1. Abarcode scan is fast and reliable
2. It takesinfinitely less time than entering data by hand.
3. Barcodesare inexpensive to design and print.
4. They canbe customized economically, in a variety of finishes and materials
5. barcodesare extremely versatile. Thet can be used to store any kind of data.
6.Barcodesmake it possible to track inventory so precisely, which gaves control overinventory.

In Case You are missed any tech class thread!

        Special Thanks to my mentor @Paramgagan

Is this Tech Class helpful to you ?

Single Poll thread Total 108 Users Voted
87.04% (94)
12.96% (14)


Number of participants 4 Experience +12 Pack Reason

View Rating Log

2017-08-13 15:06:39
Favorites93 RateRate

Grandmaster Bunny

Singhboy | from Redmi Note 3


nice information
2017-08-14 23:13:02

Master Bunny

HK2815 | from mobile


Nice information
2017-08-14 23:15:25

Master Bunny

PriyaSaran | from Redmi 4A


Nice thread
2017-08-14 23:16:40

Pro Bunny

CENA | from Redmi 3S


good tech info
2017-08-14 23:27:53

Grandmaster Bunny

Ashoks | from Redmi 3S


Nice information
2017-08-14 23:28:27

MIUI Beta Tester

AamanMahi | from Redmi Note 3


Thanks for this awesome information
2017-08-14 23:31:21
Mi4i and Redmi Note 3 Global Beta Tester.....

Master Bunny

Balaji##33 | from Redmi Note 4


nice thread....
2017-08-14 23:40:02

Pro Bunny

Sumit Bikram | from Mi 4i


nice information
2017-08-14 23:48:12

Grandmaster Bunny

Er Shub Bhagat | from Redmi Note 4


thanks for shearing this knowledgeable thread
2017-08-14 23:48:24

Pro Bunny

ABHISHEK KUMAR@ | from app


nice information
2017-08-14 23:52:28
please sign in to reply.
Sign In Sign Up

Manuraj Gowda

Pro Bunny

  • Followers


  • Threads


  • Replies


  • Points


Mi Explorers
July-100 replies in a month
Aug-100 replies in a month
Sep-100 replies in a month
Oct-100 replies in a month
1st Anniversary

Read moreGet new
Copyright©2010-2020, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list