diff --git a/doc/arduino-mega-rfid-rc522-wiring.markdown b/doc/arduino-mega-rfid-rc522-wiring.markdown new file mode 100644 index 0000000..ada9329 --- /dev/null +++ b/doc/arduino-mega-rfid-rc522-wiring.markdown @@ -0,0 +1,25 @@ +# Arduino Mega RFID-RC522 wiring + +## Introduction + +**NB! RFID-RC522 requires only 3.3 V DC input voltage. Never connect it to 5V input.** + +
+ +## Wiring illustration + +![arduino-mega-rfid-rc522-wiring.png](arduino-mega-rfid-rc522-wiring.png) + +## Wiring table + +| Signal | ATMega2560 port and pin | Arduino Mega 2560 pin | 5V to 3V converter | RFID-RC522 | Wire colour in illustration | +| --- | --- | --- | --- | --- | --- | +| Slave select | PORTB 0 | 53 | - | SDA | White | +| SPI clock | PORTB 1 | 52 | - | SCK | Orange | +| Master out slave in | PORTB 2 | 51 | - | MOSI | Green | +| Master in slave out | PORTB 3 | 50 | - | MISO | Yellow | +| RF522 reset | PORTL 0 | 49 | - | RST | Brown | +| Ground | GND | GND | GND | GND | Black | +| 5 V DC | - | 5V | VIN | - | Red | +| 3,3 V DC | - | - | VOUT | 3.3 V | Red | + diff --git a/doc/arduino-mega-rfid-rc522-wiring.png b/doc/arduino-mega-rfid-rc522-wiring.png new file mode 100644 index 0000000..d3ae3c0 Binary files /dev/null and b/doc/arduino-mega-rfid-rc522-wiring.png differ