Skip to content

Part 2. Installing the Arduino IDE and Libraries

Rachel edited this page Aug 21, 2015 · 5 revisions

Communicating with your Arduino is mostly done through the Arduino IDE. This is how we upload sketches to the board that execute every time the board is powered on. Visit the Arduino Software page and find your computer type in the list to the right of the current version of the IDE that is available. Download the zip file and unzip it to install.

Open the IDE with your Yun powered on. Click on Tools and go to Board. Select "Arduino Yun" from the list. Still under Tools, go to Port and select either "Arduino at (IP address)" or the "/dev/tty.usbmodem****" that reads "Arduino Yun" after it.

Now that you have the IDE setup to interact with the Yun, we need to install a library to go with the Grove Temperature/Humidity Pro sensor.

This particular project only requires you to install one library, but there are all sorts out there that can make your life easier and your code shorter. They are also very easy to install.

This library is called "DHT-Sensor-Library". Go here and download the zip by clicking the button in the bottom of the right column. Then go back to the IDE and select Sketch -> Include Library -> Add .ZIP Library....

arduinoideaddlibrary

Select the zip file you just downloaded and then click "Choose". All done!

<< Part 2: Connecting to WiFi - Part 3: Adding Sensors >>