![Pololu Orangutan User Manual Download Page 8](http://html1.mh-extra.com/html/pololu/orangutan/orangutan_user-manual_1574970008.webp)
5. Getting Started Using Windows
After you’ve installed the necessary drivers, the next step is to download and install a
compiler. WinAVR, located at
http://winavr.sourceforge.net/
[http://winavr.sourceforge.net/]
,
is an open source suite of software development tools for the Atmel AVR series of
microcontrollers. It includes the GNU GCC compiler for C and C++. Follow the installation
instructions they provide.
WinAVR alone will give you all the tools you need to start programming your Orangutan
or 3pi robot, but Atmel offers AVR Studio, a free integrated development environment that
works with the GCC C/C++ compiler. AVR Studio includes a simulator and other useful
tools, and supports the AVR ISP protocol used by the Orangutan USB programmer. You
can download AVR Studio from
http://www.atmel.com/avrstudio/
. Follow Atmel’s installation instructions. Note that newer versions of AVR Studio
might not work with older versions of WinAVR, so we recommend you upgrade to the newest
version WinAVR every time you get a new version of AVR Studio.
5.a. Using AVR Studio
Here we will show you step by step how to use AVR Studio to make the red user LED blink on
your Orangutan, Orangutan SV-168, Orangutan SV-328, Orangutan LV-168, Baby Orangutan,
or 3pi robot. Please note that this program will not work on the Orangutan X2. If you want to
skip the steps that set up the LED-blinker code and jump straight into using your Orangutan
USB programmer, you can download the AVR Studio project these steps would help you
create and proceed straight to step 4.
• mega48:
[http://www.pololu.com/file/download/
BlinkLED_m48.zip?file_id=0J188]
(9k zip)
• mega168:
[http://www.pololu.com/file/download/
BlinkLED_m168.zip?file_id=0J189]
(9k zip)
• mega328:
[http://www.pololu.com/file/download/
BlinkLED_m328.zip?file_id=0J190]
(9k zip)
1. Open AVR Studio and click
New Project
. Select
AVR GCC
for the project type. We
called our project “BlinkLED” and elected to have a folder called “C:\BlinkLED” created
containing the blank file “BlinkLED.c”. Click
Next >>
. DO NOT click “Finish” yet. If you
do accidentally click “Finish”, you will not be able to perform step 2 and will instead have
to set the device by going to the “Project” menu and selecting “Configuration Options”.
Pololu Orangutan USB Programmer User's Guide
© 2001–2010 Pololu Corporation
5. Getting Started Using Windows
Page 8 of 29