Contents |
Setup IDEIf you haven't already done so, the first thing you will need to do is to download the Arduino IDE, install it, set it up and learn a couple of important basics. Download and install the IDEThe IDE can be downloaded from Arduino.cc. This will open in a new window or tab. The download options appear in a green box near the top of the page. The installation is pretty straight forward. If you get stuck, there is a "Getting Started" link on the downloads page which will guide you through the installation process. Setup the IDEOnce you have downloaded and installed the IDE, there are a couple of configuration options that are useful to check.
Run the IDE, you should see a window that looks a bit like this:
Open the File menu and select Preferences to open the following dialog:
IDE BasicsWhenever you are using the IDE, you must ensure that the following two items are set correctly:
To set the type of board, simply select the "Tools" menu, then "Board"
and finally "Arduino AVR Boards".
Select the board (e.g. Arduino Uno or Arduino Mega etc) from the list
of available boards.
This is shown in the following screen shot. Note that I have "
Arduino Uno" as my board selection.
The next step is to tell the IDE where this board is connected.
By where, I mean identify the device device name that Windows (MacOS or
Linux) has assigned to your Arduino board.
If your port did not appear after connecting your Arduino, be sure to close the tools menu fully before reopening it. The port menu will not be refreshed with the new ports while it is open. At this point your IDE should be setup and ready to go. |