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.1 as of this writing).
2. Download the Pololu Orangutan and 3pi Robot add-on for the Arduino IDE
[https://www.pololu.com/file/download/libpololu-arduino-150324.zip?file_id=0J868] (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.
• 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-150218.zip [https://www.pololu.com/file/download/libpololu-arduino-150218.zip?file_id=0J859]
(111k zip), tested with Arduino 1.6.0
• PololuArduinoLibraries-120914 [https://www.pololu.com/file/download/
PololuArduinoLibraries-120914.zip?file_id=0J581] (107k zip), tested with Arduino 1.0.1
• PololuArduinoLibraries-111221 [https://www.pololu.com/file/download/
PololuArduinoLibraries-111221.zip?file_id=0J521] (107k zip), tested with Arduino 1.0
• PololuArduinoLibraries-101215 [https://www.pololu.com/file/download/
PololuArduinoLibraries-101215.zip?file_id=0J425] (107k zip), tested with Arduino 0021
• PololuArduinoLibraries-080929 [https://www.pololu.com/file/download/
PololuArduinoLibraries-080929.zip?file_id=0J134] (86k zip), tested with Arduino 0012
Programming Orangutans and the 3pi Robot from the Arduino Environment © 2001–2015 Pololu Corporation
3. Configuring the Arduino Environment Page 19 of 57