I am developing a payment system (with Arduino MEGA) that uses RFID readers and posts data to a server using an ethernet shield.
Although the Ethernet works well, the RFID reader does not. It seems to initialize (Firmware Version: 0x92 = v2.0 in the serial monitor), but it is unresponsive to any cards).
I have read that this is caused by the fact that they share the SPI bus, but I have not managed to find a good way to fix this.
Also, should I change my SS pin for the RFID reader?
Thanks in advance for your help
p.s. here is my code:
Payment_system_-_no_credentials.ino (25.6 KB)