# MFRC522_I2C **Repository Path**: flame-ai/MFRC522_I2C ## Basic Information - **Project Name**: MFRC522_I2C - **Description**: Code is compatible to Arduino and ESP8266 (NodeMCU) Tested on https://electronics.semaf.at/MFRC522-i2c-Tiny-Breakout-Board - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-04 - **Last Updated**: 2023-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MFRC522 i2c ### Code is compatible to Arduino and ESP8266 (NodeMCU) Tested on [https://electronics.semaf.at/MFRC522-i2c-Tiny-Breakout-Board](https://electronics.semaf.at/MFRC522-i2c-Tiny-Breakout-Board) ![MFRC522 i2c Breakout Board](https://foruda.gitee.com/images/1685866194451902677/b2bd8b51_5631341.png "MFRC522 i2c Breakout Board") __Set the Pin for the RST and i2c address!__ ```c++ #define RST_PIN 6 // Arduino UNO // #define RST_PIN 14 // D5 on NodeMCU // 0x28 is i2c address of the NFC Reader. Check your address with i2cscanner if not match. MFRC522_I2C mfrc522(0x28, RST_PIN); // Create MFRC522 instance. ``` This Library is the extended Version from @arozcan [MFRC522 i2c Library](https://github.com/arozcan/MFRC522-I2C-Library) Renamed to avoid Problems when using multiple Readers via SPI and I2C. Or when you have multiple Compile-Options in your Projetc like in @biologist79 [ESPuino](https://github.com/biologist79/ESPuino.git) Added Features - Full TwoWire compatibility