Meet the Arduino IDE

Installing and running the Arduino Software

Written By: Cherie Tan

Dash icon
Difficulty
Easy
Steps icon
Steps
10
Getting familiar with the Arduino IDE is an essential first step. With the Arduino IDE, you can get started with Arduino programming.

In this guide, you will learn how to install the Arduino IDE, choose the right Arduino board type and serial port, before uploading a 'blink' example sketch. The code will then uploaded onto your Arduino board. A Little Bird Uno R3 is used in this guide, though other boards will work as well. If you will be using a different board, keep in mind that you will need to choose a different board type on the IDE.

Doing so will enable you to advance on with further projects that would involve adding your sketches onto the Arduino board.

Step 1 Downloading the Arduino Software

Head to www.arduino.cc and download the software as seen in the video.

Step 2 Opening the Arduino Software

Open the Arduino Software by double clicking on the Arduino icon.


Wait for it to load. This can take up to 30 seconds.

Step 3 Plug in your Arduino

Plug the USB cable into an available port on your computer. This is called an A to B cable!
Plug the other end into your Arduino board. A power light should come on (Green in my case).

Step 4 Meet the Arduino Software

The Arduino Software is also called the Arduino IDE (Integrated Development Environment). The most important controls are the "Open", "Verify" and "Upload" buttons.

1. Verify Button
2. Upload Button
3. New Sketch Button
4. Open Sketch Button
5. Save Sketch Button
6. File
7. Code Area

Step 5 Set your Arduino board type

There is a heap of different types of Arduino Boards. We need to tell the Arduino Software what type of board we are using.

From the menu bar select: Tools → Board → Arduino/Genuino Uno.

Step 6 Set your serial port

We now need to tell the Arduino Software what Serial Port your Arduino is on. This will be different depending on your computer.
On Windows your Arduino will appear as a COM port, on macOS and Linux it will appear as a /dev/cu.usbmodemXXXXX.

Step 8 Sending the code to the Arduino

Click the "Upload" button (looks like an arrow) to verify and put the code onto the Arduino.
The "Upload" button verifies, compiles and uploads your code. If you just want to verify your code, click the "Verify" button.
The RX and TX lights on your Arduino will flash whilst the code is being uploaded to the board. After which, the onboard LED on pin 13 will continue to stay on for one second and turn off for one second.
Our Arduino Unos actually already come with the Blink Sketch pre-installed in the factory, so why don't we go an make some changes to the sketch so we can see a difference!

Step 10 Keep playing!

Change some more values or add some more lines and see what happens!
In the picture, the light turns on for 5, off for 2, on for 1, off for half a second.

Where HIGH or 1= on and LOW or 0 = off.