
Эта версия оснащена драйвером мотора VNH3SP30. ЖК дисплей в комплект не входит.

Pololu Orangutan X2 Robot Controller, top view with top and bottom board and labels
Примечание: Драйвер мотора (верхняя) плата на картинке сверху так же доступен отдельно как dual high-power motor driver.
Orangutan X2 имеет два микроконтроллера: Atmel ATmega644 AVR для основных приложений и вспомогательный ATmega168, являющийся интерфейсом к большинству подключенного к X2 оборудования а также используемый в качестве программатора для основного процессора. Двух-микроконтроллерный дизайн упрощает многозадачность освободив основной процессор от общих задач, таких как управление двигателем и генерацию звуков. Этот подход оставляет mega644 совершенно незагруженным, предоставляя ему аппаратные средства, такие как таймеры и прерывания, и возможность использовать большинство его входов/выходов для сигналов более высокого уровня. Это означает, что вы не нужен внешний программатор для OrangutanX2.

Основные характеристики
Приступая к работе
Сначала следуйте инструкциям установки драйвера USB-serial адаптера. Убедитесь, что вы установили драйвера перед подключением программатора к компьютеру. USB-адаптер будет установлен как два устройства (USB устройство и COM-порт); вы можете игнорировать неоднократные предупреждения Microsoft, что драйвер не был протестирован Microsoft. После установки драйверов, программное обеспечение может общаться с программатором, как если бы это был последовательный порт.
Далее, вы должны загрузить программное обеспечение, которое позволит вам ваш программировать Orangutan X2, такое как open-source пакет WinAVR, который является бесплатным GNU GCC C/C++ компилятором для AVR. Вам следует также рассмотреть вопрос о загрузке бесплатной AVR Studio фирмы Atmel, мощной IDE поддерживающей протокол AVR ISP используемый во встроенном программаторе X2 и работающий с WinAVR.
Комплект поставки
|
|
| Комплект поставки Pololu Orangutan X2 с ЖК дисплеем. |
Documentation and other information
Orangutan X2 Command Documentation v1.01 (Printable PDF: Orangutan_X2_commands.pdf)
Documentation of the low-level SPI commands used to control the Orangutan X2's auxiliary ATmega168 microcontroller.
CP2102 USB-to-Serial Bridge Driver Installation (Printable PDF: cp2102_driver_installation.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.
File downloads
Orangutan X2 quick-start guide and schematic (678k pdf)
Orangutan X2 schematic (71k pdf)
Orangutan X2 blinking LED demo (AVR Studio project) (11k zip)
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 SPI wrapper functions v1.00 (12k 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.01 (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.
LCD control functions (3k 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.
Orangutan X2 test code (AVR Studio project) (68k 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 melody demo (AVR Studio project) (43k 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.
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)
Orangutan X2 firmware v1.01 (65k zip)
This firmware update fixes several minor bugs that were present in the initial firmware release v1.00.
Orangutan X2 firmware v1.02 (64k zip)
This is an optional, minor firmware upgrade that slightly improves reset/program button debouncing.
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.
ATmega644 documentation
Atmel’s product page for the ATmega644.
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 SV-168, Orangutan LV-168, or Baby Orangutan B 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.
Публикация материалов данного сайта, без указания ссылки на первоисточник запрещена
Copyright © 2009-2011 ООО "Миниробо" Санкт-Петербург
