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.
- 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).
- Download the Pololu Orangutan and 3pi Robot add-on for the Arduino IDE (111k zip).
- 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.
- 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-150218.zip (111k zip), tested with Arduino 1.6.0
- PololuArduinoLibraries-120914 (107k zip), tested with Arduino 1.0.1
- PololuArduinoLibraries-111221 (107k zip), tested with Arduino 1.0
- PololuArduinoLibraries-101215 (107k zip), tested with Arduino 0021
- PololuArduinoLibraries-080929 (86k zip), tested with Arduino 0012
- PololuArduinoLibraries-080826 (80k zip), tested with Arduino 0011