Where can I get the IDE for ATMega328P?

The standard IDE for programming AVRs is called AVR Studio and was created by Atmel, but it only works under Windows. We don’t have a recommended IDE for Linux or Mac, but you can still compile and program your Orangutan using GNU make, avr-gcc, and avrdude.

Do you have our USB AVR programmer? If so, I recommend reading the programmer’s user’s guide because it talks about how to set up your system to program Orangutans in Linux, Windows, (and Mac). If you have a different programmer, you can still read the guide and learn a lot of useful information.

After you’ve gotten your Baby Orangutan to blink its LED by compiling and loading the BlinkLED example program on to it, you should install our AVR C/C++ library so you can do advanced things without writing a lot of low-level code. See the library’s user’s guide for information on how to install it and compile example programs. The easiest way to get started is to compile a simple example program in the library and then start modifying it to make it do what you want.

Alternatively, you could program the Baby Orangutan using the Arduino IDE, but it’s not as good for a few reasons. Also, since you’re a student, you should enjoy learning new things, such as AVR Studio! :slight_smile:

For documentation of the different pins on the 328P, see the AVR Pin Assignment Table Sorted by Pin section of the Baby O user guide and also look at the ATmega328p datasheet. To find out how to use the pins, you should first check to see if our library supports what you want to do. Our library has an OrangutanServos module for sending servo pulses, so you can just read the documentation of that module to do your servo control. Our library does NOT have an I2C module, so you should read the ATmega328p datasheet and search around on Google. Any Arduino or Orangutan code is likely to work on the Baby-O with little modification. Here are some resources for I2C:

You forgot to mention the name of the temperature sensor you were asking about. We do sell an I2C temperature sensor and have provided example code for using it on Orangutans, see this link again: pololu.com/docs/0J33/3
If you have an Analog temperature sensor you can just connect it to a free analog input and use the Pololu AVR Library to read the voltage on the pin.

–David