Skip to content

kkloesener/MFRC522_I2C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MFRC522 i2c

Code is compatible to Arduino and ESP8266 (NodeMCU)

Tested on https://electronics.semaf.at/MFRC522-i2c-Tiny-Breakout-Board MFRC522 i2c Breakout Board

Set the Pin for the RST and i2c address!

#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 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

Added Features

  • Full TwoWire compatibility