Overview

Overview on how to install the Arduino IDE

In this tutorial, we will show you how to download and install Arduino IDE into your PC. Then, we will learn how to upload Arduino code into Arduino board.

Note that, if you are new to this, and want to explore more about Arduino IDE, we suggest that you read the following article: Introduction To Arduino and The Arduino Anatomy, Signals, Sensors & Actuators. However, if you want to skip both of the articles, you may proceed to the following outline.

The outline for this article is as follows:

  • How to install Arduino IDE
  • How to upload Arduino code into Arduino board

Installing Arduino IDE

For this tutorial, we will show you how to install Arduino IDE for Windows user.

#1-Go to Arduino Website

Go to this link [1] to download Arduino IDE. You will be directed to arduino webpage which may look like picture below. Select which type of OS that your computer has. In this tutorial, we will be selecting Windows, so here, click on “Windows ZIP file” under the DOWNLOAD OPTIONS tab.

Going to Arduino Website to Download Arduino IDE

#2 - Continue Download

Note that Arduino is open source. So, you have 2 options, either you want to make a contribution, or you want to proceed downloading the software without making any contribution. If you want to make a contribution, select “contribution and download”. But if you want to just download it, yes, you can click on “just download” to proceed.

Continuing Downloading Arduino IDE Wth or Without Contribution

#3 - Extracting The Downloaded File

Once you had finished downloading the zip file, you will see the downloaded file as per shown in the picture below. Extract the file in you PC. Note that, you may extract the file in any specific location in your PC.

Continuing Downloading Arduino IDE Wth or Without Contribution

#4 - Opening The Extracted File

After you had finished extracting the file, open the file and you will see a list of files folder and applications in the extracted file. To start using the Arduino IDE, you can double click on “arduino.exe”.

Extracting The Downloaded File (Arduino IDE)

#5 - Start Programming

An application will pop-up as per shown in figure below. This is how Arduino IDE looks like. You can start programming your Arduino by tping in the code in the Arduino IDE.

Extracting The Downloaded File (Arduino IDE)

Uploading Arduino Code

If you forgot how to upload code into an Arduino board, or, if you are a beginner who wants to learn about Arduino, then this tutorial is for you.

In this tutorial, we will show you how to upload an example code called Blink into your Arduino Board, where in this case, we will be using an Arduino UNO board. This tutorial is suitable for simple testing, such as if you want to verify whether your board is working fine or not, you may try out this tutorial.

#1 - Opening the ‘blink.ino

Open the ‘blink.ino’ by navigating to Examples >> 01.Basics >> Blink, as per shown in picture below.

Opening the 'blink.ino' code from the example code in Arduino IDE

#2 - Connecting The Arduino Board

Connect the Arduino board to the USB port in your PC as shown in diagram below. In this tutorial, I am using Arduino UNO board.

Connecting The Arduino Board To The USB Port

#3 - Selecting The Arduino Board in Arduino IDE

Select the type of Arduino board that you are using by going to Tools >> Board >> . Here, I will select Arduino Uno as shown in diagram below.

Selecting The Arduino Board in Arduino IDE

#4 - Selecting The 'COM PORT'

Select the COM PORT for your Arduino board. For this example, the the COM PORT detected is at COM4, so, we will select that one as shown below.

Selecting The 'COM PORT'

#5 - Uploading The Sketch

Now, click on the upload button located on top-left of the Arduino IDE as per displayed below. Wait for a while until the uploading process is finished. It only takes a while.

Uploading The Arduino Code into The Board

#6 - Checking The Board Operation

Once the uploading process is finished, check if your Arduino board is operated accordingly. For this tutiorial, we had uploaded the blinking code, so, the built-in LED is supposed to blink on and off alternately within 1 second delay.

Checking The Arduino Board Operation

Common Issues When Uploading The Sketch

Though the process may occur smoothly for some of us, however, sometimes, we may encounter several issues while uploading the code. In this section, we will list down some of the common issues faced while uploading the Arduino Code/ the Sketch.

Issue #1 - No device found on port

An error occurred while uploading the sketch
No device found on 

If you see the message shown above in the program notification area, you may follow the steps below:

  1. Make sure the correct port is selected in Tools > Port.
  2. Close other instances of Arduino IDE, serial monitors, and other software that may be blocking the port.
  3. Restart your computer.
  4. See Find and stop process blocking a port.

Issue #2 - Couldn’t Find A Board On The Selected Port

Couldn't find a Board on the selected port. Check that you have the correct port selected.
If it is correct, try pressing the board's reset button after initiating the upload.

This error can happen if the board on the selected port has been disconnected from the computer, or reassigned to a different port. To fix this problem, you may follow the steps shown below:

  1. Make sure the board is connected to your computer
  2. Select the board in Tools > Port.
  3. For step-by-step instructions, see Select board and port in Arduino IDE.
  4. If you can’t find the port, see If your board does not appear in the port menu.
  5. On Windows, you can manually set a port for the board to stop it from being reassigned.

Issue #3 - Failed Uploading: No Upload Port Provided

When uploading, you may see this error in the program notification area:

Failed uploading: no upload port provided
The error will occur if no port has been selected.

To fix this problem, you may select the port in the top menu bar: Open Tools > Port and click to select a port.

End Of Article

End Of Article