NodeMCU

NodeMCU

NodeMCU is an open-source IOT platform refers to Lua based firmware developed for ESP8266 Wi-Fi Soc by Espressif Systems.


NodeMCU Basics

Getting Started with NodeMCU using Arduino IDE

Writing sketch for NodeMCU using Arduino IDE.

Introduction to NodeMCU

NodeMCU is an Open Source IoT platform. It includes LUA based firmware with ESP8266 Wi-Fi SoC (System on Chip).

Getting started with NodeMCU

Start with building NodeMCU custom firmware and uploading it on NodeMCU Development Board.

NodeMCU GPIO with Arduino IDE

NodeMCU based ESP8266 has General-purpose input/output (GPIO) feature through which it can talk with I/O devices. They are used to control lights and motors, reading sensors, switches, etc.

NodeMCU ADC with Arduino IDE

NodeMCU based ESP8266 has an Analog to Digital Converter (ADC) feature through which it can read analog values from external I/O devices/sensors.

NodeMCU Development Kit/Board

Overview of NodeMCU Development Kit/Board.

NodeMCU PWM with Arduino IDE

NodeMCU based ESP8266 has a PWM feature on its GPIO pins. PWM is generally used to control the speed of the DC motors or servo motors.

NodeMCU GPIO Interrupts with Arduino IDE

NodeMCU has Interrupts functions on its GPIO pins. It provides a way to get noticed by external events.

NodeMCU Setting Static IP Address

In this guide, we will see how to set a static IP address to the NodeMCU and implement its code on NodeMCU Board.

NodeMCU SPI with Arduino IDE

NodeMCU based ESP8266 has SPI (Serial Peripheral Interface) feature. It is used to communicate with SPI enabled devices such as seven-segment displays, EEPROM, MMC and SDC memory cards, etc.

NodeMCU I2C with Arduino IDE

NodeMCU based ESP8266 has an I2C (Inter-Integrated Circuit) feature. It is used to communicate with I2C enabled devices such as LCD, OLED displays, EEPROM, RTC, magnetometer, accelerometer, etc.

Useful Guides

NodeMCU Erase Flash Memory (Factory Reset)

In this guide, we will learn how to erase the flash memory of NodeMCU using the Windows command prompt and Python.

IoT and Wireless

HC-05 Bluetooth Module Interfacing with NodeMCU

Bluetooth is a wireless communication protocol used to communicate over short distances. HC-05 Bluetooth module uses serial communication to talk with microcontrollers.

HTTP on NodeMCU- Beginners Guide

Hypertext Transfer Protocol (HTTP) is a standard application layer protocol that is commonly used for communication between server and client. Using NodeMCU, we can implement HTTP server/client which is useful for IoT applications.

HTTP Server on NodeMCU with Arduino IDE

Hypertext Transfer Protocol (HTTP) is a standard application layer protocol between server and client. NodeMCU based ESP8266 has wi-fi functionality which can be used to establish an HTTP server.

MQTT on NodeMCU- Publish- Subscribe Beginners Guide

MQTT (Message Queue Telemetry Transport) is a lightweight messaging protocol that is built on TCP protocol. Using NodeMCU, we can implement MQTT server/client which is useful for IoT applications.

Magnetometer HMC5883L Interfacing with NodeMCU

Triple axis Magnetometer HMC5883L is developed by Honeywell which gives heading directions. A magnetometer is used as a digital compass in Mobiles Phones, Navigation systems in vehicles to indicate directions.

NodeMCU Publish Sensor Readings on Google Sheets.

In this guide, we will see how to Publish Sensor Readings to Google Sheets using NodeMCU Board.

Analog Gauge Temperature Reading using Nodemcu Server.

In this guide, we will see how to show temperature readings on the webserver in analog gauge using Nodemcu and Arduino IDE.

Displays

LCD16x2 (I2C Module) Interfacing with NodeMCU

In this guide, we will see how to interface the LCD16x2 with the I2C module and how to Display the text, scroll the text, and build our own custom characters using NodeMCU.

WS2812 RGB LED with Color Picker via Nodemcu Web Server

In this guide, we will see how to interface WS2812 RGB LED with Color Picker Web Server using Nodemcu Board.

OLED Graphic Display Interfacing with NodeMCU

OLED is a compact graphic display module having high contrast pixels which make these displays easily readable without backlight. They are suitable for mobile phone sub-display, TV display, MP3 player, calculators, etc.

16x2 LCD Display Interfacing with NodeMcu

In this guide, we will Interface the 16x2 LCD Display with NodeMcu and print values and strings on LCD using Arduino IDE.

MAX7219 7-Segment Display Interfacing with NodeMCU

In this guide, we will learn how to Interface the MAX7219 7-Segment Display with NodeMCU and display numbers on it using Arduino IDE.

Sensors

RTC DS1307 Interfacing with NodeMCU

In this guide, we will learn how to interface the DS1307 RTC Module with NodeMCU and display the output on a serial monitor as well as Web Server using Arduino IDE.

LM35 Interfacing with NodeMCU

LM35 is a sensor that is used to measure temperature. It provides an electrical output proportional to the temperature (in Celsius).

DHT11 Sensor Interfacing with NodeMCU

Interface single wire DHT11 sensor with NodeMCU and read the value of Temperature and Humidity from DHT11. Display the Temperature and Humidity value on a serial window.

PIR Interfacing with NodeMCU

PIR motion sensor senses the Infrared signal radiated from moving human or animal body. It is generally used to detect the motion of humans or animals.

IR Communication using NodeMCU

IR (infrared) communication is wireless communication technology, used for short-distance data/control transmission. It is commonly used in TV remotes, mobile phones, computers, and PDAs, etc.

MPU6050 Interfacing with NodeMCU

The MPU6050 sensor module is a combination of a 3-axis Gyroscope, 3-axis Accelerometer, and Temperature sensor with an onboard Digital Motion Processor (DMP). It is used in mobile devices, motion enabled games, 3D mice, gesture (motion command) control technology, etc.

Soil Moisture Sensor Interfacing with NodeMCU

The soil moisture sensor is used to measure the water content (moisture) in soil. It is used in agriculture applications, irrigation and gardening systems, etc.

DS18B20 Sensor Interfacing with Nodemcu

In this guide, we will learn how to Interface the DS18B20 Waterproof Digital Temperature Sensor with Nodemcu and display the temperature values on a serial window and on the Web Server using Nodemcu and Arduino IDE.

Thermistor Interfacing with NodeMCU

The thermistor is a type of resistor whose resistance changes in accordance with the change in temperature. It is used to measure the temperature over a small range typically -100 °C to 300 °C.

Control Home appliances using Google Assistant

Built an application to control home appliances using google AI-based assistance

RCWL-0516 Microwave Radar Sensor Interface With Nodemcu

In this guide, we will see how to detect the motion using an RCWL-0516 microwave motion sensor and Nodemcu Board with Arduino IDE.

ADXL345 Accelerometer Interfacing with NodeMCU

In this guide, we will learn how to Interface the ADXL345 Accelerometer with NodeMCU and show the output result on a serial window and Web Server using Arduino IDE.

TTP223B Capacitive Touch Sensor Interfacing with NodeMCU

In this guide, we will learn how to Interface the TTP223B Capacitive Touch Sensor using NodeMCU and control the LED using touch response as well as show the touch status on a serial window using Arduino IDE.

BMP180 Barometer Sensor Interfacing with NodeMCU

In this guide, we will learn how to Interface the BMP180 Barometer Sensor with NodeMCU and show the output result on a serial window and webserver using Arduino IDE.

Capacitive Proximity Sensor Interfacing with NodeMCU

In this guide, we will learn how to interface a Capacitive Proximity Sensor with NodeMCU and show the output result on a serial window using Arduino IDE.

Flex Sensor Interfacing with Nodemcu

In this guide, we will see how to interface the flex sensor with Nodemcu

Thermocouple Sensor Interfacing with NodeMCU

In this guide, we will learn how to Interface the Thermocouple Sensor with NodeMCU and show the output result on a serial window and webpage using Arduino IDE.

BMP280 Barometer Sensor Interfacing with NodeMCU

In this guide, we will learn how to Interface the BPM280 Barometer Sensor and measure the pressure and humidity with NodeMCU and show the output result on a serial window and webpage using Arduino IDE.

MAX30100 Pulse Oximeter Interfacing with NodeMCU

In this guide, we will learn how to Interface the MAX30100 Pulse Oximeter with NodeMCU and measure the pulse oximeter and heart rate and show the output result on a serial window using Arduino IDE.

Modules

4x4 Matrix Keypad Interfacing with NodeMCU

In this guide, we will learn how to Interface the 4x4 Keypad with NodeMCU and show the output result on a serial window using Arduino IDE.

RFID RC522 Interfacing with NodeMCU

In this guide, we will learn how to interface the RFID RC522 Sensor with NodeMCU and show the output result on a serial window using Arduino IDE.

MicroSD Card Interfacing with NodeMCU

In this guide, we will Interface the MicroSD card with NodeMCU and show the output result on a serial window using Arduino IDE.

GPS Module Interfacing with NodeMCU

In this guide, we will learn how to interface GPS Module with NodeMCU and get the location and display on the serial monitor and Web Server using Arduino IDE.

Motors and Actuators

Servo Motor Interfacing with NodeMCU

Servo motor is an electromechanical device that consists of a motor, gear assembly, and feedback circuitry. It is used in Robotics applications, airplanes, rudders, quadcopters, etc.

DC Motor Interfacing with NodeMCU

DC Motor is a device that converts electrical energy into mechanical energy. It is used in the robotics field, toys, quadcopters, etc.

Stepper Motor Interfacing with NodeMCU

Rotate the Stepper Motor Clockwise and anti-clockwise by interfacing it with NodeMCU. Here, we are using a ULN2003 driver which is used to drive a stepper motor.

Basics using ESPlorer IDE

Getting Started with NodeMCU using ESPlorer

Writing Lua script for NodeMCU using ESPlorer IDE.

NodeMCU GPIO with ESPlorer IDE

NodeMCU based ESP8266 has General-purpose input/output (GPIO) feature through which it can talk with I/O devices. They are used to control lights and motors, reading sensors, switches, etc.

NodeMCU ADC with ESPlorer IDE

NodeMCU based ESP8266 has an Analog to Digital Converter (ADC) feature through which it can read analog values from external I/O devices/sensors.

NodeMCU PWM with ESPlorer IDE

NodeMCU based ESP8266 has a PWM feature on its GPIO pins. PWM is generally used to control the speed of the DC motors or servo motors.

NodeMCU GPIO Interrupts with ESPlorer IDE

NodeMCU has interrupts function on its GPIO pins. It provides a way to get noticed by external events.

NodeMCU I2C with ESPlorer IDE

NodeMCU based ESP8266 has an I2C (Inter-Integrated Circuit) feature. It is used to communicate with I2C enabled devices such as LCD, OLED displays, EEPROM, RTC, magnetometer, accelerometer, etc.

NodeMCU UART with ESPlorer IDE

NodeMCU based ESP8266 has a UART (Universal Asynchronous Receiver/Transmitter) serial communication protocol. It is used to communicate with PC and devices like GSM module, GPS module, Bluetooth module, etc. that support communication using UART protocol

NodeMCU Wi-Fi with ESPlorer IDE

NodeMCU based ESP8266 Wi-Fi SoC (System on Chip) produced by Espressif is an integrated design to provide internet connectivity to an application. It has on-chip Wi-Fi which offers wireless LAN technology based on IEEE std. 802.11.

HTTP Client on NodeMCU with ESPlorer IDE

Hypertext Transfer Protocol (HTTP) is a standard application layer protocol that is commonly used for communication between server and client. Using NodeMCU, we can implement HTTP server/client which is useful for IoT applications.

NodeMCU MQTT Client with ESPlorer IDE

MQTT (Message Queue Telemetry Transport) is a lightweight messaging protocol that is built on TCP protocol. Using NodeMCU, we can implement MQTT server/client which is useful for IoT applications.

TCP Server on NodeMCU ESPlorer IDE

Transmission Control Protocol (TCP) is a standard transport layer internet protocol in between server and client. NodeMCU based ESP8266 has wi-fi functionality with integrated TCP/IP protocol.

HTTP Server on NodeMCU with ESPlorer IDE

Hypertext Transfer Protocol (HTTP) is a standard application layer protocol between server and client. NodeMCU based ESP8266 has wi-fi functionality which can be used to establish an HTTP server.

ESP-NOW

Beginners Guide ESP-NOW ESP8266 (NodeMCU) using Arduino Ide

In this guide, we will see what is ESP NOW and how to communicate from one ESP8266 (NodeMCU) Board to another using Arduino ide.

ESP-NOW Two-way communication for ESP8266 (NodeMCU)

In this guide, we will see ESP-NOW two-way communication of ESP8266 (NodeMCU) Boards using Arduino ide.

ESP8266 ESP-NOW Send the data many to one

In this guide, we will see how to send the data using the ESP Now protocol from Multiple ESP8266 (NodeMCU) to one ESP board using Arduino ide.

ESP-NOW ESP8266 One to Many Send the data from one board to multiple boards

In this guide, we will see how to send the data using the ESP Now protocol from one ESP8266 (NodeMCU) to many ESP boards using Arduino IDE.