Waveshare barcode scanner modules provide USB HID and serial interfaces for barcode and QR code scanning — essential for inventory, POS, and asset tracking.
Barcode Types
- 1D: Code 128, EAN-13, UPC-A (retail products)
- 2D: QR Code, Data Matrix (digital payments, tickets)
- UPI QR: Standard in India for Google Pay, PhonePe, Paytm
Specs
- 1D + 2D scanning, USB HID or UART
- Decode speed under 100ms
- Reading distance 3-30 cm
- Auto-sense, manual, or continuous mode
USB Setup
In USB HID mode, scanned codes are typed as keyboard input. Plug in and scan — data appears in any text field.
Python Reading
UART Mode
import serial
ser = serial.Serial('/dev/ttyUSB0', 9600, timeout=1)
while True:
data = ser.readline().decode().strip()
if data: print(f"Scanned: {data}")
Applications
- Inventory management and warehouse tracking
- Point of sale with price lookup
- Attendance via QR code ID cards
- Asset tracking with barcode labels
- Library management via ISBN barcodes
Frequently Asked Questions
Scan from phone screen?
Yes, modern 2D scanners read phone-displayed QR codes.
Scanning speed?
Under 100ms per scan.
Generate barcodes too?
Yes, use python-barcode and qrcode libraries.
Works in low light?
Yes, built-in LED illumination.
Conclusion
Waveshare barcode scanners bring professional scanning to Pi projects for inventory, POS, and attendance systems.
Browse the full Waveshare collection at Zbotic.in with fast shipping across India.
Add comment