Semorphe

板子規格

8 塊板子 · 接線之前先查這裡

⚠️ 這一頁的每一個數字都是從編輯器讀的同一份宣告產生的 ——它不可能與你在畫面上選到的腳位不一致。

時序、接線圖那一類不在這裡:那些住在各課的課文裡。

Arduino Uno

目標 idarduino-uno
腳位0–19
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、A0 = 14、A1 = 15、A2 = 16、A3 = 17、A4 = 18、A5 = 19、A6 = 20、A7 = 21、LED_BUILTIN = 13、SDA = 18、SCL = 19
這幾個數字哪裡來的arduino/ArduinoCore-avr variants/standard/pins_arduino.h

Arduino Nano

目標 idarduino-nano
腳位0–21
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、A0 = 14、A1 = 15、A2 = 16、A3 = 17、A4 = 18、A5 = 19、A6 = 20、A7 = 21、LED_BUILTIN = 13、SDA = 18、SCL = 19
這幾個數字哪裡來的arduino/ArduinoCore-avr variants/eightanaloginputs/pins_arduino.h(boards.txt: nano.build.variant)

ESP32 NodeMCU

目標 idesp32
腳位0–19、21–23、25–27、32–39
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、A0 = 36、A3 = 39、A4 = 32、A5 = 33、A6 = 34、A7 = 35、A10 = 4、A11 = 0、A12 = 2、A13 = 15、A14 = 13、A15 = 12、A16 = 14、A17 = 27、A18 = 25、A19 = 26、LED_BUILTIN = 2、SDA = 21、SCL = 22
這幾個數字哪裡來的espressif/arduino-esp32 variants/nodemcu-32s/pins_arduino.h

ESP32-C3 Supermini

目標 idesp32c3
腳位0–21
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、A0 = 0、A1 = 1、A2 = 2、A3 = 3、A4 = 4、A5 = 5、SDA = 8、SCL = 9
這幾個數字哪裡來的espressif/arduino-esp32 variants/esp32c3/pins_arduino.h

ESP32-S3

目標 idesp32s3
腳位0–21、26–48
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、A0 = 1、A1 = 2、A2 = 3、A3 = 4、A4 = 5、A5 = 6、A6 = 7、A7 = 8、A8 = 9、A9 = 10、A10 = 11、A11 = 12、A12 = 13、A13 = 14、A14 = 15、A15 = 16、A16 = 17、A17 = 18、A18 = 19、A19 = 20、SDA = 8、SCL = 9
這幾個數字哪裡來的espressif/arduino-esp32 variants/esp32s3/pins_arduino.h

ESP32-S3 WROOM CAM

目標 idesp32s3-cam
腳位0–21、26–48
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、A0 = 1、A1 = 2、A2 = 3、A3 = 4、A4 = 5、A5 = 6、A6 = 7、A7 = 8、A8 = 9、A9 = 10、A10 = 11、A11 = 12、A12 = 13、A13 = 14、A14 = 15、A15 = 16、A16 = 17、A17 = 18、A18 = 19、A19 = 20、SDA = 8、SCL = 9
這幾個數字哪裡來的espressif/arduino-esp32 variants/esp32s3/pins_arduino.h(IDE 選 ESP32S3 Dev Module)

Wemos D1 mini

目標 idwemos-d1-mini
腳位0–17
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、D0 = 16、D1 = 5、D2 = 4、D3 = 0、D4 = 2、D5 = 14、D6 = 12、D7 = 13、D8 = 15、A0 = 17、LED_BUILTIN = 2、SDA = 4、SCL = 5
這幾個數字哪裡來的esp8266/Arduino variants/d1_mini/pins_arduino.h + variants/generic/common.h

NodeMCU (ESP8266)

目標 idnodemcu-esp8266
腳位0–17
常數HIGH = 1、LOW = 0、OUTPUT = 1、INPUT = 0、INPUT_PULLUP = 2、D0 = 16、D1 = 5、D2 = 4、D3 = 0、D4 = 2、D5 = 14、D6 = 12、D7 = 13、D8 = 15、D9 = 3、D10 = 1、A0 = 17、LED_BUILTIN = 2、SDA = 4、SCL = 5
這幾個數字哪裡來的esp8266/Arduino variants/nodemcu/pins_arduino.h + variants/generic/common.h