MFRC522-python icon indicating copy to clipboard operation
MFRC522-python copied to clipboard

Limiting from Continuous Scanning

Open mprythero opened this issue 7 years ago • 2 comments

I was curious if there was a way to limit the read script from a continuous scan to limit a scan recognition to every five seconds or even a minute. I've just noticed that if I hover an RFID card over the sensor that it will continue to read until I swipe it away. And sometimes if it's a fast swipe, it could still read two or three times.

Is there a way to fix this or does anyone have any suggestions? Thanks~ Matt

mprythero avatar Apr 14 '18 05:04 mprythero

It sounds like you are more after scanning continually, but not reading a specific card more than once per a certain time interval, instead of actually stopping/starting a scan?

Jbithell avatar Apr 15 '18 14:04 Jbithell

make it sleep for a second after detecting a card.. time.sleep(1)

cscuilla avatar Oct 08 '20 15:10 cscuilla