Featured

Search

How to use NodeMCU Getting started with NodeMcu the Basics

NodeMcu Tutorials complete tutorials with source codes


Welcome to the first Tutorial of NodeMcu. In this tutorial we will learn about NodeMcu board.Why we use the NodeMcu. How to use NodeMcu and  installation of NodeMcu with Arduino IDE. We will see some projects with NodeMcu after first 10 basic Tutorials.
So here are the Contents for today:

Contents

  1. Introduction to NodeMcu
  2. Why to use NodeMcu
  3. Pinout Configuration of NodeMcu
  4. Board Specification
  5. Installation of NodeMcu with Arduino IDE
  6. Code testing

1-Introduction to NodeMcu

NodeMcu is an open source IOT plateform based upon esp8266. NodeMcu is a cheap Wifi module with an open source hardware. The board is quite similar to the arduino nano board but it has some great features as compared to the arduino board. The best thing as it appears to it's wifi capability. We can connect the module to the wifi Router or any wifi network.This can be very useful in many applications.It has an open source hardware as arduino. The cool part is that we just have to install the module from arduino IDE and it can work and programm in arduino IDE.
This cheap wifi module can be utilized in many interesting projects.We will see  some of great projects with NodeMcu in coming posts.

2-Why  to Use NodeMcu

NodeMcu  esp 8266 -12 is an arduino Compatible platform. The module is usually used for Wifi based applications. This cheap wifi module is also used as an open source hardware. The module can be programmed with arduino IDE.The Module is useful in many ways we can control many things using wifi communication.the module has few pins for output connections. The module is suitable to the bread biard and easily programmable.

3-Pinout Configuration of NodeMcu

The NodeMcu has  on board ESP8266-12E that makes the board suitable for IOT. The inbuilt 3.3 volts regulator .The module has UART pins the RX and TX pins and  a micro usb port for program uploading.The physical  appearance is much similar to the arduino nano board. 

NodeMcu Tutorials complete tutorials with source codes

4-Specification

The NodeMcu development Kit has the following Specifications:

  • Wi-Fi Module – ESP-12E module 
  • USB-TTL included, plug&play
  • 10 GPIO, every GPIO can be PWM, I2C, 1-wire
  • GPIOs, SPI, UART, ADC, and power pins
  • PCB antenna

5-Installation of NodeMcu in Arduino IDE

Follow the steps to install the NodeMcu setup in Arduino IDE:

Step # 01:

File tab and then click on Preferences:
Boards Manager URLs add the following link :
http://arduino.esp8266.com/stable/package_esp8266com_index.json


NodeMcu Tutorials complete tutorials with source codes

Step # 02:

Tools > Boards  >  Boards Manager

Now in the search field type :

esp8266 > click the link esp8266 by ESP8266 Community  > Click Install



NodeMcu Tutorials complete tutorials with source codes

NodeMcu Tutorials complete tutorials with source codes


Final Step:

Now  Go to the Boards and in the list select the NodeMCU 1.0  the (ESP-12E Module).

Now that's it! We have installed the setup for NodeMcu. Select  the NodeMcu board same as we select for arduino boards like nano , Uno or mega. Select Esp-12E module this time.

If the arduino IDE doesn't recognize the port for  NodeMcu update the drivers from the Device manager.


Testing Code:

For the testing the board Go to the examples and Run a simple Blink Code :

Complete Tutorials of NodeMcu with source codes


Code:

// 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
}

So here is the Basic Tutorial about NodeMMcu. This is the basic setup that we need before moving towards the next tutorials.In the coming  tutorials we will see some of the great projects with NodeMcu. Stay connected with us and  Subscribe to our YouTube  Channel.
Stay Happy and Stay Motivated....!!!
Previous
Next Post »

Featured