Getting started with Arduino IDE

Hello everyone, today we will learn how to install Arduino IDE and add Node MCU board to it.

Arduino IDE is an open-source platform that makes it easier to write code and upload it on a board such as Node MCU.

It runs on different Operating Systems, such as Windows, macOS, and Linux.

So what does IDE means?

IDE stands for Integrated Development Environment. It is a software that provides all necessary tools to build an application such as a code editor, automation tools, debugger, compiler, etc. in a single platform.

Now we will see how to install Arduino IDE in our PC. You can download according to your operating system. Refer to this video for all the detailed explanation.


Open the link - https://www.arduino.cc/en/main/software

Scroll down to the download section and click on the suitable link.

Click on download, and it starts downloading.

Now open the folder where the executable file is downloaded and run it. Click on next and follow the prompts on the screen to complete the installation. This will install Arduino IDE to your PC.

Now we will add Node MCU board to Arduino. Copy the link of the Node MCU JSON - https://arduino.esp8266.com/stable/package_esp8266com_index.json and follow these steps -

1.    Open Arduino IDE.

2.    Go to File -> Preferences


3.    Paste the Node MCU JSON link in additional board manager URL and click OK

4.    Go to Tools -> Board -> Boards Manager.

5.    In the search box, type Node MCU and install the esp8266 package.


6.    Go to Tools -> Board.

7.    Scroll Down and select Node MCU 1.0.

Your Node MCU package has successfully installed, and your Arduino IDE is ready to code the Node MCU development board.

If you can't find out the board in your IDE, you may have done something wrong. Reach out to us in the comment box here or on any other channel, and we will help you out.

Now, in your IDE, you can see the two basic blocks - "void setup" and "void loop."

                          

The code you write in "setup" will run only once, and the code you write in "loop" will run in an infinite loop as long as Node MCU is getting power supply.

It will be understandable when we start coding with node MCU. In case you don't know about the Node MCU, please watch our videos and follow our previous blog.

A unique feature of Arduino IDE is that if you save a file, it will get saved inside a folder. It means each project will get stored in a separate folder.

So this is it about Arduino. We will keep blogging on technical topics. Keep following!

YouTube - youtube.com/techStormers
Facebook - facebook.com/techstormers
Instagram - instagram.com/techstormers



Comments

Popular posts from this blog

Introduction to Node MCU

Connecting LED with Node MCU

The Rise of Functional Programming