NodeMCU: Difference between revisions
Content added Content deleted
m (Protected "NodeMCU Hardware" ([Edit=Allow only logged in users] (indefinite) [Move=Allow only logged in users] (indefinite) [Delete=Allow only logged in users] (indefinite))) |
(→Basics) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:NodeMCU]] |
[[Category:NodeMCU]] |
||
<br /> |
|||
Source: [https://www.instructables.com/id/NodeMCU-ESP8266-Details-and-Pinout/ instructables.com] |
|||
=My Hardware= |
|||
<br /> |
|||
*The term NodeMCU usually refers to the firmware, while the board is called Devkit. |
|||
⚫ | |||
*NodeMCU Devkit 1.0 consists of an ESP-12E on a board, which facilitates its use. |
|||
<center> |
|||
*The ESP-12E is a board created by AI-THINKER, which consists of an ESP8266EX inside the metal cover. |
|||
*It also has a voltage regulator, a USB interface. |
|||
*NodeMCU Internals: |
|||
[[File:NodeMCU Inside.jpg|center|NodeMCU Internals]] |
|||
*ESP-12E: |
|||
[[File:ESP-12E.jpg|center|ESP-12E]] |
|||
*ESP8266EX: |
|||
[[File:ESP8266EX.jpg|center|ESP8266EX]] |
|||
= Basics = |
|||
*Technical specifications: |
|||
CPU frequency: 80MHz, overclockable to 160MHz |
|||
Total RAM available: 96KB (part of it reserved for system) |
|||
BootROM: 64KB |
|||
Internal FlashROM: None |
|||
External FlashROM: code and data, via SPI Flash. Normal sizes 512KB-4MB. |
|||
GPIO: 16 + 1 (GPIOs are multiplexed with other functions, including external FlashROM, UART, deep sleep wake-up, etc.) |
|||
Programming: using BootROM bootloader from UART. |
|||
Due to external FlashROM and always-available BootROM bootloader, ESP8266 is not brickable. |
|||
*The NodeMCU ESP8266 board has 30 pins connected to the development board. |
|||
*Out of the 30 pins, 17 are GPIO pins. |
|||
*These GPIO pins can be used as: |
|||
ADC Channel: 10-bit ADC (Analog to Digital Converter) channel |
|||
UART interface: used to load code serially |
|||
PWM outputs: for dimming LEDs or controlling motors |
|||
SPI and I2C interface: to hook up all sorts of sensors and peripherals |
|||
I2S: to add sound to your project |
|||
*These GPIO pins are multiplexed, meaning a single GPIO pin can act as PWM/UART/SPI. |
|||
= Pinout = |
|||
[[File:Nodemcu-pinout.png|center|Nodemcu pinout]] |
|||
⚫ | |||
{| class="wikitable" |
{| class="wikitable" |
||
! Pin Names on NodeMCU Development Kit !! ESP8266 Internal GPIO Pin number |
|||
|- |
|- |
||
|D0 || GPIO16 |
|||
! Hardware item !! Supplier !! Cost(Rs) |
|||
|- |
|- |
||
|D1 || GPIO5 |
|||
|| ESP8266 NodeMcu WiFi Development Board || Amazon || 449 |
|||
|- |
|- |
||
|D2 || GPIO4 |
|||
|- |
|- |
||
|D3 || GPIO0 |
|||
! style="text-align: center;"| Total ||colspan=2| ₨ 449/- |
|||
|- |
|||
|D4 || GPIO2 |
|||
|- |
|||
|D5 || GPIO14 |
|||
|- |
|||
|D6 || GPIO12 |
|||
|- |
|||
|D7 || GPIO13 |
|||
|- |
|||
|D8 || GPIO15 |
|||
|- |
|||
|D9/RX || GPIO3 |
|||
|- |
|||
|D10/TX || GPIO1 |
|||
|- |
|||
|D11/SD2 || GPIO9 |
|||
|- |
|||
|D12/SD3 || GPIO10 |
|||
|} |
|} |
||
</center> |
|||
<br /> |
|||
<br /> |
<br /> |
Latest revision as of 13:21, 22 March 2020
Source: instructables.com
- The term NodeMCU usually refers to the firmware, while the board is called Devkit.
- NodeMCU Devkit 1.0 consists of an ESP-12E on a board, which facilitates its use.
- The ESP-12E is a board created by AI-THINKER, which consists of an ESP8266EX inside the metal cover.
- It also has a voltage regulator, a USB interface.
- NodeMCU Internals:
- ESP-12E:
- ESP8266EX:
Basics
- Technical specifications:
CPU frequency: 80MHz, overclockable to 160MHz Total RAM available: 96KB (part of it reserved for system) BootROM: 64KB Internal FlashROM: None External FlashROM: code and data, via SPI Flash. Normal sizes 512KB-4MB. GPIO: 16 + 1 (GPIOs are multiplexed with other functions, including external FlashROM, UART, deep sleep wake-up, etc.) Programming: using BootROM bootloader from UART. Due to external FlashROM and always-available BootROM bootloader, ESP8266 is not brickable.
- The NodeMCU ESP8266 board has 30 pins connected to the development board.
- Out of the 30 pins, 17 are GPIO pins.
- These GPIO pins can be used as:
ADC Channel: 10-bit ADC (Analog to Digital Converter) channel UART interface: used to load code serially PWM outputs: for dimming LEDs or controlling motors SPI and I2C interface: to hook up all sorts of sensors and peripherals I2S: to add sound to your project
- These GPIO pins are multiplexed, meaning a single GPIO pin can act as PWM/UART/SPI.
Pinout
Pin Names on NodeMCU Development Kit | ESP8266 Internal GPIO Pin number |
---|---|
D0 | GPIO16 |
D1 | GPIO5 |
D2 | GPIO4 |
D3 | GPIO0 |
D4 | GPIO2 |
D5 | GPIO14 |
D6 | GPIO12 |
D7 | GPIO13 |
D8 | GPIO15 |
D9/RX | GPIO3 |
D10/TX | GPIO1 |
D11/SD2 | GPIO9 |
D12/SD3 | GPIO10 |
- References
{{#widget:DISQUS
|id=networkm
|uniqid=NodeMCU
|url=https://aman.awiki.org/wiki/NodeMCU
}}