NodeMCU: Difference between revisions
→Basics
No edit summary |
(→Basics) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1:
[[Category:NodeMCU]]
Source: [https://www.instructables.com/id/NodeMCU-ESP8266-Details-and-Pinout/ 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:
[[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 =
Line 39 ⟶ 78:
|}
<br />
|