Wifiibo icon indicating copy to clipboard operation
Wifiibo copied to clipboard

MFRC522 I2C Support

Open gmunday2 opened this issue 5 years ago • 1 comments

Hi , i wanted to make my wifibo system smaller and have a m5stick, and m5 rfid reader, which is a mrc522 connected to spi.

the iic address is 0x28

the rfid unit is the same one as here : https://www.banggood.com/Mini-RFID-Module-RC522-Module-Sensor-for-SPI-Writer-Reader-IC-Card-with-Grove-Port-I2C-Interface-p-1541361.html?cur_warehouse=CN

is there any way to modify code so this system will work?

gmunday2 avatar Jun 20 '20 04:06 gmunday2

Unfortunately, I only adapted the library to support SPI, not I2C. I might be able to add I2C support but I only have older versions of the MFRC522, and the newer (version 2.0) MFRC522 chips don't seem to work with the library, so my code might now work with your board. Pull requests are welcome if you want to implement it!

Xerxes3rd avatar Jun 21 '20 01:06 Xerxes3rd