Barcode reader with PIC16f877A ?


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    oky, my barcode reader type is "PS/2 Keyboard Wedge Barcode Scanner" and I test it with my PS/2 PC port , which when i insert the ID card it's automatically display the number "120063718" with new line

    I know that the problem is how to know how encoding is done ?
    Then you'll probably have to get a list of the actual PS/2 scancodes relating to various keypresses, numeric, alpha, whatever. Probably throw all of those into a lookup table, crunch the table and get your keypress out of it.
    Basically, you're building a PS/2 keyboard reader. I'd be willing to bet that if you found some PS/2 reader code somewhere for plugging in a standard keyboard, that it would actually work.

  2. #2


    Did you find this post helpful? Yes | No

    Default

    I will thank you another time for your patience, I understand that you are meaning that I can replace my barcode reader by a keyboard and pressing the same ID number to know how each number is encoding

    oky i will try this

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by iugmoh View Post
    I will thank you another time for your patience, I understand that you are meaning that I can replace my barcode reader by a keyboard and pressing the same ID number to know how each number is encoding

    oky i will try this
    That would be my bet.
    So in the end, you're project would be (with enough info in tables or whatever) a capable PS/2 keyboard reader.
    But I'm guessing here...and it makes sense to me.

    Push 1 once...write down the sequence of bits returned...push 1 again, compare the sequence to before
    then push 2 once, write down that sequence, etc.etc. and so on...

    What do you get on the display for a single press of the number 1 on the keyboard, one press, one release of that single key...not the numeric keypad, but the number 1 above the Q?

  4. #4


    Did you find this post helpful? Yes | No

    Default

    I found the barcode reader specifications after a period time of searching
    here is the link
    http://s176338940.onlinehome.fr/pdf/IDICOD/2xxx.pdf

    my barcode reader model is SSR-2110

    but the manual is in franch i don't understand that

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Push 1 once...write down the sequence of bits returned...push 1 again, compare the sequence to before
    then push 2 once, write down that sequence, etc.etc. and so on...
    What do you get on the display for a single press of the number 1 on the keyboard, one press, one release of that single key...not the numeric keypad, but the number 1 above the Q?
    What did you come up with? Anything?

    Quote Originally Posted by iugmoh View Post
    I found the barcode reader specifications after a period time of searching
    here is the link
    http://s176338940.onlinehome.fr/pdf/IDICOD/2xxx.pdf
    my barcode reader model is SSR-2110
    but the manual is in franch i don't understand that
    Not going to read it, not going to attempt it, that's your job. Besides, I don't know french...

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    By the datasheet, if your reader is SSR2110, it use the regular PS/2 interface.

    There's few code example to read/decode/interface PS2 keyboard here
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    By the datasheet, if your reader is SSR2110, it use the regular PS/2 interface.

    There's few code example to read/decode/interface PS2 keyboard here
    There ya go...he knows french

    Although that datasheet was sparse if it's anything...(even I could figure out some of those crazy words )

Similar Threads

  1. PS/2 barcode reader to RS232 port - need help
    By phoenix_1 in forum Schematics
    Replies: 10
    Last Post: - 28th May 2008, 05:35
  2. Barcode reader Problem ?
    By iugmoh in forum General
    Replies: 5
    Last Post: - 18th February 2008, 20:25
  3. Serial interface with RFID reader
    By brid0030 in forum Serial
    Replies: 8
    Last Post: - 23rd January 2007, 06:23
  4. Proximity Card Reader
    By Sphere in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 6th November 2005, 14:43
  5. Smart card reader with PIC16F84A
    By bangunprayogi in forum Serial
    Replies: 0
    Last Post: - 12th August 2005, 10:36

Members who have read this thread : 0

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