/* Emulation MCU runs as SPI slave */
| RC522 Pin | Proteus Model Pin | Connect to Arduino Uno in Proteus | | :--- | :--- | :--- | | SDA/SS | Pin 1 | Digital 10 | | SCK | Pin 2 | Digital 13 | | MOSI | Pin 3 | Digital 11 | | MISO | Pin 4 | Digital 12 | | IRQ | Pin 5 | Not connected (or to Digital 2 — optional) | | GND | Pin 6 | Ground | | RST | Pin 7 | Digital 9 | | VCC | Pin 8 | +3.3V (Important: NOT 5V) |
Crucial Note: Use the Terminal Mode in Proteus to add a POWER terminal of 3.3V. Do not tie VCC to 5V. Even in simulation, some models enforce voltage limits and will “fail” (output undefined logic levels) if overvolted.
Let’s walk through the installation using Proteus 8 Professional (works similarly for versions 7–8.x). For this guide, we assume you have downloaded a verified RC522 Proteus library (sources like The Engineering Projects or GitHub). rc522 proteus library
.hex file of the code above (You can get the hex file from Arduino IDE by holding Shift and clicking Compile, or checking the "Show verbose output" preference).To simulate the RC522 RFID module in Proteus, you must manually add a component library since it is not included in the software's default database. 1. Download and Extract the Library
You can find third-party libraries on hobbyist sites like The Engineering Projects or Cykeo.
Download the .zip or .rar file containing the RC522 library. The Complete Guide to the RC522 Proteus Library:
Extract the files to find two key extensions: .LIB (library) and .IDX (index). 2. Install the Library Files
Copy the extracted .LIB and .IDX files into the Proteus installation directory.
Typical Path: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\DATA\LIBRARY on SPI_receive(bytes):
Alternative Path: Some versions may require files to be placed in C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\Library (check "Hidden Items" in Windows if the folder is missing).
If the library includes a .HEX file for the module's internal firmware, place it in your specific project folder. 3. Locate the Component in Proteus Restart Proteus fully to load the new library. Open Schematic Capture (ISIS). Click the 'P' (Pick Device) button.
Type "RC522" or "MFRC522" in the keywords box. Select the module from the results to add it to your project. 4. Interfacing and Pinout
The RC522 communicates via SPI. For an Arduino Uno simulation, use the following standard pinout: Arduino Uno Pin SDA (SS) SCK MOSI MISO RST
Tip: If you cannot find a functional RC522 library, many users simulate RFID systems by using a Virtual Terminal to manually input card UIDs via the Serial (TX/RX) pins. How to Add RFID Module in Proteus - Cykeo