Orangutan X2 Resources

Documentation and other information

Documentation of the low-level SPI commands used to control the Orangutan X2's auxiliary ATmega168 microcontroller.
Orangutan_X2_commands.pdf

CP2102 Drivers and installation instructions for Windows, Mac, and Linux. The CP2102 is used on the Pololu USB-to-Serial Adapter, the Orangutan USB Programmer, the USB 16-Servo Controller, and the Orangutan X2.
cp2102_usb_driver_installation.pdf

File downloads

Orangutan X2 quick-start guide and schematic (678k pdf)

Orangutan X2 schematic (71k pdf)

C code for the mega644: This simple project sequentially blinks the X2's five user LEDs. It does not require any other code libraries.
Orangutan X2 blinking LED demo (AVR Studio project) (11k zip)

C code for the mega644: These C functions are high-level implementations of the low-level commands detailed in the Orangutan X2 command documentation. They let you easily control the X2's auxiliary mega168 microcontroller and hence most of the X2's onboard hardware (e.g. motors, buzzer, and UART). They also provide an example you can build on to create your own custom high-level command wrappers. This code is compatible with all firmware versions.
Orangutan X2 SPI wrapper functions v1.00 (12k zip)

C code for the mega644: Version 1.01 of the SPI wrapper functions takes advantage of the improvements introduced by firmware upgrade v1.01. These SPI wrapper functions are compatible with all firmware v1.01 and higher.
Orangutan X2 SPI wrapper functions v1.01 (12k zip)

C code for the mega644: These functions give you everything you need to control an LCD with your Orangutan X2. The file LCD.c requires the delay functions defined in the Orangutan X2 SPI command wrappers above.
LCD control functions (3k zip)

C code for the mega644: We use this program to test each Orangutan X2 before it ships, and as such it is the program that comes pre-loaded on every X2. The ports test enables pull-ups on ports A and D (the 16 user IO pins on the right side of the board) and displays the pin values on the LCD. The motor test sets motor speed and direction based on the position of the user trimmer pot. This project requires the LCD control functions and Orangutan X2 SPI command wrappers above.
Orangutan X2 test code (AVR Studio project) (68k zip)

C code for the mega644: This project demonstrates how you can use the auxiliary mega168 microcontroller to play melodies while leaving the main mega644 microcontroller free to control your robot. It requires the LCD control functions and Orangutan X2 SPI command wrappers above.
Orangutan X2 melody demo (AVR Studio project) (43k zip)

VNH3SP30 motor driver data sheet (228k pdf)

VNH2SP30 motor driver data sheet (283k pdf)

Crystalfontz CFAH2004K-YYH LCD datasheet (2756k pdf)

Orangutan X2 firmware update procedure (330k pdf)

This firmware update fixes several minor bugs that were present in the initial firmware release v1.00.
Orangutan X2 firmware v1.01 (65k zip)

This is an optional, minor firmware upgrade that slightly improves reset/program button debouncing.
Orangutan X2 firmware v1.02 (64k zip)

Recommended links (Links open in a new window or right click to open in a new tab)

A free, open-source suite of development tools for the AVR family of microcontrollers, including the GNU GCC compiler for C/C++.
WinAVR

Atmel's free AVR integrated development environment (IDE) that works with WinAVR's free GCC C/C++ compiler.
AVR Studio

Atmel's product page for the ATmega644.
ATmega644 documentation

Pololu Robotics and Electronics forum-get technical support, share your project, or just drop in to say hi.
Pololu Robotics Forum

AVR community with forums, projects, and AVR news.
AVR Freaks

An open-source C library for the Orangutan family of robot controllers. Note: this library was not created by and is not maintained by Pololu; it contains only limited support for the Orangutan X2 and does not directly support the Orangutan SV-168, Orangutan LV-168, or Baby Orangutan B revision.
Orangutan-lib

Customer Michael Shimniok has written a guide to programming AVRs (the Orangutan LV-168, specifically) using the Mac.
Tutorial: AVR Programming on the Mac

Robot kits for fun and learning! Fun robots, programmable robots, sensors and hardware.

Robokits has come through the earthquakes so far largely unscathed and we are thankful for that. Our hearts and thoughts go out to all those affected. We are also excited about being part of a business community committed to rebuilding a new Christchurch.

Prices include GST and shipping to most places within New Zealand. Product supplied may not match colour of image shown exactly.

All trade marks are owned by their respective companies.