Documents » Programming Orangutans and the 3pi Robot from the Arduino Environment »1. Introduction
Arduino is a popular, open-source prototyping platform that makes it easy for people with little electronics experience to get into the world of microcontrollers and embedded programming. The Arduino environment consists of an open-source integrated development environment (IDE) and compiler, software libraries, and programmable hardware boards based on the powerful ATmega168 microcontroller. Because our Orangutan LV-168 and Baby Orangutan B-168 robot controllers use this same microcontroller, they have a substantial degree of overlap with Arduinos. Our Orangutan robot controllers can therefore be an attractive alternative to official Arduino hardware for those already familiar with the Arduino environment, and the environment can be a beginner-friendly alternative to AVR Studio for those looking to get started with Orangutans. Note: the Pololu 3pi robot has a higher-voltage version of the Orangutan LV-168 as its core, so this guide and the Orangutan Arduino libraries apply to the 3pi as well. For more information on the 3pi, please see the 3pi user’s guide. The Orangutans and 3pi robot offer integrated hardware that Arduinos do not, such as on-board dual motor drivers. This makes them well suited for applications involving control of small- to medium-sized robots. The Orangutan LV-168 and 3pi robot also have integrated pushbuttons, a piezo buzzer, and a removable LCD, all of which are additional features not found on official Arduinos. With some minor changes to the Arduino software configuration files, it becomes possible to program our Orangutan LV-168, Baby Orangutan B, and 3pi robot using the Arduino IDE and libraries. This guide will step you through the process of reconfiguring the Arduino IDE, and it will provide a series of custom libraries that will make it easy for you to interface with all of the Orangutan’s/3pi’s onboard hardware. One key difference between standard Arduino boards and the Orangutan robot controllers is that most Arduinos come with integrated USB-to-serial adapters, which allow you to connect them to your computer and program them through pre-loaded bootloaders, while Orangutans lack integrated USB-to-serial adapters. As such, we recommend you program the Orangutans or 3pi robot using an AVR ISP (referred to as ICSP in the Arduino world) programmer such as our Orangutan USB programmer. By taking this approach and leaving off the bootloader, you gain an extra 2 KB of program space (so you have the full 16 KB to work with rather than 14 KB). You also avoid the bootloader delay when you power up or reset the board.
|
|
Home
|
Contact
|
About
|
Forum
|
US toll free: 1-877-7-POLOLU |