Skip to main content
7 votes
Accepted

ITEAD PN532 on Pi 3 with libnfc

I have found a solution although I take no credit for it: "Turns out the Raspberry Pi 3 uses the first serial port for its integrated Bluetooth! There are several ways to get around the problem, ...
Wim Ombelets's user avatar
6 votes

How can Rpi SPI python read the MFRC522 RFID / NFC module?

Question How can Rpi python read a SPI MFRC255 RFID/NFC tag? Short Answer Part 1 - Introduction to I2C and SPI NFC/RFID Chips and Modules Part 2 - Setting up SPI MFRC522 Module Part 3 - ...
tlfong01's user avatar
  • 4,705
4 votes

What's the best solution to detect the coming of a person

Yes the Raspberry Pi can scan and read the data from BLE Beacons. There are lots of different beacon data formats, one of the more popular is the Eddystone format. https://github.com/google/eddystone ...
ukBaz's user avatar
  • 1,477
4 votes

Is it possible to connect multiple sensors to raspberry pi? How do I expand on the standard gpio pins?

The Amazon link in your Q says the RFID board has both SPI and I2C interface. The RPi also has these interfaces. So far, so good. But physical distance is a factor with these buses, and your question ...
Seamus's user avatar
  • 22.3k
3 votes
Accepted

Raspberry Pi 3B RFID RC522 - not reading data

I have just connected a MFRC522 module to a Pi3B and it works fine. I used the following connections RC522 SDA SCK MOSI MISO RQ GND RST 3V3 | | | | | | | ...
joan's user avatar
  • 71.2k
3 votes
Accepted

how to enable spi1? / pi 3 and two rc522 RFID readers

Enable SPI by adding the line dtparam=spi=on to /boot/config.txt. This will enable the main SPI device (two slave selects). crw-rw---- 1 root spi 153, 0 Oct 18 21:01 /dev/spidev0.0 crw-rw---- 1 root ...
joan's user avatar
  • 71.2k
3 votes

read a RFID card MiFare 1k classic through a PN532 uart reader with serial.read()

The PN532 has multiple interfaces and can do a lot more than just "read" a card. So it implements a serial protocol that requires you send it commands asking it to do something and give you a ...
Patrick S.'s user avatar
3 votes

Simple python RFID (RC522) authentication system not working

As joan pointed out in the comments above, there were extra spaces after "Keycard"
GaryFlermen's user avatar
3 votes
Accepted

How to read Wiegand serial data? (Rx/Tx)

Question How to use Rpi UART to read Wiegand data? Answer No you can't. Wiegand and UART are different animals. They don't talk to each other. But you can use two Rpi GPIO pins and ...
tlfong01's user avatar
  • 4,705
3 votes

How to connect multiple RFID readers (RC522) to a RPi?

did this exact thing using 5x RFID-RFC522 Readers. You can use the RST Pins to select the reader you want to use. Connect all the other pins in parallel (see schematic below). Just set all the RST ...
Lugico's user avatar
  • 41
2 votes

Connecting to an RC522 RFID reader

Looks like the pins are not soldered in
user46106's user avatar
2 votes

how to use two rfid rc522 nfc tag reader with a raspberry pi?

Here's a new solution using a resistor and a FET to parallel multiple RC522 RFID readers. I tried UART interface without success, and I2C is too short range. Using SPI code from https://www....
rasman's user avatar
  • 21
2 votes
Accepted

MFRC522 Not working over SPI Interface

This is a known issue: Run sudo rpi-update Make sure you have enabled the interface for this board with dtoverlay=spi0-hw-cs and dtparam=spi=on in the config.txt And that should solve the problem. ...
JBithell's user avatar
  • 163
2 votes

MFRC522 Not working over SPI Interface

I always use dtparam=spi=on. Remove the dtoverlay line, it is not needed. By default the new spi-bcm2853 module should be loaded.
joan's user avatar
  • 71.2k
2 votes

how to read rfid tag using RC522 module with raspberry pi 3

Actually you are right. They have change the peripheral addresses in raspberry 3 kernel which uses the bcm2835. There is a comment in the forums in the link below about that. Check saadnasir comment ...
Michael's user avatar
  • 21
2 votes
Accepted

rfid hf module for pi 3

This project on hackster.io outlines what appears to be a successful approach using a Cottonwood: Long Range UHF RFID reader with a Raspberry Pi 2 running Windows IoT. Per previous comments it's ...
goobering's user avatar
  • 10.7k
2 votes

Impossible to scan RFID tags using libnfc, PN532, and RPi3

I had exactly the same problem problem: communication with host is OK, but tags are not detected. I believe that this is a fake Elechouse module, and it can't work because of terribly designed RF part....
E.S.'s user avatar
  • 21
2 votes

Raspberry Pi 3B RFID RC522 - not reading data

Make sure that the tags you purchase for your RFID RC522 operate on the 13.56MHz frequency otherwise it will fail to read them.
SMshrimant's user avatar
2 votes

Raspberry Pi 3B RFID RC522 - not reading data

I had a similar problem. For some reason the SPI interface would not work on an RPi3. On a hunch I formatted anothed SD card with plain vanilla Debian 8 for Raspberry distro. It worked fine with the ...
user1231247's user avatar
2 votes

'module' object has no attribute 'openSPI' on Raspberry Pi 2

I ran into the same Problem... You got to use virtual-env (recommended by community). Did you import SPI in your script? Else: Reinstalling all the dependencies inlcuding the SPI Module in an ...
nyx00's user avatar
  • 33
2 votes

read a RFID card MiFare 1k classic through a PN532 uart reader with serial.read()

I have no rep, so can't comment directly on Patrick's reply. I know this post is old, but nearly no NFC work has been done for Python. There's one module out there that only does SPI, and there's the ...
Bobby Hill's user avatar
2 votes

connect UHF RFID reader with raspberry pi 3 using rasberian

Considering the info available on the link you provided, I would use the RS232 port of the RFID reader. If the RFID device has real RS232, you need a voltage level translator between the standard ...
bureaucrat's user avatar
2 votes
Accepted

Connecting PN532 NFC module to Raspberry Pi

If I remember correctly the PN532 device is supported by libnfc via the UART. It might be simplest to use the UART solution as it's more likely to be usable out-of-the-box. The UART connection ...
joan's user avatar
  • 71.2k
2 votes
Accepted

Arduino sending serial data to Pi

In your loop you're reading twice from the serial port: read_serial=ser.readline() s[0] = str(ser.readline()) which is probably not what you're trying to intend here. It reads more from the serial ...
Ghanima's user avatar
  • 15.9k
2 votes
Accepted

Sharing SPI Adafruit PiTFT and RFID RC522

Using the answers from Dirk, I have got both my 2.8" TFT and RFID-RC522 working. I have set dtoverlay=spi1-1cs in /boot/config.txt giving me: $ ls /dev/spi* /dev/spidev0.0 /dev/spidev0.1 I ...
Alexander Holsgrove's user avatar
2 votes

Login to Raspberry Pi Via Python Script

The right way to do it would be getting pam_nfc module working with your RFID reader. Once installed, you'll have this pam-nfc-add command which can associate a user with a tag. Another way is to ...
Dmitry Grigoryev's user avatar
2 votes

Raspberry pi 3 RFID RC522 Card UID is not same with USB RFID Reader

The value 1437495737 is in hex 55ae71b9, or in little endian notation b9 71 ae 55 while the integers 185 113 174 85 are in hex also b9 71 ae 55. So you get the same value, just in different ...
RalfFriedl's user avatar
  • 2,188
2 votes

Importing Data from MFRC522 to MariaDB via. raspberry pi 3

The answer for your question can't be given that easily. But here, let me try. Follow this flow. Install and configure MariaDB Install python framework that gives you the connectivity with the ...
Sohan Arafat's user avatar
  • 1,838
2 votes

Way to get signal strength from an RFID reader?

Question Can Rpi4B 4GB, using SimpleMFRC522, triangluate a tag read by a grid of MFRC522 RFID readers? Answer Part A - RFID Reader Triangulation See Refs 1, 2 / to continue, ... Part B - RF ...
tlfong01's user avatar
  • 4,705
2 votes

Connecting RC522 RFID module to Raspberry Pi 4

My guess is that you have not enabled the SPI interface. You should be able to use raspi-config to do this, but I prefer to modify /boot/config.txt. For example, my config.txt includes these lines: ...
Elliot Alderson's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible