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.

Zigbee Home automation, adressing, comissionning : creating a new network

Other Parts Discussed in Thread: Z-STACK

Hi all,

I'm a student  in a French (I apologize for my bad english, hoping you will understand) school of electronics, and four coworkers and I have a project about Zigbee home automation. As we have chosen our subject ourself, teachers cannot help us.

Our project is to create a "mother board" (based on a Raspberry PI) commendable with an android smartphone or a web page. With this motherboard, we create two "daughter boards", very simple in a first time : just a button actioned by the user and a daughter board controlling a on/off lamp. The motherboard and daughter boards communicate in a Zigbee Network. In this network, the motherboard is the coordinator. First we will do only end devices.

As this project is about Home automation, we have chosen Zigbee Home automation as our profile. Furthermore, we use Xbee Modules. 

We have some issues with addressing and network creation. For the moment, we do not have written any code, it's only "paper work". 

The first issue we have is about PAN ID. In the Zigbee Home automation documentation, Startup parameters precise PAN ID = 0xFFFF and ExtentedPAN ID = 0x0000000000000000. But this is the only place in the document where PAN ID is mentioned. Moreover, there is no PAN ID in ZCL or ZDO frames. How does a device in the network know that this frame is for him and not for a neighbor network?

Then, I have read somewhere that the 16-bit address can be changed. For instance, the startup parameters precise Short Address = 0xFFFF, so, it will be changed (by the coordinator probably ?) ... we do not have found any function for re-adressing this 16-bit address in the Zigbee Specification (but we don't have read the 600 pages at this moment). Could you help us and explain how it works ? 

thank you for having read these questions and for your answers

Marc Chartan

  • Hi Marc,

    your project looks very interesting and we are excited to see ZigBee becoming a popular wireless technology not only in the industry but also in the academia world.

    I would encourage you to visit ti.com/zigbee to see TI product offering and Evaluation modules available to start your ZigBee projects.

    We have a ZigBee stack which is free to download to use on our parts which can be found at ti/com/tool/z-stack that is really target application spaces, like Home Automation, that i encourage you to visit.

    Our SDKs contains besides stack code, examples of real applications using it, tools and documentation that can help you setting up a Zigbee network for your project without reading the ZigBee specification.

    I also recommend visting the website of one of our module partners, anaren.com/air-boosterpack for a product kit which allows you to quickly access to ZigBee functionality.

    I noticed that in your example you would like to use Digi modules, but we don't support in this forum Digi-based products.

    Thanks,

    TheDarkSide 

  • Hi Marc,

    You can refer to the book "zigbee wireless networking" .