Introduction to Node MCU

In the previous blog we introduced you to Internet of Things. Today we will introduce you to a hardware device which is used to make IoT devices. There are many different boards available in the market such as Arduino Uno, Raspberry Pi, Node MCU, and so on.

For beginners, we would say node MCU is the best one to go with. So let's understand what is Node MCU.


The NodeMCU (Node MicroController Unit) is an open-source software and hardware development environment that is built around a very inexpensive System-on-a-Chip (SoC) called the ESP8266.

Esp8266 is the heart of node MCU.

                                                               


                        

Esp8266 is the component that helps us to connect Node MCU with Wi-Fi, thus we can share data using Node MCU over the internet. Sharing of data over the internet can be anything like storing the data in a cloud or storing it in any database, files, etc.


You can refer to this video for a better understanding.




We can program node MCU via C and C++ using the Arduino IDE. It was originally programmed using Lua script

Node MCU can be accessed with the internet. Don't confuse yourself here. Node MCU can operate without the internet also. We can attach sensors and make devices that work without the help of the Internet using Node MCU. If needed, we can connect Node MCU to the internet using Wi-Fi.


Node MCU has different connector pins that can be connected to different devices.


                                                    

       

  • USB to UART bridge is a kind of language converter. The one shown in this picture is square in shape but it can be rectangular in shape also. In the easiest term consider that USB connected to your computer is a language that is not understandable by Node MCU. So this bridge converts that language into one which is understood by Node MCU.
  • There are two LEDs in node MCU we will learn to switch them on and off in further videos
  • The regulator and the capacitors control the internal voltage of the board
  • The WiFi module is the esp8266 WiFi chip and microcontroller.


Now we will look at the pin diagram. Look at the left-hand side.


                                                              

          


  • There are 9 digital pins from pin D0 to D8 which sends digital and analog signals and receives digital signals.
  • There are Rx and TX pins that stand for receiver and transmitter. It is mostly used while working with Bluetooth.
  • On the right side, we have an A0 pin which is an analog pin that receives analog signals.
  • Vin is used to power the node MCU in case you don't use the USB cable.
  • Then we have gnd and 3V3 which is ground and voltage pins connected with ground and VCC of sensors.

These are the pins that are mostly used while developing a project.


Let us quickly summarize the features of node MCU - 

  • It is an open-source platform as you have all the packages and codes openly available.
  • It provides an interactive environment between physical devices which can be enhanced with the help of internet
  • Node MCU is easily programmable
  • It is a low-cost microcontroller which costs around Rs 300. It is very nominal considering the features it provides.
  • It is very simple to operate which will seem more simple if you keep on following Tech Stormers.
  • Node MCU is used to make smart IoT devices
  • It is WiFi-enabled which makes this device a very good platform to make smart devices, especially for beginners.

We will keep posting interesting blogs. Follow us to show your support, it keeps us motivated.!


YouTube - youtube.com/techStormers

Facebook - facebook.com/techstormers

Instagram - instagram.com/techstormers

Comments

Popular posts from this blog

Connecting LED with Node MCU

The Rise of Functional Programming