Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE]
42004B
−
AVR
−
08/2012
4
2.
Installation and getting started
2.1
Tool chain installation
•
Install IAR Embedded Workbench for AVR
, if not already installed on your PC
•
Add a Windows
®
environment variable named IAR_AVR_HOME, and set its value to the IAR Embedded
Workbench installation directory (for a default installation, it is
C:\Program Files\IAR
Systems\Embedded Workbench 6.11
). To do this:
•
Go to
Control Panel > System > Advanced > Environment Variables
•
Click
New
below the
System variables
list, and enter
Variable Name
and
Variable
Value
This step is required if you plan to build embedded images using IAR Embedded Workbench from the command
line.
More details on tool chains used with BitCloud may be found in
2.2
Hardware configuration
2.2.1 Assembling devices
Both color scene controller and color light use RCB128RFA1 (RCB) as a base board. For a color scene controller an
RCB board shall be attached to a Key Remote Control board. A color light may either use an RCB board with a Key
Remote Control board (in this case its LCD screen is used to project the color light’s state) or use an RCB board alone
(in this case its LEDs are used to indicate the color light’s state).
To assemble a device:
1.
Attach an antenna to the SMA connector on the RCB board.
2.
Insert two AAA batteries into the RCB board.
3.
For a color scene controller and for a color light to project its state to the LCD screen, attach an RCB board on
top of a Key Remote Control board.
4.
Power on the device by shifting the red button at the right side of the RCB board (see
Figure 2-1. Assembled RCB hosted on a Key Remote Control board.