update wiring information

add hint what SPI interface is used #518
add yun to pin layout
This commit is contained in:
Rotzbua
2020-06-03 21:18:35 +02:00
committed by GitHub
parent 1eaedd5792
commit c31b727996

View File

@@ -150,28 +150,30 @@ The following table shows the typical pin layout used:
| SPI SCK | SCK | 13 / ICSP-3 | 52 | D13 | ICSP-3 | 15 | 1 | 21 | 13 | | SPI SCK | SCK | 13 / ICSP-3 | 52 | D13 | ICSP-3 | 15 | 1 | 21 | 13 |
+-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ +-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+
+-----------+---------------+ +-----------+---------------+---------+
| | ESP8266 | | | ESP8266 | Arduino |
| +---------------+ | +---------------+---------+
| | Wemos D1 mini | | | Wemos D1 mini | Yun [4]_|
+-----------+---------------+ +-----------+---------------+---------+
| Signal | Pin | | Signal | Pin | Pin |
+===========+===============+ +===========+===============+=========+
| RST/Reset | D3 | | RST/Reset | D3 | Pin9 |
+-----------+---------------+ +-----------+---------------+---------+
| SPI SS | D8 | | SPI SS | D8 | Pin10 |
+-----------+---------------+ +-----------+---------------+---------+
| SPI MOSI | D7 | | SPI MOSI | D7 | ICSP4 |
+-----------+---------------+ +-----------+---------------+---------+
| SPI MISO | D6 | | SPI MISO | D6 | ICSP1 |
+-----------+---------------+ +-----------+---------------+---------+
| SPI SCK | D5 | | SPI SCK | D5 | ICSP3 |
+-----------+---------------+ +-----------+---------------+---------+
.. [1] Configurable, typically defined as RST_PIN in sketch/program. .. [1] Configurable, typically defined as RST_PIN in sketch/program.
.. [2] Configurable, typically defined as SS_PIN in sketch/program. .. [2] Configurable, typically defined as SS_PIN in sketch/program.
.. [3] The SDA pin might be labeled SS on some/older MFRC522 boards. .. [3] The SDA pin might be labeled SS on some/older MFRC522 boards.
.. [4] Source: https://github.com/miguelbalboa/rfid/issues/111#issuecomment-420433658 .
Important: If your micro controller supports multiple SPI interfaces, the library only uses the **default (first) SPI** of the Arduino framework.
.. _hardware: .. _hardware:
Hardware Hardware