asfenatlantic.blogg.se

Raspberry pi qr code reader
Raspberry pi qr code reader














We chose to use the scanner as a serial device and after working through the example applications we got a grasp of how it worked. Using a special barcode to configure the reader as a USB keyboard, we connected the HAT to our Windows 10 PC and started scanning random barcodes, all of which appeared in our text editor window. We did test the Barcode Scanner HAT away from the Raspberry Pi. The scanner can be reprogrammed to act as a keyboard, outputting data as if it were a keyboard via the micro USB port which means it can be used with another computer. The base of the Python library is all about interacting with the DE2120 scanner module which can spit out data via a serial / UART connection.

raspberry pi qr code reader

With the typos identified, overcome and reported we finally got to use the board and it works rather well.

raspberry pi qr code reader

Suffice to say the Python library is functional and easy to use, but a number of typos did slow down our progress. We tested the Barcode Reader HAT with an early version of the Python library and provided SB Components with feedback on the issues that we faced. The GPIO is broken out on top of the HAT and that means we could stack another board on top, something that we will test later.

RASPBERRY PI QR CODE READER PDF

QR Code, Data matrix, PDF 417, Micro PDF 417, Aztec CodeĪs this is a HAT, it fits directly on top of all 40 GPIO pins and is powered via the GPIO.

raspberry pi qr code reader

UPC-A, UPC-E, EAN-8, EAN-13, Code 128, GS1-128, Code 39, Code 93, Code 11, Interleaved 2 of 5, Matrix 2 of 5, Industrial 2 of 5, Codabar, MSI, GS1 DataBar, Datalogic 2 of 5














Raspberry pi qr code reader