SKU: OT705-D81 Αριθμός είδους: AA128 EAN: 8720618827890
Να ανοίγετε μια πόρτα με το key tag ή το key card σας Μπορείτε να το φτιάξετε μόνοι σας με αυτό το RFID (NFC) kit.
Περιλαμβάνει S50 Key tag, S50 Key Card, κανονικά headers και headers 90 μοιρών.
δείτε εδώ το Διάγραμμα σύνδεσης και τον ενδεικτικό κώδικα >>>
Συχνότητα λειτουργίας: 13.56 MHz
Υποστηριζόμενες κάρτες*: Mifare1 S50, Mifare1 S70, Mifare UltraLight, Mifare Pro, Mifare Desfire
Διαστάσεις: 40mm x 60mm
Τάση: 3.3V DC
Ονομαστικό ρεύμα: 13-26mA / DC 3.3V
Ρεύμα αδράνειας: 10-13mA / DC 3.3V
Κατανάλωση ρεύματος σε κατάσταση αναμονής: <80uA
Ρεύμα αιχμής: <30mA
Όροι αναζήτησης: rfid, rfid kit, rfid-kit, rfid set, nfc set, nfc kit
Διαστάσεις
Μήκος: 6cm
Πλάτος: 4cm
Ύψος: 0,2cm
Έτσι συνδέεις το RFID-RC522 NFC Kit MFRC522 S50 Mifare incl. RFID Fudan Card en Key Tag σε ένα Arduino UNO ή ESP32, με ένα παράδειγμα sketch που μπορείς να ανεβάσεις αμέσως.
Αυτό το έργο διαβάζει το μοναδικό αναγνωριστικό (UID) και τον τύπο κάρτας από κάρτες RFID ή μπρελόκ 13.56 MHz χρησιμοποιώντας το module RC522. Ένας εξωτερικός μετατροπέας στάθμης λογικών σημάτων 4 καναλιών μετατρέπει με ασφάλεια τα σήματα SPI και ελέγχου 5V του Arduino Uno σε 3.3V. Ανοίξτε το Serial Monitor στα 115200 baud και φέρτε μια κάρτα κοντά στον αναγνώστη για να δείτε το UID της.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : RC522 RFID Card Reader UID Scanner
* Board : Arduino UNO (arduino:avr:uno)
* Parts : RFID RC522 Module 13.56MHz
* Libraries : MFRC522 1.4.12
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
#include <SPI.h>
#include <MFRC522.h>
#define SS_PIN 10
#define RST_PIN 9
MFRC522 rfid(SS_PIN, RST_PIN);
void setup() {
Serial.begin(115200);
while (!Serial) {
; // Wait for serial port
}
SPI.begin();
rfid.PCD_Init();
Serial.println(F("RC522 RFID Reader Ready."));
Serial.println(F("Place an RFID card/tag near the antenna..."));
}
void loop() {
// Look for new RFID cards
if (!rfid.PICC_IsNewCardPresent() || !rfid.PICC_ReadCardSerial()) {
return;
}
Serial.print(F("Card UID: "));
for (byte i = 0; i < rfid.uid.size; i++) {
if (rfid.uid.uidByte[i] < 0x10) {
Serial.print(F("0"));
}
Serial.print(rfid.uid.uidByte[i], HEX);
if (i < rfid.uid.size - 1) {
Serial.print(F(" "));
}
}
Serial.println();
// Print card type
MFRC522::PICC_Type piccType = rfid.PICC_GetType(rfid.uid.sak);
Serial.print(F("Card Type: "));
Serial.println(rfid.PICC_GetTypeName(piccType));
Serial.println();
// Stop reading current card
rfid.PICC_HaltA();
rfid.PCD_StopCrypto1();
}
Απαραίτητες βιβλιοθήκες: MFRC522 1.4.12
Wiring diagram and example code generated by Codey.online — https://www.codey.online
Αυτό το project διαβάζει RFID tags και smart cards χρησιμοποιώντας το module RFID RC522 13.56 MHz μέσω SPI. Όταν μια κάρτα ή ένα κλειδομπρελόκ φέρεται κοντά στον reader, το Unique Identifier (UID) και ο τύπος της κάρτας εμφανίζονται στο Serial Monitor.
/*
* ==================================================================
* Generated by Codey.online — https://www.codey.online
* ==================================================================
* Project : RFID RC522 Card UID Reader with ESP32
* Board : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
* Parts : RFID RC522 Module 13.56MHz
* Libraries : MFRC522 1.4.12
*
* Codey Online is an AI-powered browser IDE for Arduino and ESP32.
* Describe your project and Codey writes the code, draws the wiring
* diagram and uploads it to your board, straight from the browser.
* This code is free to use, modify and share, without warranty.
* ==================================================================
*/
#include <SPI.h>
#include <MFRC522.h>
#define SS_PIN 5
#define RST_PIN 4
MFRC522 rfid(SS_PIN, RST_PIN);
void setup() {
Serial.begin(115200);
while (!Serial);
SPI.begin(); // Initialize SPI bus
rfid.PCD_Init(); // Initialize MFRC522 reader
Serial.println("--- RFID RC522 Initialized ---");
Serial.println("Hold an RFID card or key fob near the reader...");
}
void loop() {
// Look for new RFID cards
if (!rfid.PICC_IsNewCardPresent()) {
return;
}
// Select one of the cards
if (!rfid.PICC_ReadCardSerial()) {
return;
}
// Print Card UID
Serial.print("Card UID: ");
for (byte i = 0; i < rfid.uid.size; i++) {
if (rfid.uid.uidByte[i] < 0x10) {
Serial.print(" 0");
} else {
Serial.print(" ");
}
Serial.print(rfid.uid.uidByte[i], HEX);
}
Serial.println();
// Print PICC type
MFRC522::PICC_Type piccType = rfid.PICC_GetType(rfid.uid.sak);
Serial.print("Card Type: ");
Serial.println(rfid.PICC_GetTypeName(piccType));
// Halt PICC and stop encryption
rfid.PICC_HaltA();
rfid.PCD_StopCrypto1();
delay(1000);
}
Απαραίτητες βιβλιοθήκες: MFRC522 1.4.12
Wiring diagram and example code generated by Codey.online — https://www.codey.online