You enter the strange, often frustrating world of — specifically, the elusive RC522 Proteus Library .

The quest for an RC522 Proteus library mirrors the "Trough of Sorrow" in engineering: You want to simulate to save time, but the act of finding/fixing the simulation takes longer than just buying the $2 module from AliExpress and testing it on a breadboard.

Here is a minimal code example to read the card UID:

To make the RC522 work in a simulation, you will also need the for your firmware. The standard pin configuration for an Arduino Uno is as follows: Arduino Pin SDA (SS) SPI Chip Select SCK MOSI SPI Data Out MISO SPI Data In RST VCC Power (Do not use 5V) GND 4. Adding Text to Your Schematic

How to Add Arduino UNO Library to Proteus | Step-by-Step Guide