The Orangutan LV-168 is a full-featured controller for low-voltage robots. Thanks to a step-up voltage regulator, you can power this Orangutan with two or three 1.2-1.5 V batteries while maintaining 5 V operation for its Atmel mega168 AVR microcontroller and your sensors. A pair of discrete, low-voltage H-bridges deliver up to 2 A continuous per channel to get the most power out of low-voltage motors.
Compare all products in Robot Controllers.
Documentation and other information
File downloads
-
Orangutan LV-168 quick-start sheet and schematic
(256k pdf)
-
-
Sample AVR Studio project to blink an LED
(14k zip)
-
This is a sample AVR Studio project that will blink an LED on an Orangutan, Orangutan LV-168, and Baby Orangutan.
-
AVR Studio demo project #1 for the Orangutan LV-168
(9k zip)
-
C code for the mega168: This project demonstrates the fundamentals of using I/O lines on a mega168. Each line of the source code is commented, and there is a short tutorial in comments at the start of main() on using AVR I/O and on C bit-logic. The program will alternately flash the two user LEDs until you ground the general-purpose I/O pin PD0 (the right-most of the eight user I/O lines at the top of the board). Grounding pin PD0 will cause the program to pulse the buzzer pin instead of the LED pins, causing the buzzer to play a note.
-
AVR Studio demo project #2 for the Orangutan LV-168
(10k zip)
-
C code for the mega168: This is a slightly more advanced program that demonstrates triggering actions with the user buttons and controlling the buzzer using one of the mega168’s hardware PWMs (as opposed to the processor-intensive software buzzer control we used in Demo 1). The program will cause the buzzer to play while the user buttons are held down. The button held down determines the frequency of the note the buzzer plays.
-
AVR Studio demo project #3 for the Orangutan LV-168
(29k zip)
-
C code for the mega168: This project demonstrates analog-to-digital conversion, use of the LCD, and control of the motor ports. Specifically, it uses the mega168’s analog-to-digital converter to monitor the position of the user potentiometer. It displays the potentiometer’s position on the LCD and drives the two motor ports based on this position.
-
AVR Studio demo project #4 for the Orangutan LV-168
(29k zip)
-
C code for the mega168: This project demonstrates the use of the mega168’s UART, interrupts, and reading the on-board temperature sensor. To make full use of this demo, you will need a source capable of producing logic-level (TTL) serial transmissions at 115.2 kbps. The Pololu Orangutan USB programmer can be such a source if you switch the blue shorting block to the USB-to-serial-adapter position and connect its TX pin to pin PD0 on your Orangutan LV-168. Don’t forget to also connect the programmer’s ground pad (labeled G) to ground on your Orangutan. Then start up a terminal program such as Hyperterm or Tera Term Pro, connect to your serial adapter’s COM port, set the baud for 115.2 kbps, and start typing characters. You should see the characters appear on the top row of your Orangutan LV-168’s LCD while the bottom row displays the output of your board’s temperature sensor. If you touch the board near the temperature sensor, you should see this reading rise.
-
AVR Studio test program for the Orangutan LV-168
(48k zip)
-
C code for the mega168: This is the program used to test each Orangutan LV-168 before it ships, and hence this is the program that comes pre-loaded on each Orangutan LV-168. This program puts together most of the concepts covered in the demo projects. It uses the file “buzzer.c” to define some advanced buzzer control functions; you may find these buzzer routines useful for your projects.
-
MCP9701 datasheet
(522k pdf)
-
Datasheet for the MCP9701 temperature sensor used on the Orangutan LV-168.
Recommended links
- WinAVR
- A free, open-source suite of development tools for the AVR family of microcontrollers, including the GNU GCC compiler for C/C++.
- AVR Studio
- Atmel’s free AVR integrated development environment (IDE) that works with WinAVR’s free GCC C/C++ compiler.
- ATmega168 documentation
- Atmel’s product page for the ATmega168.
- Pololu Robotics Forum
- Pololu Robotics and Electronics forum—get technical support, share your project, or just drop in to say hi.
- AVR Freaks
- AVR community with forums, projects, and AVR news.
- Orangutan-lib
- 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 LV-168 or the Baby Orangutan B-x8 revision.
- Tutorial: AVR Programming on the Mac
- Customer Michael Shimniok has written a guide to programming AVRs (the Orangutan LV-168, specifically) using the Mac.
|
|