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.
#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.
#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.
#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.
#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.
#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.