0

I have connected an Arduino Micro (not Pro Micro) to an Magtek swipe reader. Data is connected to pin 3, and clock to pin 2 and swipe_detect to pin 4. Then I use this lib to read data from the magstripe reader: https://github.com/carlosefr/magstripelib

However, the magstripe reader reads very poor. Half of the times, the card doesn't even register (because its skipping bits and then the card sentinel and checksums fail)

I suspect, this is because the Arduino Micro isn't processing the interrupts fast enough.

Is it possible to increase the interrupt resolution in some way? Meaning, having it process interrupts faster? Or does the library process too much things in handle_clock() subroutine and this needs to be fixed?

New contributor
sebastian nielsen is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.