Atmel AVR2060 Quick Start Manual
Atmel AVR2060 Quick Start Manual

Atmel AVR2060 Quick Start Manual

Bitcloud zigbee light link 8-bit atmel microcontrollers

Advertisement

Quick Links

Atmel AVR2060: BitCloud ZigBee Light Link Quick Start
Features
®
®
BitCloud
ZigBee
Light Link package overview
Instructions for getting started with the package
Description of the Light Link demo application
Color light and color scene controller interactions
Source code overview
Introduction
This document describes the contents of the BitCloud ZigBee Light Link software
development kit (SDK), a software package for developing ZigBee Light Link profile
applications.
Chapter
1
gives an overview of the software package and supported hardware
configuration. A getting started guide including hardware configuration, installation
and programming instructions is given in Chapter 2. Chapter
launch, and use the demo application.
This document is intended to be the starting point of exploring the SDK. More details
on programming for ZigBee Light Link profile are contained in [6].
APPLICATION NOTE
8-bit Atmel Microcontrollers
3
describes how to
42004B−AVR−08/2012
Guide

Advertisement

Table of Contents
loading

Summary of Contents for Atmel AVR2060

  • Page 1 APPLICATION NOTE Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide 8-bit Atmel Microcontrollers Features • ® ® BitCloud ZigBee Light Link package overview • Instructions for getting started with the package • Description of the Light Link demo application •...
  • Page 2: Table Of Contents

    Controlling a light device – all commands ......... 10     Supported clusters ..................12     Source code organization ................12       3.5.1 IAR projects ..................12 4.  Reference ..................13  Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 3: Overview

    Atmel JTAGICE 3 ® IAR Embedded Workbench for AVR Required to develop applications using 6.11 (with IAR™ C/C++ Compiler for API and to upload firmware images AVR v6.11.1.50453) through JTAG Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 4: Installation And Getting Started

    Power on the device by shifting the red button at the right side of the RCB board (see Figure 2-1). Figure 2-1. Assembled RCB hosted on a Key Remote Control board. Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 5: Fuse Bits Settings

    Starup time 16K CK + 65ms Resulting bytes 0xFE 0xFE High 0x1B 0x1B 0x62 0x77 To quickly test the demo application you may use pre-built application images located in the Evaluation Tools directory. Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 6: Programming

    The image is now installed on the board. Note: Using a JTAG to program the microcontroller will erase the embedded bootloader, if present. As a result, loading of application images with Serial Bootloader will become inoperable until the embedded bootloader is loaded to Atmel ATmega128RFA1 again. 2.3.2 Programming with Atmel AVR Studio ®...
  • Page 7: Demo Application

    A color light device indicates its light status via LEDs on the RCB board or via the LCD screen on the Key Remote Control board if RCB is attached to the Key Remote Control board. Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 8: Touch Link With A Controller Device

    While holding the PWR button on the color light device, switch it on by shifting the RCB’s red button. Wait for three seconds and then release the PWR button Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 9: Color Scene Controller's Functions

    The color light receives network parameters and starts the network as a router (the adjustments in the BitCloud stack allow this). Once the network is started, the color scene controller joins this network as an end device. Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 10: Several Color Scene Controllers In A Network

    For buttons 1, 2, and 3: if a button is pressed for more than three seconds (when both R+ and R- are not pressed) a Store Scene command is sent; if a button is pressed for less than three seconds a Recall Scene command is sent. Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 11 Down Step Level Down Move Level Down E – Enhanced Step Lev. Down (W) (hold) – Hold for 3 sec. Move Level Down (W) (W) – With On/Off Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 12: Supported Clusters

    A particular device type for which the application is compiled depends on whether APP_DEVICE_TYPE_COLOR_LIGHT or APP_DEVICE_TYPE_COLOR_SCENE_REMOTE symbol is defined in the configuration.h file. Application code for the other device type is not compiled. Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 13: Reference

    AVR2055: BitCloud Profile Suite Quick Start Guide. AVR2104: RF4CE-EK Remote Control Evaluation Kit - User Guide. [6] AVR2061: BitCloud ZigBee Light Link Developer Guide. IAR Embedded Workbench for Atmel AVR. Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 42004B−AVR−08/2012...
  • Page 14 Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.

Table of Contents