Help to get started with Zigbee

Hi, I want to implement a full Zigbee mesh with a coordinator and multiple router nodes for a university project and don't really know how to get started.

I have looked in the Zigbee documentation on the Connect SDK page, but can't find a way to implement simple messages. I have tried using the coordinator and template examples to send messages between them, but have had no success.


Any help is appreciated.
Philipp

Parents
  • Hello,

    In addition to recommend reading the getting started pages that BilalAliAhmad linked I want to clear up some terminology.

    but can't find a way to implement simple messages.

    Zigbee uses clusters, and the communication between devices depend on the clusters. Which clusters to use depend on what you want to do.

    I have tried using the coordinator and template examples to send messages between them, but have had no success.

    What type of data do you want to send? I can help you to get started if I have some more information on what you want the Zigbee devices to do.

    Best regards,

    Maria

  • Hello,

    thank you very much for your answer.

    I would like to have a network that consists of several routers and a coordinator. The routers will only respond when addressed by the coordinator. All devices will be constantly moving (some perhaps temporarily out of range), so messages may need to be forwarded multiple times to reach their destination.

    The router nodes have a job to do and thus receive the relevant data. Therefore, the process should be as follows:

    1. The coordinator sends a request to a specific node to perform its task to acquire Data.
    2. The node responds with a list of data as result.

    Greetings,
    Philipp

  • Schmid said:
    1. The coordinator sends a request to a specific node to perform its task to acquire Data.

    What exactly is the request? Please specify. The type of data (i.e. temperature) will directly impact which cluster to have on a node (i.e. temperature cluster).

    So we need to know what category of data you want to collect to know which type of clusters to include.

    Schmid said:
    2. The node responds with a list of data as result.

    It is not enough to address a certain node, you need to address a specific attribute in a specific cluster. The exact cluster depends on what the data is (i.e. Temperature Measurement cluster for temperature) and which attribute to read via the Coordinator's read attribute request (i.e. the MeasuredValue attribute for a temperature cluster).

    Also, here is a link for some more useful reading and documentation on the Zigbee Cluster Library (ZCL): https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/adding_clusters.html#add_temperature_sensor_device. (edit 2024/7/18: updated to TechDocs url)

    Just letting you know: I'll be out of office for a couple of days, and I'll be back on Tuesday.

    Best Regards,

    Maria

Reply
  • Schmid said:
    1. The coordinator sends a request to a specific node to perform its task to acquire Data.

    What exactly is the request? Please specify. The type of data (i.e. temperature) will directly impact which cluster to have on a node (i.e. temperature cluster).

    So we need to know what category of data you want to collect to know which type of clusters to include.

    Schmid said:
    2. The node responds with a list of data as result.

    It is not enough to address a certain node, you need to address a specific attribute in a specific cluster. The exact cluster depends on what the data is (i.e. Temperature Measurement cluster for temperature) and which attribute to read via the Coordinator's read attribute request (i.e. the MeasuredValue attribute for a temperature cluster).

    Also, here is a link for some more useful reading and documentation on the Zigbee Cluster Library (ZCL): https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/zigbee/adding_clusters.html#add_temperature_sensor_device. (edit 2024/7/18: updated to TechDocs url)

    Just letting you know: I'll be out of office for a couple of days, and I'll be back on Tuesday.

    Best Regards,

    Maria

Children
Related