• Call Cognex Sales: 855-4-COGNEX (855-426-4639)

  • Contact Us
Blogs

Cognex Blogs

What are barcodes and how are they read?

what-are-barcodes

Related Products

DataMan 360

Barcode Readers

Image-based barcode readers decode 1-D and 2-D codes quickly and reliably.

Dataman 150/260 Series Optics

Fixed-mount Barcode Readers

Vision-enabled barcode readers with the ease-of-use and cost of laser scanners

Bryan Boatner, 04-12-2016

Barcodes are everywhere. They are on the side of your soda bottle, on soup can labels, printed in advertisements and engraved almost every engine part in your car. But, what are barcodes and why are they used?

A barcode is a machine-readable pattern applied to products, packages or parts. It contains data used for informational and marketing purposes as well as for tracking products throughout their lifecycle.  Barcode technology was originally patented in 1952, but it wasn’t until 1974 that the first barcode was scanned on a package of Wrigley’s gum. 

Barcodes come in dozens of different formats which fall into 2 main categories: 

1) 1-D (one-dimensional) barcodes—contain data in the horizontal direction and can hold up to 25 characters 

2) 2-D (two-dimensional) matrix codes—contain information both vertically and horizontally and can hold significantly more—up to 2,000 characters

What_are_barcodes_and_how_1 

 

 

Figure 1: Selection of 1-D and 2-D code formats

Traditionally, 1-D barcodes have been “read” by laser scanners. With this technology, a laser beam hits a rotating prism that directs the beam onto the barcode, where a sensor is used to capture the light intensity that is reflected back, distinguishing between black and white bars. This scanning method has several limitations. Laser scanners use mechanical rotating or oscillating mirrors or prisms that wear out and can easily be damaged from shock or vibration. Also, they are unable to read 2-D codes, which are increasingly used in consumer and industrial applications ranging from aerospace and automotive to food and pharmaceuticals. 

What_are_barcodes_and_how_2 

 

 

Figure 2: How a laser-based barcode reader works

Vision-enabled barcode readers are emerging as the technology of choice for many industries for two main reasons: 

1) There are no moving parts that can wear out or fail, making them ideal for industrial applications

2) They are also able to read 2-D codes ideal for industries needing to store detailed information about the product  

What_are_barcodes_and_how_3 

 

 

Figure 3: How a vision-enabled barcode reader works

To learn more about the different types of codes and how they are most commonly used, download Let’s Talk Symbology—A Guide to Decoding Barcodes

For more information on Cognex Products:

GET ACCESS TO SUPPORT & TRAINING FOR PRODUCTS & MORE

Join MyCognex

HAVE ANY QUESTIONS?

Cognex representatives are available worldwide to support your vision and industrial barcode reading needs.

Contact Us