PDA

View Full Version : Barcode reader serial port



jackberg1
- 7th November 2025, 15:06
Hello everyone,

does anyone have a simple code listing or can direct me on how to read barcode reader via serial port.

my guess would be with a serin2 command then writing each incoming byte to an array
then converting each array byte to it's decimal weight eg: serial in: 012345 converted to word decimal: 12345

is this the simplest approach


Thanks for all comments.

richard
- 8th November 2025, 02:20
my guess would be
a data sheet and/or a representative sample of said bar code reader would eliminate need for guesswork


is this the simplest approach
to do what exactly

jackberg1
- 8th November 2025, 12:08
UPC-E




a barcode reader with a serial interface cable connected to a PIC chip

10003