1559660373 Publish time 2019-6-4 23:07:39

Error when trying to use RFID in my kit

I have the Adeept RFID Starter Kit for Raspberry Pi 3 2 Model B/B+ Python with Printed Guidebook, 40-Pin GPIO Boardand a rasberri pi 3 B and I am following the instructions for lesson 19 for python on using the RFID tag. and i have no problems up to the point of running the Read.py when i try this error comes up.

pi@alec:/media/pi/CARL/Adeept_RFID_Kit_for_RPi_V2.0/code/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python $ sudo python Read.py
/media/pi/CARL/Adeept_RFID_Kit_for_RPi_V2.0/code/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python/MFRC522.py:113: RuntimeWarning: This channel is already in use, continuing anyway.Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(22, GPIO.OUT)
Traceback (most recent call last):
File "Read.py", line 21, in <module>
    MIFAREReader = MFRC522.MFRC522()
File "/media/pi/CARL/Adeept_RFID_Kit_for_RPi_V2.0/code/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python/MFRC522.py", line 115, in __init__
    self.MFRC522_Init()
File "/media/pi/CARL/Adeept_RFID_Kit_for_RPi_V2.0/code/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python/MFRC522.py", line 386, in MFRC522_Init
    self.MFRC522_Reset();
File "/media/pi/CARL/Adeept_RFID_Kit_for_RPi_V2.0/code/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python/MFRC522.py", line 118, in MFRC522_Reset
    self.Write_MFRC522(self.CommandReg, self.PCD_RESETPHASE)
File "/media/pi/CARL/Adeept_RFID_Kit_for_RPi_V2.0/code/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python/MFRC522.py", line 121, in Write_MFRC522
    spi.transfer(((addr<<1)&0x7E,val))
TypeError: function takes exactly 2 arguments (1 given)
I do not know what to do or how to fix it please help me

Adeept Publish time 2019-6-10 18:28:31

Hello,

Please clone the latest code from our github:

https://github.com/adeept/Adeept_RFID_Learning_Kit_Python_Code_for_RPi

If the problem persists, please contact us again.



1559660373 Publish time 2019-6-11 23:20:50

Adeept replied at 2019-6-10 06:28 PM
Hello,

Please clone the latest code from our github:


thank you it works now is there a resource i can use to be able to get the output from the rfid tag and do something with it.By this i mean where is the data being displayed at in the code and is there a way to make the code just give that data to another script?

1563182005 Publish time 2019-7-15 17:18:36

i need also help i tried all of this and the download again but it doesnt work it appears the error

1603578179 Publish time 2020-10-25 06:23:52

The Problem still occurs, is there any update?

Adeept Publish time 2021-2-4 17:11:22

1563182005 replied at 2019-7-15 05:18 PM
i need also help i tried all of this and the download again but it doesnt work it appears the error

We have updated the manual and code, please download again (V3.0 version):
https://www.adeept.com/learn/detail-23.html

Adeept Publish time 2021-2-4 17:11:36

1603578179 replied at 2020-10-25 06:23 AM
The Problem still occurs, is there any update?

We have updated the manual and code, please download again (V3.0 version):
https://www.adeept.com/learn/detail-23.html

Pages: [1]
View full version: Error when trying to use RFID in my kit