A very simple demo program for Pololu’s Orangutan robot controllers or 3pi robot is available in the folder
Note: If you are using a new Orangutan X2 with an ATmega1284P user microcontroller, you should use the examples in examples\atmega1284p_x2; if you are using the Orangutan SVP-1284, you should use the examples in examples\atmega1284p.
Double-click on the file
To compile this program, select Build > Build or press F7. Look for warnings and errors (indicated by yellow and red dots) in the output displayed below. If the program compiles successfully, the message “Build succeeded with 0 Warnings…” will appear at the end of the output, and a file
Connect your programmer to your computer and your Orangutan board or 3pi robot, and turn on the target’s power. If you are using the Pololu USB AVR Programmer, the yellow LED should be blinking, indicating that it detects the target’s power. If you are using the Orangutan SVP, make sure the blue power LED is on.
Select Tools > Program AVR > Connect to connect to the programmer. Select “STK500” as the platform and select the COM port of your programmer, as indicated in the Device Manager. When you click the “Connect” button, the STK500 programming window should appear.
Select the Main tab. In the dropdown box that lists AVR models, select the type of AVR on your device. For an Orangutan or 3pi robot, this will either be ATmega48, ATmega168, ATmega328P, ATmega324PA, ATmega644P, or ATmega1284P.
Select the Program tab. Click “…” in the Flash section and select file
If your controller was successfully programmed and you not using a Baby Orangutan, you should hear a short tune, see the message “Hello!” on the LCD (if one is present and the contrast is set correctly), and the LEDs on the board should blink. If you are using a Baby Orangutan B, you will just see the red user LED blink.