Giter VIP home page Giter VIP logo

Comments (7)

carlosefr avatar carlosefr commented on May 31, 2024

With the example MagStripeReader.ino sketch? Does the error LED blink?

If it does, then the card isn't being read properly (no serial output in this case). Otherwise, check if you have the correct rate set in the serial monitor (9600 bps).

from magstripelib.

andrewfed403 avatar andrewfed403 commented on May 31, 2024

The orange light is being turned off and remains off upon card insertion
and turns back on when it's removed , is that what you mean ?

On Thursday, July 2, 2015, Carlos Rodrigues [email protected]
wrote:

With the example MagStripeReader.ino sketch? Does the error LED blink?

If it does, then the card isn't being read properly (no serial output in
this case). Otherwise, check if you have the correct rate set in the serial
monitor (9600 bps).


Reply to this email directly or view it on GitHub
#1 (comment)
.

from magstripelib.

carlosefr avatar carlosefr commented on May 31, 2024

The example sketch uses two LEDs: one to show that a card is being read (ON when swiping a card, OFF otherwise) and another that blinks briefly if the swiped data cannot be decoded (the error LED).

The sketch uses pin 13 for the read LED. I'm assuming your "orange light" is this one. And from that it looks that your reader uses the "card present" (CLS) line to indicate a fully inserted card instead of a card being swiped. This library doesn't support this type of readers.

from magstripelib.

andrewfed403 avatar andrewfed403 commented on May 31, 2024

panasonic zu-1870ma6t2 is the reader im using

On Thu, Jul 2, 2015 at 9:03 AM, Carlos Rodrigues [email protected]
wrote:

The example sketch uses two LEDs: one to show that a card is being read
(ON when swiping a card, OFF otherwise) and another that blinks briefly if
the swiped data cannot be decoded (the error LED).

The sketch uses pin 13 for the read LED. I'm assuming your "orange light"
is this one. And from that it looks that your reader uses the "card
present" (CLS) line to indicate a fully inserted card instead of a card
being swiped. This library doesn't support this type of readers.


Reply to this email directly or view it on GitHub
#1 (comment)
.

from magstripelib.

andrewfed403 avatar andrewfed403 commented on May 31, 2024

and it uses the cld line

On Thu, Jul 2, 2015 at 9:26 AM, Andrew feder [email protected] wrote:

panasonic zu-1870ma6t2 is the reader im using

On Thu, Jul 2, 2015 at 9:03 AM, Carlos Rodrigues <[email protected]

wrote:

The example sketch uses two LEDs: one to show that a card is being read
(ON when swiping a card, OFF otherwise) and another that blinks briefly if
the swiped data cannot be decoded (the error LED).

The sketch uses pin 13 for the read LED. I'm assuming your "orange light"
is this one. And from that it looks that your reader uses the "card
present" (CLS) line to indicate a fully inserted card instead of a card
being swiped. This library doesn't support this type of readers.


Reply to this email directly or view it on GitHub
#1 (comment)
.

from magstripelib.

carlosefr avatar carlosefr commented on May 31, 2024

The datasheet says the CLD line is basically a switch indicating the card is fully inserted. The way the library works internally means this requires some modifications. These shouldn't be too difficult, the tricky part is integrating them with existing behavior.

You're welcome to fork the code and implement the necessary changes.

from magstripelib.

andrewfed403 avatar andrewfed403 commented on May 31, 2024

is the source code available ?

On Thu, Jul 2, 2015 at 10:23 AM, Carlos Rodrigues [email protected]
wrote:

Closed #1 #1.


Reply to this email directly or view it on GitHub
#1 (comment).

from magstripelib.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.