From f259c2dda1f6ea474808f862eb92d79390bd2b39 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Wed, 24 Apr 2019 10:06:16 -0400 Subject: [PATCH] NodeMCU Pin Labels --- Expanding-Sonoffs.md | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/Expanding-Sonoffs.md b/Expanding-Sonoffs.md index 4b9376a7..37f51693 100644 --- a/Expanding-Sonoffs.md +++ b/Expanding-Sonoffs.md @@ -155,17 +155,19 @@ The ESP8266 has one SPI connection available to the user, referred to as HSPI. I ### GPIO overview -GPIO | Function | State | Restrictions ----------------|-----------|------------|------------------------------------------------------------------ -0 | Boot mode select | 3.3V | No Hi-Z -1 | TX0 | - | Not usable during Serial transmission -2 | Boot mode select TX1 | 3.3V (boot only) | Don’t connect to ground at boot time Sends debug data at boot time -3 | RX0 | - | Not usable during Serial transmission -4 | SDA (I²C) | - | - -5 | SCL (I²C) | - | - -6 - 11 | Flash connection | x | Not usable, and not broken out -12 | MISO (SPI) | - | - -13 | MOSI (SPI) | - | - -14 | SCK (SPI) | - | - -15 | SS (SPI) | 0V | Pull-up resistor not usable -16 | Wake up from sleep | - | No pull-up resistor, but pull-down instead Should be connected to RST to wake up +NodeMCU Labelled Pin | GPIO | Function | State | Restrictions +-|-|-|-|- +D3 | 0 | Boot mode select | 3.3V | No Hi-Z +D10 | 1 | TX0 | - | Not usable during Serial transmission +D4 | 2 | Boot mode select TX1 | 3.3V (boot only) | Don’t connect to ground at boot time Sends debug data at boot time +D9 | 3 | RX0 | - | Not usable during Serial transmission +D2 | 4 | SDA (I²C) | - | - +D14 | 5 | SCL (I²C) | - | - + x | 6 - 8 | Flash connection | x | Not usable, and not broken out + x | 9, 10 | Flash connection * | | * Only available on the ESP8285 + x | 11 | Flash connection | x | Not usable, and not broken out +D6 | 12 | MISO (SPI) | - | - +D7 | 13 | MOSI (SPI) | - | - +D5 | 14 | SCK (SPI) | - | - +D8 | 15 | SS (SPI) | 0V | Pull-up resistor not usable +D0 | 16 | Wake up from sleep | - | No pull-up resistor, but pull-down instead Should be connected to RST to wake up