View: 1662|Reply: 3

Raspberry PI RFid starter kit not working

[Copy link]

2

Threads

2

Posts

10

Credits

Newbie

Rank: 1

Credits
10
Post time 2019-10-27 23:50:14 | Show all posts |Read mode
When I try to start read.py from lesson 19 I get following error
/home/pi/Documents/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 "/home/pi/Documents/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python/MFRC522.py", line 115, in __init__
    self.MFRC522_Init()
  File "/home/pi/Documents/Adeept_RFID_Learning_Kit_Python_Code_for_RPi/19_RFID/MFRC522-python/MFRC522.py", line 386, in MFRC522_Init
    self.MFRC522_Reset();
  File "/home/pi/Documents/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 "/home/pi/Documents/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)
Sry for posting in the wrong forum
Reply

Use magic Report

1

Threads

49

Posts

150

Credits

Registered member

Rank: 2

Credits
150
Post time 2020-7-9 15:27:09 | Show all posts
Pls check if the RFID circuit is connected correctly. What version of Raspberry Pi are you using? Is it 3 or 4?
Reply

Use magic Report

0

Threads

3

Posts

10

Credits

Newbie

Rank: 1

Credits
10
Post time 2020-10-25 06:26:02 | Show all posts

The Problem still occurs, is there any update?
Reply

Use magic Report

23

Threads

223

Posts

814

Credits

Senior member

Rank: 4

Credits
814
Post time 2021-2-4 11:01:28 | Show all posts
1603578179 replied at 2020-10-25 06:26 AM
The Problem still occurs, is there any update?

Hello, we have updated the latest manual and code, please download through the link below:
Please download the information of the V3.0 version
https://www.adeept.com/learn/detail-23.html

Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules