User Manual

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
[https://www.pololu.com/product/1300], 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 [http://www.arduino.cc/en/Main/Software] and
download the latest Arduino software for your platform (Arduino 1.6.11 as of this writing).
2. Download the Pololu Orangutan and 3pi Robot add-on for the Arduino IDE
[https://www.pololu.com/file/0J1229/libpololu-arduino-161018.zip] (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:
C:\Users\<username>\Documents\Arduino\hardware\libpololu-arduino
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.
If you select one of the Orangutan entries in the Board menu, then 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).
libpololu-arduino-150324.zip [https://www.pololu.com/file/0J868/libpololu-arduino-150324.zip] (111k
zip), tested with Arduino 1.6.1
Programming Orangutans and the 3pi Robot from the Arduino
Environment
© 2001–2019 Pololu
Corporation
3. Configuring the Arduino Environment Page 22 of 66