Pico-Barcode-HAT
From SB-Components Wiki
Pico Barcode Hat
Barcode HAT for Pico is a robust and compact barcode scanner board that consists of DE2120 scanner module, buzzer, 1.14” LCD screen, micro-USB port. It is designed to scan 20 different barcode symbologies in the segment of both 1D and 2D symbology like barcodes and QR codes. The design of the barcode HAT makes it simple for the users to explore all the DE2120’s features without having to deal with the complicated wires. Through appropriate drive circuits, a buzzer, a push-button tactile switch, and a status LED scanning to become easier
Features
- 1D/2D/QR Code/Data Matrix/MSI
- Onboard Micro-USB connector for USB HID Interface, Virtual COM Port, Support USB Barcode Information
- Transmission Read 20 Different Barcode Symbology
- UPC-A * GS1-128 * Matrix 2-of-5 * Datalogic 2-of-5 * UPC-E * Code 39 * Industrial 2-of-5 * 2D Symbologies * EAN-8 * Code 93 * Codabar * QR Code * EAN-13 * Code 11 * MSI * Data Matrix * Code 128 * Interleaved 2-of-5 * GS1 DataBar * PDF 417
Specifications
- Operating Voltage - 3.3 V
- Display - 1.14 Inch LCD
- Symbology - 1D and 2D
- Compatibility - Raspberry Pi Pico
Installation
MicroPython
- Stack Raspberry Pi Pico on the female header of Pico Sense HAT.
- Connect USB cable on Raspberry Pi Pico USB port.
- Choose interpreter as MicroPython (Raspberry Pi Pico).
- Save all the libraries inside the raspberry pi pico.
- Rename the pico_sense_hat.py to main.py and save it also inside pico (main.py code automatically run when pico power on).
Files in the folder
In the folder, you will see 6 python files
- There are 5 libraries in this folder you need to save these libraries in the raspberry pi pico, 4 libraries of sensors, and 1 library of LCD display
* sgp40.py * sht31.py * bme280.py * tcs34725.py * Lcd1_14driver.py
- One file is there in the folder which runs the main code (this code display the sensor reading), this code import all the libraries of sensors and LCD display,
* pico_sense_hat.py
- Download Pico sense hat repository from the below link:
Source code: https://github.com/sbcshop/Pico-Barcode-HAT
Resources
Github