Barcode reader serial port


+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2022
    Posts
    78

    Default Barcode reader serial port

    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.

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,681


    Did you find this post helpful? Yes | No

    Default Re: Barcode reader serial port

    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
    Warning I'm not a teacher

  3. #3
    Join Date
    Feb 2022
    Posts
    78


    Did you find this post helpful? Yes | No

    Default Re: Barcode reader serial port

    UPC-E




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

    Name:  UPC-E Sample.jpg
Views: 3
Size:  72.5 KB

Similar Threads

  1. Barcode reader with PIC16f877A ?
    By iugmoh in forum General
    Replies: 18
    Last Post: - 26th December 2008, 06:11
  2. PS/2 barcode reader to RS232 port - need help
    By phoenix_1 in forum Schematics
    Replies: 10
    Last Post: - 28th May 2008, 06:35
  3. Barcode reader Problem ?
    By iugmoh in forum General
    Replies: 5
    Last Post: - 18th February 2008, 21:25
  4. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 07:23
  5. 5v From Serial Port
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th November 2004, 13:49

Members who have read this thread : 3

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts