Setup The Arduino IDE
Setup The Arduino IDE
The Arduino IDE is free to use and open source and can be downloaded directly from
the Arduino website. The IDE is multi-platform and works with Windows, Linux and
macOS.
Note that the Arduino IDE is updated fairly frequently and that it is best to use the
most stable build instead of the hourly builds that are released. Any stable version of
the IDE should still work for the purposes of this course.
After the download is completed, you can finish installation by following the
instructions on the installer popup. Once installation is complete, you can open the
Arduino IDE from the desktop shortcut. You should see a window like this:
In order to use the Arduino IDE, you will need to connect the Arduino board to your
computer.
Next, you will need to choose the correct COM port your Arduino board is connected
to. For this, go to Tools>Port and select the COM that has your board name within
brackets. If you are not using an Arduino Uno replace “Arduino Uno” with the name of
the board you have. Your selection should look similar to this:
If you do not see a COM port with the board name in brackets. First, make sure your
Arduino board is connected to your computer via USB. Secondly, you may have to do
some trial and error of choosing a COM port and trying step 3 to find the right one.
To verify your settings are correct, click the teal upload arrow in the top left to upload
code onto your connected Arduino board. If everything is set up correctly, you should
successfully upload the code with no errors. The output should look like so: