Page 1 of 1

Rc522 RFID scanner gives Errno 2 error

Posted: Wed Feb 19, 2020 10:55 pm
by Bustercody3
I am using a raspberry pi 4 model b running the latest version of raspbian (2020-02-13). I followed this tutorial on how to use the rc522 RFID scanner with a raspberry pi: https://pimylifeup.com/raspberry-pi-rfid-rc522/ / https://www.youtube.com/watch?v=evRuZRxvPFI&t=172s .When I got to the point where I needed to run Write.py it gave me the error: python3: can’t open file ‘Write.py’ : [Errno 2] No such file or directory

Thank you for your time, and I hope you can help.

Re: Rc522 RFID scanner gives Errno 2 error

Posted: Thu Feb 20, 2020 3:41 pm
by topguy

Code: Select all

 python3: can’t open file ‘Write.py’ : [Errno 2] No such file or directory
This is not a very cryptic error it tells you clearly it cant find the file.

Either you created/edited a file with a different name by accident or you are not standing in the correct directory when you write the command.

Re: Rc522 RFID scanner gives Errno 2 error

Posted: Sat Feb 22, 2020 7:47 pm
by Bustercody3
I’m a beginner so I don’t understand most of this, but I solved the problem. However, now it will not recognize when I place an RFID tag on it. The tags came with the scanner. All my wires are set up correctly and are soldered properly. When I place the tag on it it will not write “Written” in the terminal. Any solutions?

Re: Rc522 RFID scanner gives Errno 2 error

Posted: Sat Feb 22, 2020 7:50 pm
by Bustercody3
Here is a picture of my setup:

Re: Rc522 RFID scanner gives Errno 2 error

Posted: Sun Feb 23, 2020 2:50 pm
by Bustercody3
I have now fixed in by installing the github repository pi-rfid from ondryaso.