Shop OBEX P1 Docs P2 Docs Learn Events
26-bit wiegand card reader and the propeller chip — Parallax Forums

26-bit wiegand card reader and the propeller chip

securemansecureman Posts: 11
edited 2010-07-24 12:59 in Propeller 1
Does anyone have any info. on interfacing a 26-bit wiegand cardreader to the propeller chip

Thank be to anyone that can help !!!

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2010-05-13 11:24
    I am assuming you have the weigand specifications so you should know that basically it outputs 50us low pulses every 1 or 2 ms on 2 data lines, one for "0" and one for "1". This is even do'able in Spin using waitpne commands to cause Spin to wait until the port pins are no longer at idle.

    The 26-bit Wiegand protocol is made up of a leading even parity bit (for b0 - b11) and 24 bits of data and a trailing odd parity bit (for b12- b23).

    I think that you will find that the code is trivial, just give it a go and see what you get.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    *Peter*
  • securemansecureman Posts: 11
    edited 2010-05-13 19:15
    Thanks Peter I'm a new to programming micro controllers can you offer any more info. meadwhile i will keep looking Thanks Again..

    Doug Smith



    ·
  • ColeyColey Posts: 1,112
    edited 2010-05-13 20:29
    Hey Doug,

    You'll need PropBASIC for running my code so....

    First of all go here www.fnarfbargle.com/bst/Latest/
    and get the latest version of BST. The .exe version is for windows, Linux for linux and osx for macintosh.

    Then go here www.fnarfbargle.com/PropBasic/
    and make sure you get the latest version of PropBASIC for BST.

    Then load up my code, connect up your D0 and D1 lines of your wiegand reader to P0 and P1 run the serial terminal in BST and present your cards.....

    It's worth noting that I run my reader off 5V and use a 10K pullup on each line and a 100R resistor in line with P0 and P1.

    Good luck.

    Coley

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PropGFX - The home of the Hybrid Development System and PropGFX Lite
  • securemansecureman Posts: 11
    edited 2010-05-14 01:38
    Thanks coley for the info

    I will breadboard this and see what happens

    Thanks

    for your helpjumpin.gif

    DougSmith

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Doug Smith
  • securemansecureman Posts: 11
    edited 2010-05-29 05:50
    Coley

    I tired setting up the hid reader, loaded and run program notting happend

    anymore advice, anything would help

    I'm Trying to build a access control to just my doors but with as many features as possible.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Doug Smith
  • ColeyColey Posts: 1,112
    edited 2010-05-29 10:08
    Hi Doug,

    Have you got a photo or a schematic of your setup..
    What reader are you using?

    Regards,

    Coley

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PropGFX - The home of the Hybrid Development System and PropGFX Lite
  • securemansecureman Posts: 11
    edited 2010-07-24 12:59
    Sorry i Thought My Post had Been Deleted
    Will get back to you in a day so

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Doug Smith
Sign In or Register to comment.