The Raspberry Pi BarCode/QRCode Terminal is a software that allows you to transform any raspberry pi into a bar code and/or QR Code reading terminal, automatically submitting the information read to an application with the respective API that interprets the data coming from the terminal.
This software has been tested on Raspberry Pi 3b and 4 with a LCD Module Display (i.e.: GeeekPi IIC/I2C 2004) and a Honeywell Genesis 7580g branded USB barcode and QR Code reader.
- Configuring I2C Run in Raspberry Pi terminal:
sudo raspi-config
Follow this instructions: https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c
-
Put the software files wherever you want, in your Raspberry Pi.
-
I sugest in PI user home dir. i.e.: /home/pi/barcode-terminal/
-
Test the software, after making this script executable (i.e.: chmod +x /home/pi/barcode-terminal/magicbrain-init-scan.sh):
bash /home/pi/barcode-terminal/magicbrain-init-scan.sh
-
Don't forget to change the path of the instalation dir, if you choose other location then the example above.
-
Run this software on Raspberry Pi startup:
mv /home/pi/barcode-terminal/magicbrain-init-scan.sh /etc/init.d/ && sudo update-rc.d magicbrain-init-scan.sh defaults
-
Again, don't forget to change the path of the instalation dir, if you choose other location then the example above, located inside magicbrain-init-scan.sh file.
-
This software will might work with any BarCode or QR Code reader, attached to your Raspberry PI. Please note, that i only fully tested this software with one type of BarCode/QR Code reader, like i mentioned above.
That's it.
Please feel free to give me feedback on your experience with other Barcode or QR Code reader hardware.
Happy BarCode or QR Code reading.