Nodemcu / Nodemcu Pin Configuration

Nodemcu


Nodemcu


GPIO means General-purpose input/output is a pin on an Integrated Circuit (IC) can be either input pin or output pin, whose behavior can be controlled at the run time. The processor has around 16 GPIO lines and some are used internally to interface with other components of the SoC, like flash memory. GPIO pins allow connecting the board with other peripherals and are capable of generating PWM, I2C, SPI, and UART serial communications. GPIO pin can be used as digital inputs to read a digital voltage or digital outputs to output either 0V (sink current) or 3.3V (source current).

Voltage and current restrictions
Single GPIO pin draws 12mA maximum current.
Power < 3.3 V Low Power for chip
Power = = 3.3 v Normal power
Power >3.3 V kill the chip

Functions
A0 A0 is a function (analogRead()) is used to read external voltage applied on ADC pin of module. ESP.getVcc() This function is used to read NodeMCU module VCC voltage. ADC pin must be kept unconnected.
G Power Supply ground.
S3 S0 to S3: Data lines (Quad-I/O mode).
S2 S0 to S3: Data lines (Quad-I/O mode).
S1 S0 to S3: Data lines (Quad-I/O mode).
SC SC: SPI Chip Select.
SK Serial Clock.
3V 3 volts power supply.
EN Chip enable pin.
RST Reset the chip.

GPIO pins
D0 GPIO16 It is a general purpose I/O pin used as GPIO read/write; no special functions are supported on it.
D1 GPIO5 9 general purpose I/O pins
D2 GPIO4
D3 GPIO0
D4 GPIO2
D5 GPIO14
D6 GPIO12
D7 GPIO13
D8 GPIO15
D9/RX GPIO1 RX and TX in order to communicate with a host PC from which compiled object code is downloaded.( 2 pins)
D10/TX GPIO1
D11/SD2 GPIO9 Not mostly used 
D12/SD3 GPIO10 It is used to respond for GPIO/PWM/interrupt like functions.


Home     Back