This code intercepts data from the barcode scanner. We receive data to the serial port and transmit it further to the PC.
Required devices:
- Arduino Leonardo
- USB Host Shield
- HID scanner
The scanner can read both barcodes and QR codes.
The data received in the monitor.
This code was tested on a Honeywell HH400-R1-USB scanner.