Mikroelektronika d.o.o.
Barcode Click Board
Barcode Click Board
Couldn't load pickup availability
The Barcode Click Board™ is a very fast and agile barcode scanner on a Click Board™, which is compliant with a wide range of different 1D and 2D barcode protocols. The barcode scanner module is equipped with the micro USB port; thus, it can work both as a standalone device and a standard Click Board™, which communicates with the MCU via the RX, TX, RST and PWM pin of the mikroBUS. The barcode module has two red LEDs, used to illuminate the area in low light conditions.
Also, the Barcode Click Board™ features two pushbuttons, used to control the device when working as a standalone device.
![Mikroelektronika d.o.o. MIKROE-2913 Barcode Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-barcode-click-board-30264722849981.jpg?v=1685208714&width=1445)
![Mikroelektronika d.o.o. MIKROE-2913 Barcode Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-barcode-click-board-30273667268797.jpg?v=1685199712&width=1445)
![Mikroelektronika d.o.o. MIKROE-2913 Barcode Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-barcode-click-board-30264682873021.jpg?v=1684985687&width=1445)
![Mikroelektronika d.o.o. MIKROE-2913 Barcode Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-barcode-click-board-29647370846397.jpg?v=1685111323&width=1445)
The Barcode Click Board™ is a very fast and agile barcode scanner on a Click Board™, which is compliant with a wide range of different 1D and 2D barcode protocols. The barcode scanner module is equipped with the micro USB port; thus, it can work both as a standalone device and a standard Click Board™, which communicates with the MCU via the RX, TX, RST and PWM pin of the mikroBUS. The barcode module has two red LEDs, used to illuminate the area in low light conditions. Also, Barcode Click Board™ features two push buttons, used to control the device when working as a standalone device.
The barcode scanner module used for the Barcode Click Board™, is the LV3296 made by Rakinda company, a compact barcode scanner module armed with the Rakinda patented UIMG® technology, designed to quickly scan the barcode and send the information either to the host MCU or the host PC. It also features an onboard speaker, used for signalization. These features make Barcode Click Board™ an ideal solution for fast and accurate scanning of various types of barcodes.
How Does The Barcode Click Board™ Work?
The LV3296, a compact integrated barcode scanner from Rakinda company, is the main component of Barcode Click Board™. This is the advanced barcode scanner/reader module which features the patented UIMG®, a computerized image recognition system technology that supports all mainstream 1D and standard 2D barcode types (for example - PDF417, QR Code M1/M2/Micro and Data Matrix) as well as GS1-DataBar(RSS) (Limited/Stacked/Expanded versions). It can read barcodes on virtually any medium, including paper, plastic, mobile phones, LCD displays, etc. Thanks to the used area-imaging and UIMG® technologies, the device is able to scan barcodes rotated to any angle, with great speed and precision.
The LV3296 scanner module uses a flat cable to connect to the Click Board™, via the ZIF FPC connector on the back side of the PCB. This flat cable carries all the signals used in communication between the LV3296 module and the host MCU, such as the RX, TX, buzzer, USB, interrupt, reset, and scanning trigger lines.
The communication with Barcode Click Board™ is done by utilising two types of connection it offers - UART (TTL232) and USB. When the Click Board™ is placed into the mikroBUS socket, it will be able to exchange data with the UART module of the MCU, via the standard mikroBUS RX and TX pins.
When the USB cable is connected to the micro USB port on the Click Board™ itself, it can be identified either as the virtual USB port, a HID keyboard device or an HID POS device. HID devices do not require any special PC drivers, while the virtual USB device does.
Many options and parameters of the Barcode Click Board™ are configurable. Barcode Click Board™ configuration is very easy and intuitive - it is enough to read special configuration messages, encoded into barcodes that can be found in the LV3296 user's guide. It is not even necessary to print them on paper - it is enough to show them on screen and scan them from there. Enter Setup message should be scanned first, followed by the desired configuration message. After successful configuration indicated by a short beep sound, the Exit Setup message should be scanned. The device features a very extensive set of encoded configuration commands, which include storing and recal of user default values, along with the factory defaults.
When the Barcode device is first powered up, it will sound a greeting message, which indicates the successful initialization. The device is now ready to scan. Pressing the onboard TRIG button or pulling the PWM pin of the mikroBUS slot to a LOW logic level for at least 10ms, will trigger the barcode scan. It will turn on two LEDs and project a circle shaped aiming pattern on the surface it is aimed at, scanning it for a valid barcode. Both LEDs and the aiming pattern can be turned off in the configuration. A short beep sound and a blink of the Good Read indication onboard LED (GR) will indicate a successful barcode decoding and after releasing the TRIG line (configurable), the device will send the decoded information to the selected interface. Barcode Click Board™ can report errors, with a distinctive error message sound - e.g. when the device is configured to use onboard micro USB, but it is not connected to the host USB device, it will sound an error if scanning is attempted.
The RST button is used to reset the device. Pressing the RST button or pulling the RST line, routed to the mikroBUS RST pin 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.
Note: Barcode Click Board™ is powered only with 3.3V from the mikroBUS thus it is not able to work with the MCUs and systems which work on 5V.
SPECIFICATIONS
Type | Miscellaneous |
Applications | An ideal solution for fast and accurate scanning of various types of barcodes. |
On-board modules | LV3296 made by Rakinda company, a compact barcode scanner module armed with the Rakinda patented UIMG® technology |
Key Features | Fast and accurate scanning of a wide range of 2D and 3D bar code types, can work in a standalone mode via the mikroUSB connector, integrated aim and illumination LEDs |
Interface | UART,USB |
Compatibility | mikroBUS |
Click Board™ size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout on Barcode Click Board™ 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 | Scanning trigger | |
Reset for LV3296 | RST | 2 | RST | INT | 15 | NC | |
NC | 3 | CS | RX | 14 | RX | UART data receive | |
NC | 4 | SCK | TX | 13 | TX | UART data transmit | |
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
Power supply | 3V3 | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
PWR | PWR | - | Power LED indicator |
GR | GR | - | LED indicating a good read |
Software Support
We provide a library for Barcode Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided Click Board™ library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.
Library Description
barcode scanning and barcode scanner restart. Check the documentation for more details. Key functions:
uint8_t barcode_readyData()
- The function checks whether the RX buffer received new data.
uint8_t barcode_readData()
- The function reads and returns one byte which is received in the RX buffer.
void barcode_enableScaning(const uint8_t state)
- The function enables or disables barcode scanning, depending on the parameter value.
void barcode_enableReset(const uint8_t state)
- The function enables or disables barcode scanner reset, depending on the parameter value.
Examples description
- System Initialization - Initializes peripherals, UART interrupt and pins.
- Application Initialization - Initializes Click Board™ driver.
- Application Task - The Click Board™ enables barcode scanning in 2 seconds intervals and then disables scanning also in 2 seconds interval. When the barcode is scanned, UART interrupt will be enabled and the barcode will be stored in the temp buffer.
void applicationTask() { barcode_enableScaning(_BARCODE_LOGIC_ON); Delay_ms(2000); barcode_enableScaning(_BARCODE_LOGIC_OFF); Delay_ms(2000); } //UART Interrupt addition function is used for enabling receiving every transived byte. void RX_ISR() iv IVT_INT_USART3 ics ICS_AUTO { if( RXNE_USART3_SR_bit ) { temp[i++] = USART3_DR; } }
The full application code, and ready to use projects can be found on our LibStock page.
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
This Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click Board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
The free online CSS beautifier tool helps you to organize style files for websites.
Barcode Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.
![banner Image](http://thedebugstore.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_medium.gif)