Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |
| barcode [2026-07-19 16:41 UTC (6 weeks ago)] – Added serial parameters and example commands benjamin | barcode [2026-07-19 16:42 UTC (6 weeks ago)] (current) – Fixed formatting benjamin |
|---|
| The barcode scanner is on ''%%/dev/ttyUSB0%%'' at 115200 8n1, and is programmed by default to output just the QR code over serial with no CRLF. Setup scripts create ''%%/dev/ttyS5%%'' as a link to ''%%/dev/ttyUSB0%%''. | The barcode scanner is on ''%%/dev/ttyUSB0%%'' at 115200 8n1, and is programmed by default to output just the QR code over serial with no CRLF. Setup scripts create ''%%/dev/ttyS5%%'' as a link to ''%%/dev/ttyUSB0%%''. |
| |
| ''%%stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb -ixon%%'' will set up the serial port with the correct parameters. If you have the CODE CR8200, ``%%echo -e "CDOPPMD0\r\n" > /dev/ttyUSB0%%`` will disable the lights as well as code scanning. | ''%%stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb -ixon%%'' will set up the serial port with the correct parameters. If you have the CODE CR8200, ''%%echo -e "CDOPPMD0\r\n" > /dev/ttyUSB0%%'' will disable the lights as well as code scanning. |