SparkFun 2D Barcode Scanner Breakout

The SparkFun 2D Barcode Scanner Breakout is a nifty little breakout board featuring the DE2120 barcode scanner module from DYScan. The DE2120 reads 20 different barcode symbologies (both 1D and 2D) using a camera coupled with on-board image processing to identify and decode everything from UPC codes to QR codes. The module also features two LEDs: one for illumination and one to project the red line that you're used to seeing from laser-based scanners.

This breakout board makes it easy to explore all of the capabilities of the DE2120 without dealing with finicky flat flex cables. The scanner's USB interface is exposed via the on-board USB-C connector. A buzzer and status LED are connected to the module through appropriate drive circuits and a push button tactile switch is provided on the "trigger" pin. When you're ready to incorporate the module into your embedded project, you can leverage the 5 pin header for direct access to the TTL serial pins, power pins, and trigger input.

The module can be configured either by using the serial interface or by scanning command barcodes found in the Settings Manual.

All keyboard, HID, and serial can be transmitted over the single USB-C connector. The DE2120 has the unique ability to enumerate all three protocols including a CDC serial driver so the device appears as a standard COM port.

  • USB-C Connector for USB HID Interface and Virtual COM port
  • Reads 20 different symbologies
    • 1D Symbologies
      • UPC-A
      • UPC-E
      • EAN-8
      • EAN-13
      • Code 128
      • GS1-128
      • Code 39
      • Code 93
      • Code 11
      • Interleaved 2-of-5
      • Matrix 2-of-5
      • Industrial 2-of-5
      • Codabar
      • MSI
      • GS1 DataBar
      • Datalogic 2-of-5
    • 2D Symbologies
      • QR Code
      • Data Matrix
      • PDF 417
      • Micro PDF 417
      • Aztec Code

SparkFun 2D Barcode Scanner Breakout Product Help and Resources

2D Barcode Scanner Breakout Hookup Guide

May 27, 2021

A quick Hookup Guide to get you started with the SparkFun 2D Barcode Scanner Breakout.

Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

3 Programming

Skill Level: Competent - The toolchain for programming is a bit more complex and will examples may not be explicitly provided for you. You will be required to have a fundamental knowledge of programming and be required to provide your own code. You may need to modify existing libraries or code to work with your specific hardware. Sensor and hardware interfaces will be SPI or I2C.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • ieatlint / about 3 years ago / 1

    Works great! Does a really good job reading any type of barcode I've thrown at it, including ones on phones. I don't have to struggled to read them, and it's very easy to align the camera with barcodes thanks to the projected light.

    Sadly though, one undocumented limitation is that the buffer appears to be limited to 1020 bytes -- at least in USB-KBD and USB-COM modes. I haven't tested serial yet, but doubting it'd be different. If you attempt to scan a barcode with more than 1020 bytes, it appears to succeed, but instead replays the last actual successful scan. So it's also not possible to programmatically detect failed scans due to this.

    Given that I purchased this to read the Smart Health Card QR codes, which are ~1.5k, it's an unfortunate limitation that I wished I knew prior to purchasing.

Customer Reviews

4.3 out of 5

Based on 3 ratings:

Currently viewing all customer reviews.

So far, real good!

The bar code reader does exactly as advertised and is easy to configure. We are hoping it will be the answer to our current project. All initial testing was positive, but we are building it into our demo today and tomorrow. The trigger function and USB configurations have been very beneficial.

Exactly what I was looking for.

Wonderful price, full docs, code examples to control this with a Pi. Highly recommend it.

solid barcode reader. Good form factor

USB-C connector keeps the footprint small Great price