This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Z-Stack Lighting CC2530ZDK-ZLL

Other Parts Discussed in Thread: Z-STACK

Hello,

is it possible to build following demo out of CC2530ZDK-ZLL?

1xRC, 3xLights, 1xZLL USB dongle

https://estore.ti.com/cc2530zdk-zll-cc2531emk-cc-debugger.aspx

As I read it should be possible to build a network where all devices will be included.

Then I am able to:

-I am able to control lights from RC

-I am able to control lights from PC

Question:

For our demo I would also need to send a packets from RC to PC, parse a packets

and perform relevant action in SW. Is that possible? How do I do that?

Thank you.

--

Rosta

  • Hi Rosta,

    Unfortunately it is not supported out-of-the-box. There are buttons on the RC to select a light device to communicate to, but another controller(PC) cannot be selected using those buttons.

    - Cetri

  • Hi Cetri,

    thanks for quick answer.

    In general, I see it should be possible, but FW for RC would have to be modified. Is that right?

    How would the one modify FW in RC in order to communicate with another controller (PC)?

    Is that big project? I am not familiar with zstack. I have general understanding of zigbee layers.

    --

    Rosta

  • Hi Rosta,

    Does this demo you are working on need to be based on ZLL (ZigBee Light Link) profile, or can it be based on ZigBee Home Automation profile? If the second option is viable, than I can estimate this as a relatively small / medium project for you - definitely not a 'big' project :-)

    You will need to follow these steps:

    The ZLight LED light modules already support home automation out of the box - no need to modify them.

    The ZigBee Dongle would need to be programmed with TI's ZNP (ZigBee Network Processor) firmware, available as part of the Z-Stack software package (http://www.ti.com/tool/z-stack) - please download the latest Z-Stack Home release. Programming the dongle with the ZNP firmware, enables you full ZigBee connectivity from your application running on the PC. The dongle is then connected to the PC as a serial device (emulated com port). Note that you could probably use the fw hex file that is already provided in the download, so there is not much to do on the embedded part here as well. Before writing a pc application, you could simply test everything using TI's Z-Tool application, which is also available in this download.

    The third part of this solution would be to port the Sample Switch sample application, also available in the Z-Stack Home installer, to run on the remote control unit. This may be the less straight forward part of the solution, but it should not be difficult. You may need to reference the original code of the remote control (for figuring out how to get button presses, etc.) - you can get the code by downloading the latest Z-Stack Lighting from the same link above.

    I hope you find this information useful.

    Best regards,

    OD.