Hi.

I’m using the Raspi 5 in combination with the waveshark rn532 module. I used this tutorial and the rn532 wiki for the setup. I have the rn532 connected to my Raspi, uart is on, all set. (I think it’s normal for the rn532-LED to be red?)

But the code used in the articles doesn’t work anymore on the Raspi 5. I think it’s the code, since I fixed all other errors. The code still uses ttyS0 for uart, but there is not a trace of ttyS0 on my Raspi, even tough I enabled serial port in raspi-config. Every time I want to execute the example_get_uid.py mentioned in the articles, I get the error “[Errno 2] could not open port /dev/ttys0: [Errno 2] No such file or directory: ‘/dev/ttyS0’” and indeed, ttyS0 doesn’t exist.

So is there any newer code for communicating with an NFC-Tag via Raspi 5 (rn532)? Or how to fix the code?