3. Configuring the Arduino Environment

The configuration instructions in this section explain how to alter the Arduino IDE so that it programs your Orangutan or 3pi robot using the correct settings via our USB AVR Programmer, and provides a series of libraries that can help you interface with onboard hardware on your device.

  1. Go to http://www.arduino.cc/en/Main/Software and download the latest Arduino software for your platform (Arduino 1.6.1 as of this writing).
  2. Download the Pololu Orangutan and 3pi Robot add-on for the Arduino IDE (111k zip).
  3. Copy the libpololu-arduino folder from the ZIP file into the “hardware” subfolder of your Arduino sketchbook location. The Arduino sketchbook location is typically in your Documents folder in a subfolder named “Arduino”. You can see the sketchbook location in the Arduino IDE Preferences dialog, which is available from the File menu.

    For example, if you are using Windows and you have not changed the sketchbook location, the “libpololu-arduino” folder should be copied to:


    If the “Arduino” or “hardware” folders do not exist yet, you will have to create them.

After installing the add-on and restarting the Arduino IDE, you should see several new features inside the Arduino IDE:

  • You should see entries for the Orangutans in the Board menu.
  • You should see an entry for the Pololu USB AVR Programmer in the Programmer menu.
  • You should see several new entries in the “Examples” menu, like “OrangutanMotors” and “OrangutanLCD”.

If you do not see these new features, then the add-on was probably not installed correctly and you should retry the installation instructions above and restart the Arduino IDE.

Older versions of the download are provided here for compatibility with older Arduino environments. (Please note that some of these older downloads only provide the libraries, not the hardware add-on).