background image

 

 

Atmel AVR2060: BitCloud ZigBee Light Link Quick Start Guide [APPLICATION NOTE] 

42004B

AVR

08/2012 

9

3.3 

Color scene controller’s functions 

3.3.1  Main commands 

Table 3-1

 lists buttons for the main color scene controller’s commands. See the scheme of the Key Remote board with 

all available commands in 

Figure 3-2

Table 3-1.  Biuttons for executing most frequent commands. 

Button(s) 

Effect 

PWR 

Press and hold for three seconds to perform touch link 

PWR + R 

Press and hold for three seconds to perform classical ZigBee scanning 

PWR + R 

Press and hold for three seconds to reset device to factory new state 

PWR + R+ + R- 

Reset a color light to the factory new state. The target color light should be selected using the 
SEL button; otherwise all color lights present in the network will be reset to the factory new state 

L+/L- 

Color light’s on/off 

Up/Down 

Increase/decrease light level 

Left/Right 

Increase/decrease saturation 

Colored buttons 

Set the corresponding color using the following values: 
Red:     hue = 60000 or x = 40000, y = 20000 
Green:  hue = 30000 or x = 10000, y = 40000 
Yellow:  hue = 15000 or x = 30000, y = 30000 
Blue:    hue = 45000 or x = 10000, y = 10000 

SEL 

Select the next bound device and requests it to identify itself. This allows sending unicast 
commands to a single device. Groupcast mode will be entered automatically after five seconds 
of inactivity. 

1/2/3 

Store Scene if pressed for more than three seconds and Recall scene if pressed for less that 
three seconds 

7/8/9 

Set minimum/middle/maximum light level 

Triggers network update: the color scene controller applies a standard ZigBee mechanism to 
select a new operating channel for the network and broadcasts a command to update the 
channel on all other devices 

The SEL button may be used to select a color light. When this button is pressed and released, the next color light 
becomes active, which means that all commands initiated by the user are sent to this color light in a unicast manner, 
until no additional commands are sent for a five second period. 

3.3.2  Reset to factory new state 

To reset a scene controller device to the factory new state, press the PWR button while holding the R- button and wait 
for three seconds. The LED located at the bottom of the RCB board will blink once to indicate that the device has been 
reset to the factory new state. 

3.3.3  Touch link/forming a network 

For touch link a color scene controller is brought close to a new color light, which is not in the network yet. By pressing 
the PWR button on a color scene controller, the user initiates a commissioning procedure, where the goal is to transfer 
network parameters to the color light. At this moment the devices are not yet in the network, but the communication is 
possible, because it happens on the MAC level without a need for routing. 

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. 

Содержание AVR2060

Страница 1: ...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 support...

Страница 2: ...6 2 3 1 1 Precompiled images 6 2 3 1 2 Application workspace 6 2 3 2 Programming with Atmel AVR Studio 6 3 Demo application 7 3 1 Launching the demo 7 3 2 Color light s functions 7 3 2 1 Touch link wi...

Страница 3: ...ific API definitions BitCloud lib BitCloud compiled libraries Applications ZLLDemo Demo application s sources and projects Evaluation Tools ZLLDemo Demo application s pre compiled images Documentation...

Страница 4: ...s used with BitCloud may be found in 3 or 4 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 control...

Страница 5: ...d fuse bits settings are shown in Table 2 1 Table 2 1 Fuse bits for Atmel ATmega128RFA1 Option Required value for 8MHz Required value for 16MHz BODLEVEL 1V8 1V8 OCDEN Enabled Enabled JTAGEN Enabled En...

Страница 6: ...n a workspace for example ZLLDemo eww and select JTAGICE mkII Fuse Handler JTAGICE 3 Fuse Handler 2 Click Read Fuses and make sure that the device fuses are set as specified in Section 2 2 2 3 If fuse...

Страница 7: ...lor light are needed More devices lights or controllers may be added as required Assemble devices as described in Section 2 2 1 Program devices with pre built images of the demo application via JTAG a...

Страница 8: ...ify command to the color light which blinks several times with its LEDs or the LCD screen The touch link procedure may be aborted at this moment if the PWR button is released To complete the procedure...

Страница 9: ...all scene if pressed for less that three seconds 7 8 9 Set minimum middle maximum light level 4 Triggers network update the color scene controller applies a standard ZigBee mechanism to select a new o...

Страница 10: ...te If touch link between controller devices is not performed pairing a new controller device with a color light that is already in the network will cause the color light to leaving this network and fo...

Страница 11: ...ene E Add Scene Remove Scene Store Scene hold Recall Scene Add Scene E Add Scene Remove Scene 4 5 6 Network Update Read ZLL version Trigger Breathe Trigger Finish Trigger Stop 7 8 9 MoveToLevel MoveTo...

Страница 12: ...by color light and color scene controller Such file initializes structures needed for the cluster and implements callback functions that are called to indicate commands responses For example see the...

Страница 13: ...ght Link Profile Specification Version 1 0 2 AVR2056 BitCloud Profile Suite Developer Guide 3 AVR2052 BitCloud Quick Start Guide 4 AVR2055 BitCloud Profile Suite Quick Start Guide 5 AVR2104 RF4CE EK R...

Страница 14: ...y 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 D...

Отзывы: