How to get started with Arduino

The post is focused on situation where you already have bought Arduino but you do not have any idea what to do with it. So you come at the right place, yes! Here will cover how to install ,connect and configure the Arduino IDE.


Arduino Uno






What You Will Need

  • Arduino Uno 
  • USB B cable to connect Arduino to computer.
  • Computer with any operating system i.e Windows, Linux, Mac Os.
  • Arduino IDE, which by the way being downloaded in the process.

USB B cable

Downloading and Installing Arduino IDE

In the first you need to Download and install the Arduino IDE, which you can do from the official website of the Arduino. The software is a freeware and needed to code the the Arduino board. Since Arduino is compatible with all types of operating systems such as Windows, Mac OS, Linux OS, so the official website provide you software for all these OS. But here in this post we are using the windows one so please download the IDE according to your OS.

Download the Arduino IDE for your OS

Once you have downloaded the IDE install it like normal software and be sure while selecting all the options, including the drivers.

Getting the Arduino COM Port Number

In this step you need to connect your Arduino board to the computer via USB B cable, fortunately, when we connect Arduino with computer then the USB cable it self provide 5 V power to the board so we do not need to provide it power externally. Now if you connecting the Arduino first time to your computer then it will automatically install the important drivers to you computer and your PC will assign a COM Port number to your board. But sometime it does not provide COM Port so in that case you need to go to "Device Manger" of your computer.


Go to:- Device Manager >>> Ports ( COM & LPT ) >>> Arduino Uno
and you will find the port number next to it, in my case it is COM32 but for you it can be different.

Go to the Device manager>Ports for the port number




























Since, sometimes your computer can not recognize your Arduino board and assign it Port number so in that case you have to right click the Arduino and click the scan for hardware changes.


Scan the hardware changes when COM Port is not allotted



























Port numbers are not permanent for devices, means it can change the next time you connect you Arduino because Port numbers are allotted according to availability so if the usual port number is not available for your Arduino so OS can allot new Port number to your board.

Configuring the IDE

Now, Since you have got COM Port and installed the Arduino IDE, start IDE and after it is loaded Go to Tools >>> Board >>> Arduino Uno. However if you are using some other board other than Arduino Uno then you have to select the proper board.

Select the Arduino Uno in the board




























Now it is time to tell the IDE on which Port your Arduino is connected so Go to Tools >>> Port >>> COM32, please keep a note that you have to select the port at which your Arduino is connected( Which you have checked earlier in previous step).

Select the proper COM port number for your board





























Loading a Basic Example

Now, Since you are all set to create your own sketch and upload to Arduino Uno so let's check the board with loading a basic example, so Go to File >>> Example >>>01.Basics >>> Blink.


Load the basic Blink example to test the Arduino






























Now,since You have loaded the Basic Blink example let's compile it and upload it the Arduino.
So,to compile and verify click the check mark button on the top left corner, after the code compiles there is no error then it would be the time to upload the code to the Arduino, to upload click the arrow button next to compile button.


Compile and upload the code to the Arduino

Post a Comment

0 Comments