Barcode 2 Click Board™
Product Code: MIKROE-4195
How Does The Barcode 2 Click Board Work? The Barcode 2 Click™ Board is based on the EM3080-W, a barcode decoder chip that delivers superior performance and solid reliability with low power consumption from Newland Auto-ID Tech. Co., Ltd. This barcode scanner module is designed to quickly scan the barcode or QRcode data, and send the information either to the host MCU or the host PC. It features an excellent near-field reading, wide-viewing angle, and snappy reading, the also offers stunning performance on decoding poor-quality and damaged barcodes. The advanced technology incorporated in the EM3080-W helps reduce its power consumption and prolong its service life. The EM3080-W scanner module uses a flat cable to connect to the Click board™, via the FPC Connector which is located on the top side of the PCB. This flat cable carries all the signals used in communication between the EM3080-W module and the host MCU, such as the RX, TX, buzzer, USB, LED, reset, and scanning trigger lines.
The Barcode 2 Click Board™ communicates with MCU using the UART interface at 9600 bps as its default communication protocol, but it is also equipped with the micro USB port; thus, it can work both as a standalone device and a standard Click board™. When the Click board™ is placed into the mikroBUS™ socket, it will be able to exchange data via the standard mikroBUS™ RX and TX pins.
Additional functionality, Reset and Scan Trigger push-buttons, are provided and routed at RST and PWM pins of the mikroBUS™ socket labeled as RST and TRG used to control the device when working as a standalone device. Both lines alongside with the EM3080-W scanner module are powered with TLV70033DDCT, low IQ LDO, which at its output gives a voltage of 3.3 V, and which at its input can receive a 5V from mikroBUS™, or can be powered from the micro USB connector. This Click board™ also features the CMT-8540S-SMT magnetic buzzer controlled by the EM3080-W used for audible signalization and notification. You can create different sound patterns using the Sound library supported in our compilers. Signal frequency determines the sound pitch, and the duty cycle determines the amplitude (sound volume).
Pressing the onboard TRIG button or pulling the PWM pin of the mikroBUS™ to a LOW logic level for at least 10ms, will trigger the barcode scan. A short beep sound and a blink of the Barcode Detection LED Indicator (GR) will indicate a successful barcode decoding and after releasing the TRIG line, the device will send the decoded information to the selected interface. The RST button is used to reset the device. Pressing the RST button or pulling the RST line to a LOW logic level for 100us to 500us will cause a device reset, followed by the greeting message sound. It should be noted that the device should not be reset too frequently; at least 2 seconds delay should exist between the reset cycles.
This Click board™ is designed to be operated only with a 5V logic voltage level. A proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with different logic levels. However, the Click board™ comes equipped with a library that contains easy to use functions and an example code that can be used as a reference for further development.
SPECIFICATIONS
Type
Miscellaneous
Applications
Can be used for a for both emerging mobile phone-based barcode applications, like coupons, e-tickets and boarding passes, and traditional applications.
On-board modules
Barcode 2 Click is based on the EM3080-W, a barcode decoder chip that delivers superior performance and solid reliability with low power consumption from Newland Auto-ID Tech.
Key Features
Low power consumption, high reliability, quickly scan, excellent near-field reading, wide-viewing angle, and more.
Interface
UART,USB
Compatibility
mikroBUS
Click board size
S (28.6 x 25.4 mm)
Input Voltage
5V
PINOUT DIAGRAM
This table shows how the pinout on Barcode 2 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
NC
1
AN
PWM
16
TRG
Scan Trigger
Reset
RST
2
RST
INT
15
NC
NC
3
CS
RX
14
RX
UART RX
NC
4
SCK
TX
13
Visit the Debug Store website for more information on Barcode 2 Click Board™