SparkFun
SparkFun 2D Barcode Scanner Breakout
The SparkFun 2D Barcode Scanner Breakout features the DE2120 camera-based scanner module, capable of reading 20 different barcode symbologies — from UPC and ...
Get notified when back in stock
The SparkFun 2D Barcode Scanner Breakout features the DE2120 camera-based scanner module, capable of reading 20 different barcode symbologies — from UPC and QR codes to Data Matrix and PDF 417. Onboard image processing handles decoding automatically, with illumination and aiming LEDs built in.
The breakout exposes the scanner's USB interface via a USB-C connector (HID keyboard, virtual COM port, and CDC serial all over one cable) and provides a 5-pin TTL serial header for embedded integration. A buzzer, status LED, and trigger button are included on the board. Configuration is done via serial commands or by scanning barcodes from the settings manual.
Key Features
- 20 Barcode Symbologies – 1D (UPC-A/E, EAN-8/13, Code 128, Code 39, QR, and more) and 2D (QR Code, Data Matrix, PDF 417, Aztec)
- USB-C Interface – HID keyboard, virtual COM port, and CDC serial over one connector
- TTL Serial Header – 5-pin header for embedded microcontroller projects
- Onboard Trigger Button – Tactile switch for manual scan activation
- Buzzer & Status LED – Audio and visual scan confirmation
- Configurable – Via serial commands or by scanning setting barcodes
Supported Symbologies
- 1D: 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: QR Code, Data Matrix, PDF 417, Micro PDF 417, Aztec Code
Ideal For
- Point-of-sale and inventory systems
- Embedded barcode reading projects
- QR code and ticket scanning
- USB HID barcode input to any computer
Package Contents
- 1× SparkFun 2D Barcode Scanner Breakout (DE2120)
Resources
Jargon buster
Plain-language definitions for the technical terms used above.
- breakout
- A breakout board carries a small or fine-pitched component and brings its connections out to standard, breadboard- and header-friendly pins. Describing a part as a breakout means it can be wired into a project without soldering directly to the component's tiny contacts.
- COM port
- A COM port is how a computer (chiefly under Windows) presents a serial port to software, whether a physical RS-232 port or a virtual port created when a USB-to-serial device is plugged in. Software can then communicate with the connected device over serial using a terminal or configuration program.
- HID
- Human Interface Device is a USB device class used for keyboards, mice, gamepads and similar controls. If a board supports HID over USB, it can act like an input device to a computer without needing a custom driver.
- LED
- A light-emitting diode (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
- microcontroller
- A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
- TTL serial
- A simple serial data connection that uses microcontroller logic-level voltages (typically 3.3 V or 5 V) rather than the higher, inverted voltages of computer RS-232. When a device lists TTL serial, it can usually wire straight to a microcontroller's UART pins or to a USB-to-TTL serial adapter, but it needs a level converter before connecting to a true RS-232 port.
- USB-C
- USB-C is a small, reversible USB connector that can carry power, data and, on some devices, video over a single cable. The same connector can range from charging only to high-speed data, so the functions a given port actually supports vary.
Find this product in
Sensors & Input
2D Barcode Scanner Breakout Schematic
Schematic · 90.7 KB · Click any page to view full size
DE2120 Barcode Scanner Datasheet
Datasheet · 783.9 KB · Click any page to view full size
DE2120 Settings Manual
User Guide · 4.0 MB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 696.2 KB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Source Code
Open-source libraries, firmware & example projects for this product
Arduino library for controlling the DE2120 2D Barcode Scanner over serial
4db7605
over 2 years ago
· 27 commits
- .github Create add_issue_to_project.yml over 2 years ago
- barcodes Release v1.1.0 about 6 years ago
- examples Update pin connections about 5 years ago
- src Fix disableAll2D() function about 5 years ago
- keywords.txt A little cleanup resulted in v1.2.0 about 6 years ago
- library.properties Update version number about 5 years ago
- LICENSE.md Create LICENSE.md over 6 years ago
- README.md Updating README about 5 years ago
abcdae7
about 5 years ago
· 16 commits
- docs Update requirements.txt about 5 years ago
- examples readthedocs files and push to py pi server about 5 years ago
- .gitignore Initial commit about 5 years ago
- .readthedocs.yml readthedocs files and push to py pi server about 5 years ago
- de2120_barcode_scanner.py Clean up code and examples of debug prints, todo's, and extra comments about 5 years ago
- DESCRIPTION.rst readthedocs files and push to py pi server about 5 years ago
- LICENSE readthedocs files and push to py pi server about 5 years ago
- README.md Update README about 5 years ago
- setup.cfg readthedocs files and push to py pi server about 5 years ago
- setup.py readthedocs files and push to py pi server about 5 years ago
c13ae55
about 5 years ago
· 24 commits
- Documentation Update SPX design for reds about 5 years ago
- Hardware Update 2DBarcodeScanner.zip about 5 years ago
- .gitignore Initial commit over 5 years ago
- License.md Initial commit over 5 years ago
- README.md Update README about 5 years ago
Related Tutorials
Free guides on learn.littlebird.com.au