firmware icon indicating copy to clipboard operation
firmware copied to clipboard

RC522 connection diagram

Open Teapot174 opened this issue 2 years ago • 10 comments

image

Teapot174 avatar Oct 25 '24 10:10 Teapot174

Is this working on CYD2USB??

Grzybekrk avatar Oct 25 '24 12:10 Grzybekrk

20241025_143935.jpg

Also is there any change to use this one rc522

Grzybekrk avatar Oct 25 '24 12:10 Grzybekrk

https://docs.m5stack.com/en/unit/rfid2

M5Stack: RFID2 compared to the previous generation RFID UNIT only makes the replacement of read and write IC (RC522->WS1850S), there is no difference in function.

Apparently it should work with CYD, as long as it is connected correctly. In this case, the module selection option would probably be M5 RFID2.

IncursioHack avatar Oct 25 '24 14:10 IncursioHack

Hi I have tried and cannot figure out how to run it. I have conected SDA to pin 27 (also chceked 22) SCK to CLK, MOSI to CMD, MISO to DAT0 and in config testing all 3 options for module but its not working are you able help 20241027_000336.jpg

Grzybekrk avatar Oct 26 '24 22:10 Grzybekrk

Miso, miso and sck are SPI pins. SDA is an I2C pin. Also, it won't work with SPI, you have to connect the module using I2C for this to work. I don't have this module, so I cannot help much. You can google RC522 I2C connection though

rennancockles avatar Oct 27 '24 01:10 rennancockles

Also, the CYD board is still under development. I don't know the pins are configured in the code for this board. Do you have any other board to test ?

rennancockles avatar Oct 27 '24 01:10 rennancockles

Hey i Just tested different rifd and works but some functions desnt do you know if we can clone tags 20241106_092218.jpg

Grzybekrk avatar Nov 06 '24 08:11 Grzybekrk

It depends on your tag. You need a special tag to be able to write into block 0 to clone. Check out the wiki https://github.com/pr3y/Bruce/wiki/RFID

rennancockles avatar Nov 06 '24 10:11 rennancockles

We found out last week that RC522 doesn't work on I2C without modding (cut 2 trails, one of them below the chip)..

we are studying to implement UART communication (what need to cut ine trail in the board)

for refference: https://forum.arduino.cc/t/rc522-rfid-rc522-switching-spi-to-uart-interface-or-i2c-possible/425741

bmorcelli avatar Dec 07 '24 20:12 bmorcelli

Stale, backburner.

rouing avatar Jan 01 '25 02:01 rouing