0% found this document useful (0 votes)
2 views

Arduino

The NodeMCU ESP8266 is a low-cost IoT development board featuring a built-in Wi-Fi module, a Tensilica Xtensa 32-bit RISC microcontroller, and various GPIO pins for connectivity. It supports programming through Arduino IDE, MicroPython, and Lua, making it versatile for home automation and IoT projects. Key functionalities include UART, SPI, I2C communication, and integration with platforms like Blynk and Firebase.

Uploaded by

roopa2875
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Arduino

The NodeMCU ESP8266 is a low-cost IoT development board featuring a built-in Wi-Fi module, a Tensilica Xtensa 32-bit RISC microcontroller, and various GPIO pins for connectivity. It supports programming through Arduino IDE, MicroPython, and Lua, making it versatile for home automation and IoT projects. Key functionalities include UART, SPI, I2C communication, and integration with platforms like Blynk and Firebase.

Uploaded by

roopa2875
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

NODE MCU

Dept of ECE

ECE Dept., AIT


• The NodeMCU ESP8266 is a popular low-cost IoT (Internet of Things) development board based
on the ESP8266 Wi-Fi module.
• It’s widely used for home automation, IoT projects, and wireless communication applications.
• Key Features of NodeMCU ESP8266:
• Built-in Wi-Fi Module (ESP8266) 📡
• Microcontroller with Tensilica Xtensa 32-bit RISC processor
• Clock Speed: 80 MHz (up to 160 MHz)
• Flash Memory: 4MB (default)
• GPIO Pins: 11 (D0-D10)
• Communication: UART, SPI, I2C
• Operating Voltage: 3.3V
• USB to Serial Converter (CH340 or CP2102)
ECE Dept., AIT
Pin GPIO Function
D0 GPIO16 Wake Up Pin
D1 GPIO5 SCL (I2C)
D2 GPIO4 SDA (I2C)
D3 GPIO0 Flash Button
D4 GPIO2 Built-in LED
D5 GPIO14 SCK (SPI)
D6 GPIO12 MISO (SPI)
D7 GPIO13 MOSI (SPI)
D8 GPIO15 CS (SPI)
A0 ADC0 Analog Input
VIN 5V Power Input
3V3 3.3V Power Output
GND Ground

ECE Dept., AIT


ECE Dept., AIT
ECE Dept., AIT
• The NodeMCU ESP8266 development board comes
with the ESP-12E module containing the ESP8266 chip
having Tensilica Xtensa 32-bit LX106 RISC
microprocessor. This microprocessor supports RTOS and
operates at 80MHz to 160 MHz adjustable clock
frequency. NodeMCU has 128 KB RAM and 4MB of Flash
memory to store data and programs. Its high processing
power with in-built Wi-Fi / Bluetooth and Deep Sleep
Operating features make it ideal for IoT projects.
• NodeMCU can be powered using a Micro USB jack and
VIN pin (External Supply Pin). It supports UART, SPI, and
I2C interface.

ECE Dept., AIT


ECE Dept., AIT
• Procedure to Upload the program
• Once Arduino IDE is installed on the computer, connect
the board with the computer using the USB cable. Now
open the Arduino IDE and choose the correct board by
selecting Tools>Boards>NodeMCU1.0 (ESP-12E
Module), and choose the correct Port by
selecting Tools>Port. To get it started with the
NodeMCU board and blink the built-in LED, load the
example code by
selecting Files>Examples>Basics>Blink. Once the
example code is loaded into your IDE, click on the
‘upload’ button given on the top bar. Once the upload is
finished, you should see the built-in LED of the board
blinking.
ECE Dept., AIT
Low cost device,mc inside it,along
with the mc

ECE Dept., AIT


ECE Dept., AIT
ECE Dept., AIT
• What Can You Do with NodeMCU?
• ✅ IoT Projects (Home Automation)
✅ Sensor Data Collection
✅ Web Server Projects
✅ Wi-Fi Controlled Devices
✅ MQTT Communication
✅ Blynk, Firebase, or ThingSpeak Integration

ECE Dept., AIT


• How to Program NodeMCU (ESP8266):
• You can program NodeMCU using:
1.Arduino IDE (Most Popular)
2.MicroPython
3.Lua (NodeMCU Firmware)

ECE Dept., AIT


• How to Upload Code:
1.Install ESP8266 Board Package in Arduino IDE.
2.Go to Tools > Board > NodeMCU 1.0 (ESP-12E Module).
3.Select the correct COM Port.
4.Click Upload.

ECE Dept., AIT


• Libraries Used with NodeMCU:
• WiFi.h
• ESP8266WiFi
• Blynk
• PubSubClient (MQTT)
• ThingSpeak
• Firebase

ECE Dept., AIT


ECE Dept., AIT

You might also like