Arduino

We will not be using the Arduino development environment for creating our programs, but we will need its tools for uploading our code to the board.

If you have any problems with this please try these guides before reaching out to the TA or professor for help.

Install

You will need to install the Arduino tools for your machine. These instructions should be the same for all machines.

  1. Go to https://www.arduino.cc/en/Main/Software to download the Arduino software.
  2. Select the download for your computer. (need image)

  3. Once downloaded follow the install as with any software.

First Test

Now that you have the Arduino environment installed we need to make sure it is working.

  1. Start the Arduino IDE

  2. Plug in the Arduino 101 with the USB cable

  3. In the arduino IDE go to File>Examples>Basic>Blink

  4. You should have a new Arduino window open now with the code for the Blink example

  5. Go to Tools>Port and see what port has been selected

    1. If you see no ports then ....

    2. For windows you should see many COM ports, there should already be one selected

      1. if not then note the ports that are shown

      2. unplug and arduino

      3. go back and look at the ports and note the one that is no longer there, that is the arduino

      4. if that does not happen then ...

    3. For mac and linux the port should be something arduino or intel (need to check this)

  6. Now in the arduino ide click on the arrow, this will start the compilation and uploading.

    1. If you get an error that says to restart the board then press the button that says "Master Reset"
  7. If everything worked the small LED on the board with the letter L next too it should be blinking.

results matching ""

    No results matching ""