Aritro Mukherjee
Published © GPL3+

Getting started with ESP NodeMcu using ArduinoIDE

A step-by-step tutorial about setting up of this ESP module and executing the "Blinking-LED" code in ArduinoIDE.

IntermediateProtip30 minutes70,653

Things used in this project

Hardware components

5 mm LED: Red
5 mm LED: Red
×1
Seeed Studio ESP-12E NodeMcu V3
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Breadboard (generic)
Breadboard (generic)
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1
NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Connection schematic diagram

Follow the tutorial for connecting the NodeMCU module

Code

General code

Arduino
/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.
 */


// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(13, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}

Credits

Aritro Mukherjee

Aritro Mukherjee

4 projects • 370 followers
Enthusiastic about IOT , Robotics and Automation technologies

Comments