¿ªÔÆÌåÓý

Re: How do I hook up a bar code reader to JMRI


 

If that¡¯s what the reader manual says, and if the script is currently set at 9600, you should probably try 4800 in the script.

Looking at the raw data you provided, it looks like the 1 bits are doubled up: Each bit sent is taking two bit times in the receiver. By switching the script from 9600 to 4800, that should align the bit sizes.

Note that the original script was sampling at 19200. If you haven¡¯t changed that, it would cause pretty much exactly the problems you¡¯re seeing here (assuming the manual is right about the reader¡¯s baud rate)

Bob

On May 16, 2025, at 7:42?AM, Nick Brownsberger via groups.io <nbrownsbe@...> wrote:

Bob,
The baud rate should be 9600, parity bits=none, data bits=8 and stop bits=1.
Nick
¡ª
Bob Jacobsen
rgj1927@...

Join [email protected] to automatically receive all group messages.