Shop OBEX P1 Docs P2 Docs Learn Events
BS2sx - Magnetic Card reader — Parallax Forums

BS2sx - Magnetic Card reader

ArchiverArchiver Posts: 46,084
edited 2003-10-03 23:39 in General Discussion
I have a BS2sx and am relatively new to microcontrollers (have built a
few simple projects).

What I would like to do is interface my BS2sx with a magnetic card
reader, so when the correct code was received the BS2 would activate a
relay.

Does anyone have any general info (schematics, source code, web sites
etc) about how to interface the BS2 with a card reader?


Cheers

Liam.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-09-26 17:26
    --- In basicstamps@yahoogroups.com, "nz_liam" <nz_liam@y...> wrote:
    > I have a BS2sx and am relatively new to microcontrollers (have
    built a
    > few simple projects).
    >
    > What I would like to do is interface my BS2sx with a magnetic card
    > reader, so when the correct code was received the BS2 would
    activate a
    > relay.
    >
    > Does anyone have any general info (schematics, source code, web
    sites
    > etc) about how to interface the BS2 with a card reader?
    >
    >
    > Cheers
    >
    > Liam.
  • ArchiverArchiver Posts: 46,084
    edited 2003-09-26 19:34
    Hello andy, i have been wondering about this myself however the
    easiest way to do this is to buy a self contained magnetic card
    reader easliy programmable from the use of a master card and then
    outputs to a relay but that kinda defeats the purpose of the stamp
    doesnt it. Since most magnetic card readers (access control Type) use
    the format WEIGAND, it is very hard to use the Basic stamp to read
    the encrypted 24, 26, or 36 bit encryption depending on the card and
    number of tracks used. however there are other types of card readers
    that interface via RS-232 but you would have to find out by trial and
    error of you can read the information using SERIN commands from a
    Maxim RS232 interface. you would also have to consider which track
    the reader is actually sending you as well, some readers only read 1
    to 2 tracks out of 3 on standard cards. hope this helps. Gary D
    when looking for reader look for types that "wedge" between a
    computer and its keyboard with the standard PS2 PC connector.
    some places that sell Rs232 magnetic readers include
    - www.ebay.com
    - www.gatewayelex.com
    - www.allcorp.com
    - www.jameco.com
    - www.digikey.com
    and for preassembled access control readers visit
    - www.nokey.com

    please feel free to discuss Access control and surveilance
    interfaces with the Basic Stamp Anytime.


    --- In basicstamps@yahoogroups.com, "Andy" <agski@r...> wrote:
    > --- In basicstamps@yahoogroups.com, "nz_liam" <nz_liam@y...> wrote:
    > > I have a BS2sx and am relatively new to microcontrollers (have
    > built a
    > > few simple projects).
    > >
    > > What I would like to do is interface my BS2sx with a magnetic card
    > > reader, so when the correct code was received the BS2 would
    > activate a
    > > relay.
    > >
    > > Does anyone have any general info (schematics, source code, web
    > sites
    > > etc) about how to interface the BS2 with a card reader?
    > >
    > >
    > > Cheers
    > >
    > > Liam.
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-03 23:39
    Thanks for your help!


    --- In basicstamps@yahoogroups.com, "grandote1980" <gdii@c...> wrote:
    > Hello andy, i have been wondering about this myself however the
    > easiest way to do this is to buy a self contained magnetic card
    > reader easliy programmable from the use of a master card and then
    > outputs to a relay but that kinda defeats the purpose of the stamp
    > doesnt it. Since most magnetic card readers (access control Type)
    use
    > the format WEIGAND, it is very hard to use the Basic stamp to read
    > the encrypted 24, 26, or 36 bit encryption depending on the card
    and
    > number of tracks used. however there are other types of card
    readers
    > that interface via RS-232 but you would have to find out by trial
    and
    > error of you can read the information using SERIN commands from a
    > Maxim RS232 interface. you would also have to consider which track
    > the reader is actually sending you as well, some readers only read
    1
    > to 2 tracks out of 3 on standard cards. hope this helps. Gary D
    > when looking for reader look for types that "wedge" between a
    > computer and its keyboard with the standard PS2 PC connector.
    > some places that sell Rs232 magnetic readers include
    > - www.ebay.com
    > - www.gatewayelex.com
    > - www.allcorp.com
    > - www.jameco.com
    > - www.digikey.com
    > and for preassembled access control readers visit
    > - www.nokey.com
    >
    > please feel free to discuss Access control and surveilance
    > interfaces with the Basic Stamp Anytime.
    >
    >
    > --- In basicstamps@yahoogroups.com, "Andy" <agski@r...> wrote:
    > > --- In basicstamps@yahoogroups.com, "nz_liam" <nz_liam@y...>
    wrote:
    > > > I have a BS2sx and am relatively new to microcontrollers (have
    > > built a
    > > > few simple projects).
    > > >
    > > > What I would like to do is interface my BS2sx with a magnetic
    card
    > > > reader, so when the correct code was received the BS2 would
    > > activate a
    > > > relay.
    > > >
    > > > Does anyone have any general info (schematics, source code, web
    > > sites
    > > > etc) about how to interface the BS2 with a card reader?
    > > >
    > > >
    > > > Cheers
    > > >
    > > > Liam.
Sign In or Register to comment.