I've made the circuit from that page: http://arduino.cc/forum/index.php?topic=92518.0 and i had connected the output from the 393 to arduino.
Using the pulsein function, when i swipe the card, the results are the folloving:
Big chance you missed a number of bits &| bytes. pulsein() waits for low, times a pulse. If in the time you are processing the pulses there is another pulse you will miss it.
Better connect the reader to the interrupt pin, fill an array with values and parse these.
saprodx:
when i swipe the card, the results are the folloving:
...
Is this accurate?
Yes, I believe those are the results you saw. Whether those results match what was on the card, I don't suppose it would be possible to say unless you knew what data was on the card. Why don't you look at the source data, look at the encoding scheme and work out what the expected results ?
robtillaart:
Big chance you missed a number of bits &| bytes. pulsein() waits for low, times a pulse. If in the time you are processing the pulses there is another pulse you will miss it.
Better connect the reader to the interrupt pin, fill an array with values and parse these.
Also, if someone knows another schematic for transforming the analog signal to digital signal using lm393 comparator, plase reply me, because the schematic above is not good.