Serial.println();

// Halt PICC mfrc522.PICC_HaltA(); delay(1000);

MFRC522 mfrc522(SS_PIN, RST_PIN);

void setup() Serial.begin(9600); SPI.begin(); mfrc522.PCD_Init(); Serial.println("Scan a virtual card...");

// Select one card if (!mfrc522.PICC_ReadCardSerial()) return;

void loop() // Look for new cards if (!mfrc522.PICC_IsNewCardPresent()) return;

Introduction The RC522 is arguably the most popular RFID/NFC module for hobbyists and engineers working with Arduino, PIC, and AVR microcontrollers. Its low cost (often under $5) and ability to read and write 13.56MHz Mifare Classic cards make it a staple in access control, inventory systems, and smart locking mechanisms.

However, before soldering a single wire or risking physical hardware, every smart developer simulates first. This is where Proteus Design Suite (specifically Proteus ISIS) shines. But there is a catch:

Este sitio web utiliza cookies para que usted tenga la mejor experiencia de usuario. Si continúa navegando está dando su consentimiento para la aceptación de las mencionadas cookies y la aceptación de nuestra política de cookies, pinche el enlace para mayor información.

ACEPTAR
Aviso de cookies