Shop OBEX P1 Docs P2 Docs Learn Events
Magnetic card swipe reader — Parallax Forums

Magnetic card swipe reader

ArchiverArchiver Posts: 46,084
edited 2001-04-05 17:34 in General Discussion
Here is a way to read devices that have there own serial clock, its a 18
bit shift register that can be set from 1 to 18 bits. This diagram is for
16 bits, the bits shift through the device, you will need to OR the clock
line for the two devices using the data. You will also need to know how
many bit's you are using, as these can be cascaded for any combination of
bits needed. Second thing is knowing when the first device is done, so the
stamp can read the data.

good luck
larry

"De Meester, Michel" wrote:
>
> Hello Stampers,
>
> Has anybody ever used an OMRON Manual Swipe Magnetic Card Reader 3S4YR-HSR?
>
> This is a "bare" 1 channel mag stripe reader with TTL outputs.
>
> It has three outputs :
>
> -RDP (inv) read data
> -RCP (inv) read clock
> -CLS (inv) card load
>
> When I attach a scope on RDP and swipe a card, I can see a lot of pulses
> with an irregular pattern, the data (active low)
> When I attach a scope on RCP and swipe a card, I can see a lot of pulses
> with a regular pattern, the clock (active low)
> When I attach a scope on CLS and swipe a card, it goes low while the card is
> moving
>
> My idea was to use CLS to trigger a subroutine where the data is imported
> synchronised with the RCP (clock pulses)
>
> Using SHIFTIN for this purpose isn't possible because the CPIN (in shiftin
> dpin,cpin,mode) is used as an output and the swipe reader produces its own
> clock pulses (frequency depends on the swipe speed)
>
> I want to use the reader in a car alarm system where the card code is
> checked against a predefined code
>
> Greetz and thx in advance
>
> Michel De Meester
>
> Met vriendelijke groetjes,
>
> > ************************************************
> > Michel De Meester
> > Biotechnisch Onderhoud
> > Universitair Ziekenhuis Antwerpen
> > Wilrijkstraat 10
> > 2650 Edegem - B
> > tel: 03/821.3647
> > e-mail: michel.de.meester@u...
> >
> > *************************************************
> >
> >
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-04-05 10:01
    Hello Stampers,


    Has anybody ever used an OMRON Manual Swipe Magnetic Card Reader 3S4YR-HSR?

    This is a "bare" 1 channel mag stripe reader with TTL outputs.

    It has three outputs :

    -RDP (inv) read data
    -RCP (inv) read clock
    -CLS (inv) card load

    When I attach a scope on RDP and swipe a card, I can see a lot of pulses
    with an irregular pattern, the data (active low)
    When I attach a scope on RCP and swipe a card, I can see a lot of pulses
    with a regular pattern, the clock (active low)
    When I attach a scope on CLS and swipe a card, it goes low while the card is
    moving

    My idea was to use CLS to trigger a subroutine where the data is imported
    synchronised with the RCP (clock pulses)

    Using SHIFTIN for this purpose isn't possible because the CPIN (in shiftin
    dpin,cpin,mode) is used as an output and the swipe reader produces its own
    clock pulses (frequency depends on the swipe speed)


    I want to use the reader in a car alarm system where the card code is
    checked against a predefined code


    Greetz and thx in advance

    Michel De Meester

    Met vriendelijke groetjes,

    > ************************************************
    > Michel De Meester
    > Biotechnisch Onderhoud
    > Universitair Ziekenhuis Antwerpen
    > Wilrijkstraat 10
    > 2650 Edegem - B
    > tel: 03/821.3647
    > e-mail: michel.de.meester@u...
    >
    > *************************************************
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-04-05 11:11
    It may be worth considering using a bs2p and an ibutton instead of a swipe
    card. The swipe card wear out, but ibuttons, and the reader for the ibutton
    are near indestructible.
    Chris

    Original Message
    From: De Meester, Michel <Michel.De.Meester@u...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, April 05, 2001 5:01 PM
    Subject: [noparse][[/noparse]basicstamps] Magnetic card swipe reader


    > Hello Stampers,
    >
    >
    > Has anybody ever used an OMRON Manual Swipe Magnetic Card Reader
    3S4YR-HSR?
    >
    > This is a "bare" 1 channel mag stripe reader with TTL outputs.
    >
    > It has three outputs :
    >
    > -RDP (inv) read data
    > -RCP (inv) read clock
    > -CLS (inv) card load
    >
    > When I attach a scope on RDP and swipe a card, I can see a lot of pulses
    > with an irregular pattern, the data (active low)
    > When I attach a scope on RCP and swipe a card, I can see a lot of pulses
    > with a regular pattern, the clock (active low)
    > When I attach a scope on CLS and swipe a card, it goes low while the card
    is
    > moving
    >
    > My idea was to use CLS to trigger a subroutine where the data is imported
    > synchronised with the RCP (clock pulses)
    >
    > Using SHIFTIN for this purpose isn't possible because the CPIN (in shiftin
    > dpin,cpin,mode) is used as an output and the swipe reader produces its own
    > clock pulses (frequency depends on the swipe speed)
    >
    >
    > I want to use the reader in a car alarm system where the card code is
    > checked against a predefined code
    >
    >
    > Greetz and thx in advance
    >
    > Michel De Meester
    >
    > Met vriendelijke groetjes,
    >
    > > ************************************************
    > > Michel De Meester
    > > Biotechnisch Onderhoud
    > > Universitair Ziekenhuis Antwerpen
    > > Wilrijkstraat 10
    > > 2650 Edegem - B
    > > tel: 03/821.3647
    > > e-mail: michel.de.meester@u...
    > >
    > > *************************************************
    > >
    > >
    >
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-04-05 17:34
    Better check the specs on the card reader. Some of the stripped ones, like
    the MagTek, output a 5-bit word. Ideally you want to find one with the logic
    board on it, so the card reader decodes the stripe and outputs actual
    characters.

    Original Message


    > Here is a way to read devices that have there own serial clock, its a 18
    > bit shift register that can be set from 1 to 18 bits. This diagram is for
    > 16 bits, the bits shift through the device, you will need to OR the clock
    > line for the two devices using the data. You will also need to know how
    > many bit's you are using, as these can be cascaded for any combination of
    > bits needed. Second thing is knowing when the first device is done, so the
    > stamp can read the data.
    >
    > good luck
    > larry
    >

    > > Has anybody ever used an OMRON Manual Swipe Magnetic Card Reader
    3S4YR-HSR?
    > >
    > > This is a "bare" 1 channel mag stripe reader with TTL outputs.
    > >
    > > It has three outputs :
    > >
    > > -RDP (inv) read data
    > > -RCP (inv) read clock
    > > -CLS (inv) card load
    > >
    > > When I attach a scope on RDP and swipe a card, I can see a lot of pulses
    > > with an irregular pattern, the data (active low)
    > > When I attach a scope on RCP and swipe a card, I can see a lot of pulses
    > > with a regular pattern, the clock (active low)
    > > When I attach a scope on CLS and swipe a card, it goes low while the
    card is
    > > moving
    > >
    > > My idea was to use CLS to trigger a subroutine where the data is
    imported
    > > synchronised with the RCP (clock pulses)
    > >
    > > Using SHIFTIN for this purpose isn't possible because the CPIN (in
    shiftin
    > > dpin,cpin,mode) is used as an output and the swipe reader produces its
    own
    > > clock pulses (frequency depends on the swipe speed)
    > >
    > > I want to use the reader in a car alarm system where the card code is
    > > checked against a predefined code
Sign In or Register to comment.