arduino

What is an Arduino? And how to install Arduino ide?

What is an Arduino?

Arduino is a company that produces hardware boards with set different features boards such as Arduino UNO, Arduino LEONARDO, Arduino NANO, Arduino Due, Arduino Mega

The company Arduino have full rang of Arduino hardware boards with a different set of features  to utilize according to the project requirement

To use this hardware board, you need to download Arduino ide

What Arduino IDE does: it help’s you to write programs into hardware, suppose an IDE as an interpreter which convert your high-level programming code into 1’s and  0’s that machine can understand(machine level language)

Arduino sketch: In Arduino programming, the word sketch is used instead of a word program to represent a program

For example: in an Arduino environment, the Arduino LED program is called as an Arduino LED sketch

Remember: don’t get confused with word sketch it just means a program

First: install Arduino IDE on your pc

Click here to download Arduino IDE on your p.c, at the time of writing this blog the latest Arduino software version available is 1.8.12

Download the latest version of Arduino IDE  that is available, when you download Arduino IDE, You need to select the operating system that you were using on your p.c  in my case I have a window  so I selected the window installer so, select the installer according to your operating system( linux, Mac)

Open the Arduino downloaded IDE file and follow the 7 easy steps to install it

Arduino 1.8.12
Arduino ide

Second : Add the new board to the Arduino IDE

Arduino uno

Open the desktop Arduino IDE

Select the board:  to compile and upload new sketch on the board we need to  select the board from a range of other boards that Arduino have

Tools—-> boards—->Arduino Uno

If you have Arduino Uno board then by default the Arduino IDE have selected the board as Arduino Uno

Arduino DUE: suppose if you have an Arduino DUE board with you then you won’t be able to find the Arduino DUE option on the Arduino IDE board selection list

arduino boards manager

To view Arduino DUE option on the Arduino IDE

  • Tools—-> boards—->boards manager
  • select SAM Boards(32-ARM cortex-M3)—-> Install

Note: if you have Arduino UNO board then you no need to select Boards manager option

Arduino SAM Boards(32-bits ARM cortex-M3)
install Arduino SAM boards

It will take several minutes to install after installation completed you can view the Arduino DUE option on the Arduino IDE on the bottom of board selection list

Arduino Due (programming port)

Tools—-> boards—-> Arduino Due (programming port)

Third : plug the Arduino board into a USB port of your p.c

As the Arduino board plugged into a USB port of your p.c, you will notice two LEDs lights (green and orange) were illuminated, it means that the board is receiving power from a USB port

Arduino device setup

For the first time, when you plug in the Arduino board into a p.c, the window device drivers will automatically install required drivers for the board  and it will take several minutes before it set up the Arduino board into p.c

Fourth: set the port

To view the port option that you have to use on Arduino IDE, you need to go on device manager in window operating system

Arduino Due Programming port(COM4)

To set the port option on Arduino IDE  

Tools—-> port—-> com4(Arduino Due (programming port))

Note: if you choosed the wrong port, then you get will an error called  “no device found on com”

com4(Arduino DUE (programming port)

Fifth: test the set up is working

To test the setup we made, we need to run a simple sketch called blink, which is a default program in Arduino, when you compiled the Blink program you will notice that the orange LED will Blink

File—->Examples—->Basics—-> Blink

Arduino blink
blink Arduino

Test 2: reduce both the delay in the program to 100 and you notice that the LED will Blink faster

Test 3: increase both the delay in the program to 3000, and you will notice that the LED will Blink slower than the first test

Mohammed Anees

Hey there, welcome to aneescraftsmanship I’m Mohammed Anees an independent developer/blogger.

Leave a Reply

Your email address will not be published.