From c31b727996123732afc55916c3d5643d05a8473e Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Wed, 3 Jun 2020 21:18:35 +0200 Subject: [PATCH] update wiring information add hint what SPI interface is used #518 add yun to pin layout --- README.rst | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/README.rst b/README.rst index 4501472..d68cd29 100644 --- a/README.rst +++ b/README.rst @@ -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 | +-----------+----------+-------------+---------+---------+-----------------+-----------+--------+--------+--------+ -+-----------+---------------+ -| | ESP8266 | -| +---------------+ -| | Wemos D1 mini | -+-----------+---------------+ -| Signal | Pin | -+===========+===============+ -| RST/Reset | D3 | -+-----------+---------------+ -| SPI SS | D8 | -+-----------+---------------+ -| SPI MOSI | D7 | -+-----------+---------------+ -| SPI MISO | D6 | -+-----------+---------------+ -| SPI SCK | D5 | -+-----------+---------------+ ++-----------+---------------+---------+ +| | 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 | ++-----------+---------------+---------+ .. [1] Configurable, typically defined as RST_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. +.. [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