diff --git a/README.rst b/README.rst index b15ac36..2382724 100644 --- a/README.rst +++ b/README.rst @@ -134,41 +134,41 @@ Pin Layout The following table shows the typical pin layout used: -+-----------+----------+---------------------------------------------------------------+--------------------------+ -| | PCD | Arduino | Teensy | -| +----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ -| | MFRC522 | Uno / 101 | Mega | Nano v3 |Leonardo / Micro | Pro Micro | 2.0 | ++ 2.0 | 3.1 | -+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ -| Signal | Pin | Pin | Pin | Pin | Pin | Pin | Pin | Pin | Pin | -+===========+==========+=============+=========+=========+=================+===========+========+========+========+ -| RST/Reset | RST | 9 [1]_ | 5 [1]_ | D9 | RESET / ICSP-5 | RST | 7 | 4 | 9 | -+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ -| SPI SS | SDA [3]_ | 10 [2]_ | 53 [2]_ | D10 | 10 | 10 | 0 | 20 | 10 | -+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ -| SPI MOSI | MOSI | 11 / ICSP-4 | 51 | D11 | ICSP-4 | 16 | 2 | 22 | 11 | -+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ -| SPI MISO | MISO | 12 / ICSP-1 | 50 | D12 | ICSP-1 | 14 | 3 | 23 | 12 | -+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ -| SPI SCK | SCK | 13 / ICSP-3 | 52 | D13 | ICSP-3 | 15 | 1 | 21 | 13 | -+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ ++-----------+----------+-----------------------------------------------------------------------------------+ +| | PCD | Arduino | +| +----------+-------------+---------+---------+-----------------+-----------+---------+---------+ +| | MFRC522 | Uno / 101 | Mega | Nano v3 |Leonardo / Micro | Pro Micro | Yun [4]_| Due | ++-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+ +| Signal | Pin | Pin | Pin | Pin | Pin | Pin | Pin | Pin | ++===========+==========+=============+=========+=========+=================+===========+=========+=========+ +| RST/Reset | RST | 9 [1]_ | 5 [1]_ | D9 | RESET / ICSP-5 | RST | Pin9 | 22 [1]_ | ++-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+ +| SPI SS | SDA [3]_ | 10 [2]_ | 53 [2]_ | D10 | 10 | 10 | Pin10 | 23 [2]_ | ++-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+ +| SPI MOSI | MOSI | 11 / ICSP-4 | 51 | D11 | ICSP-4 | 16 | ICSP4 | SPI-4 | ++-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+ +| SPI MISO | MISO | 12 / ICSP-1 | 50 | D12 | ICSP-1 | 14 | ICSP1 | SPI-1 | ++-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+ +| SPI SCK | SCK | 13 / ICSP-3 | 52 | D13 | ICSP-3 | 15 | ICSP3 | SPI-3 | ++-----------+----------+-------------+---------+---------+-----------------+-----------+---------+---------+ -+-----------+---------------+---------+ -| | ESP8266 | Arduino | -| +---------------+---------+ -| | Wemos D1 mini | Yun [4]_| -+-----------+---------------+---------+ -| Signal | Pin | Pin | -+===========+===============+=========+ -| RST/Reset | D3 | Pin9 | -+-----------+---------------+---------+ -| SPI SS | D8 | Pin10 | -+-----------+---------------+---------+ -| SPI MOSI | D7 | ICSP4 | -+-----------+---------------+---------+ -| SPI MISO | D6 | ICSP1 | -+-----------+---------------+---------+ -| SPI SCK | D5 | ICSP3 | -+-----------+---------------+---------+ ++-----------+---------------+--------------------------+ +| | ESP8266 | Teensy | +| +---------------+--------+--------+--------+ +| | Wemos D1 mini | 2.0 | ++ 2.0 | 3.1 | ++-----------+---------------+--------+--------+--------+ +| Signal | Pin | Pin | Pin | Pin | ++===========+===============+========+========+========+ +| RST/Reset | D3 | 7 | 4 | 9 | ++-----------+---------------+--------+--------+--------+ +| SPI SS | D8 | 0 | 20 | 10 | ++-----------+---------------+--------+--------+--------+ +| SPI MOSI | D7 | 2 | 22 | 11 | ++-----------+---------------+--------+--------+--------+ +| SPI MISO | D6 | 3 | 23 | 12 | ++-----------+---------------+--------+--------+--------+ +| SPI SCK | D5 | 1 | 21 | 13 | ++-----------+---------------+--------+--------+--------+ .. [1] Configurable, typically defined as RST_PIN in sketch/program. .. [2] Configurable, typically defined as SS_PIN in sketch/program. diff --git a/library.json b/library.json index 4a32474..ee9e9d0 100644 --- a/library.json +++ b/library.json @@ -11,5 +11,5 @@ }, "exclude": "doc", "frameworks": "arduino", - "platforms": ["atmelavr", "ststm32", "espressif8266", "espressif32", "samd"] + "platforms": ["atmelavr", "atmelsam", "ststm32", "espressif8266", "espressif32", "samd"] } diff --git a/library.properties b/library.properties index 1c0c14b..1e11ce3 100644 --- a/library.properties +++ b/library.properties @@ -6,4 +6,4 @@ sentence=Arduino RFID Library for MFRC522 (SPI) paragraph=Read/Write a RFID Card or Tag using the ISO/IEC 14443A/MIFARE interface. category=Communication url=https://github.com/miguelbalboa/rfid -architectures=avr,megaavr,STM32F1,teensy,esp8266,esp32,samd +architectures=avr,megaavr,STM32F1,teensy,esp8266,esp32,samd,atmelsam