Help with PN532 and Raspberry Pi 5 for Business Card Project (RFID/NFC)

Thread Starter

obziel

Joined May 11, 2025
2
Hi everyone,
I’m working on a project where I want to use RFID tags to trigger a digital business card on a phone. The idea is to scan an RFID/NFC tag and open a webpage or contact info automatically — like an NFC business card.

I’m using the PN532 NFC module and a Raspberry Pi 5. I’ve tried wiring it with I2C and also attempted using SPI, but I’m running into issues — either the module isn’t being detected properly, or I get errors when running code.

I’m also struggling with the Python code. I want to know:

  1. Is it actually possible to use the PN532 for this kind of NFC tag writing/reading to trigger a business card on smartphones?
  2. Is there a reliable and up-to-date Python library that works well with PN532 and Raspberry Pi 5?
  3. Where can I learn more in detail about how to wire and program this correctly?

Any links to tutorials, GitHub repos, or personal advice would be really appreciated. Thank you!
 

Ya’akov

Joined Jan 27, 2019
10,226
The PN532 is not well suited to the application. It only supports a limited emulation mode. Is there a reason you chose the RPi and/or python?

If so, you might be best of using a USB-based device rather and SPI or I²C. In any case check NXP and STM devices. Both offer eval boards for their chips and offer robust emulation support.
 
Top