pimylifeup / MFRC522-python

Library utilized for Pi My Life Up's guide on setting up an RFID RC522 reader.
https://pimylifeup.com/raspberry-pi-rfid-rc522/
GNU Lesser General Public License v3.0
193 stars 170 forks source link

My RC522 don't work #1

Closed fabioce closed 5 years ago

fabioce commented 6 years ago

Hello, I'm trying this tutorial https://pimylifeup.com/raspberry-pi-rfid-rc522/ Where is linked this code. I verified many times the connections, but my sensor is always with red led active and Write.py or Read.py don't write or read the rfid card. Is possible that my sensor is broke? There are other tests to evaluate my sensor? thanks

HumbleBee14 commented 6 years ago

Well it has RED Light only, so no issue with that. I think it blinks when it reads/writes. I had also used the exact same code & pin-out connections & it worked smoothly. Just recheck the connections/pins with the reference pin diagram again and Try to take out pins & insert them again with Pi. It it still doesn't work, then probably there'd be some issue in your reader.

Hey, are you getting any error while running/reading on Pi? Make sure, your are using GPIO.cleanup() at correct locations! (At the end of program execution)

HumbleBee14 commented 6 years ago

If you have already checked the pins, then only option you have got to check the RFID reader is by using it in some other microcontroller like ARDUINO. Just check it there with a simple code if it's working with Arduino or not.

fabioce commented 6 years ago

I don't have an Arduino, only a Raspberry PI 3. I tryed many times to reconnect all PINs, but nothing to do.

Your documentation isn't good for me, because I have only a Raspberry.

Il 14/04/2018 16:57, HumbleBee14 ha scritto:

If you have already checked the pins, then only option you have got to check the RFID reader is by using it in some other microcontroller like ARDUINO. Just check it there with a simple code if it's working with Arduino or not.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pimylifeup/MFRC522-python/issues/1#issuecomment-381334771, or mute the thread https://github.com/notifications/unsubscribe-auth/ADavV9-4VffdSUEloNw3EHTjQeS1RTZbks5tog5HgaJpZM4TVEXR.

--

*Fabio Cecaro *Email:fabio.cecaro@gmail.com mailto:fabio.cecaro@gmail.com Skype: cefabio http://www.linkedin.com/in/fabiocecaro

HumbleBee14 commented 6 years ago

Well, then wait for the Author of this page & this simplified library. I had used this library as it is as mentioned on that page and it worked on the first run itself. Can you mention the error you are getting?

fabioce commented 6 years ago

My error is that the script don't stop when I move RFIDcards near sensor, so the RFID sensor don't work.

I think the sensor don't work properly.

Il 14/04/2018 21:00, HumbleBee14 ha scritto:

Well, then wait for the Author of this page & this simplified library. I had used this library as it is as mentioned on that page and it worked on the first run itself. Can you mention the error you are getting?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pimylifeup/MFRC522-python/issues/1#issuecomment-381351974, or mute the thread https://github.com/notifications/unsubscribe-auth/ADavV4rv5-FBaOmidgCad53M_g-SB6Nkks5tokddgaJpZM4TVEXR.

--

*Fabio Cecaro *Email:fabio.cecaro@gmail.com mailto:fabio.cecaro@gmail.com Skype: cefabio http://www.linkedin.com/in/fabiocecaro

fabioce commented 6 years ago

What we do?

Do you want to change the malfunction sensor?

Il 15/04/2018 16:26, fabio cecaro ha scritto:

My error is that the script don't stop when I move RFIDcards near sensor, so the RFID sensor don't work.

I think the sensor don't work properly.

Il 14/04/2018 21:00, HumbleBee14 ha scritto:

Well, then wait for the Author of this page & this simplified library. I had used this library as it is as mentioned on that page and it worked on the first run itself. Can you mention the error you are getting?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pimylifeup/MFRC522-python/issues/1#issuecomment-381351974, or mute the thread https://github.com/notifications/unsubscribe-auth/ADavV4rv5-FBaOmidgCad53M_g-SB6Nkks5tokddgaJpZM4TVEXR.

--

*Fabio Cecaro *Email:fabio.cecaro@gmail.com mailto:fabio.cecaro@gmail.com Skype: cefabio http://www.linkedin.com/in/fabiocecaro

--

*Fabio Cecaro *Email:fabio.cecaro@gmail.com mailto:fabio.cecaro@gmail.com Skype: cefabio http://www.linkedin.com/in/fabiocecaro

tlmyasirs commented 6 years ago

i have the same problem. but it works fine with arduino. then what ?