Documents » Baby Orangutan B User's Guide »6. Getting StartedThe Baby Orangutan will run with power applied across the VIN and GND pins, which are located at the top-right corner of the board. The device is protected by a MOSFET against accidental reverse-battery connection. The supply voltage should be 5 – 13.5 V, with an absolute maximum of 15 V, so a 5- to 10-cell NiCd or NiMH battery pack is a good choice. When the Orangutan is powered, the green power LED will be illuminated. The RESET pin can be brought low to reset the controller, but it can otherwise be left disconnected (it is internally pulled high). To program the on-board Atmel ATmega48 or ATmega168 microcontroller, you will need an AVR ISP programmer, a compiler, and AVR ISP programming software.
As a first test, we recommend you try to program your Baby Orangutan with a simple program that blinks the red user LED on pin PD1: BlinkLED.zip (14k zip). This archive is a compressed AVR Studio project that is configured for the Baby Orangutan B-168. If you have a Baby Orangutan B-48, go into the project’s configuration options (via the Project->Configuration Options menu with the BlinkLED project open) and change the device to atmega48, then rebuild the project. Connect your programmer to the Baby Orangutan so that pin 1 of your programmer’s 6-pin ISP cable lines up with pin 1 of the Baby Orangutan’s programming header and then use AVR Studio to program your Baby Orangutan. You can accomplish this by selecting Tools->Program AVR->Auto Connect, which should bring up an AVRISP dialog box. Navigate to the project’s hex file (which is created in the default directory when you build the project) under the Flash section of this new dialog’s Program tab and click the Program flash button. If everything has worked correctly, you should see the Baby Orangutan’s red user LED blinking around once per second. For a more detailed account of how to get started using AVR Studio, including screenshots, please see our Orangutan USB programmer user’s guide. The user guide is specific to our Orangutan USB programmer, but much of the section on using AVR Studio should apply to you even if you have a different programmer. |
|
Home
|
Contact
|
About
|
Forum
|
US toll free: 1-877-7-POLOLU |