This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Which Zigbee cluster to use for measuring Tank level using radar sensor and nRF52840

Hi,

I am new to the zigbee development and currently going through the documents. 

My end goal is to develop a application that measures the level of a tank using radar sensor with nRF52840 using Zigbee.

I am not getting in particular which cluster/ profile to use. 

It will be very helpful if you could help me with link or document to study the same.

Thanks and regards

AnkeetG

Parents
  • Hi,

    What type of data will the measurements be? How are you planning to process the data, or what are you planning to do with the data after measuring it? This might affect what clusters will be best to use.

    Some measurement or HVAC clusters might have been relevant for measuring tank level or flow, but I do not thing they will be the best option here, since you want to use a radar. One possible cluster might be the analog input cluster, which can be used for reading analog measurements. You can read about this cluster in the Zigbee cluster library specification.

    Best regards,

    Marte

  • Hi Marte,

    Thanks for the information.

    The data will be already processed. As I will be measuring water level using distance calculation. The sensor will handle all the processing. Sensor I am using is Acconeer A111 sensor, which is already featured on nordicsemi website. After measuring the data for now I only wish to show the user what is the current water level in the tank. I will be reading data over SPI, so I don't think analog input cluster might help. with the above information, can you will be able to specify which cluster can I use?

    Thanks and regards

    Ankeet Gugale

  • Hi,

    From your description I am struggling to understand where Zigbee comes into this. If I understand your project correctly, you are using the A111 radar sensor to measure the water level, and to process the measurement. Then you want to show the data to the user, and this will be sent to another device using SPI? Please correct me if this is wrong, but I do not see what you want to use Zigbee for in this case. Is it to send the data to another device in a Zigbee network to display it to the user? If so, knowing what data type the measurement is will help me with knowing what clusters might be possible to use.

    Best regards,

    Marte

Reply
  • Hi,

    From your description I am struggling to understand where Zigbee comes into this. If I understand your project correctly, you are using the A111 radar sensor to measure the water level, and to process the measurement. Then you want to show the data to the user, and this will be sent to another device using SPI? Please correct me if this is wrong, but I do not see what you want to use Zigbee for in this case. Is it to send the data to another device in a Zigbee network to display it to the user? If so, knowing what data type the measurement is will help me with knowing what clusters might be possible to use.

    Best regards,

    Marte

Children
  • Hi,

    Sorry, I was not able to put it properly. My device will work as sensor node and will transmit the measured data to Gateway(alexa or other gateways). The tasks performed at sensor node side will be measure and communicate. So for communication between sensor node and gateway which type of cluster can be used considering my end application.

    I hope now I have put it properly.

    Thanks and regards

    Ankeet Gugale

  • Hi,

    I am waiting for the response. Can you please help me with the zigbee profile.

    Thanks and regards

    Ankeet Gugale

  • Hi Ankeet,

    Because of public holidays in Norway I have been out of office, so I apologize for the delayed response.

    There are no specific measurement and sensing or HVAC clusters that would be a good fit for your project as far as I know, but the input, output and value clusters might be a good fit. From the description of your application, you should use the Analog Input cluster.

    This cluster can be used for reading the value of a measurement, as well as accessing characteristics of that measurement. The sensor measurement value will be the PresentValue attribute. There are also additional attributes in the cluster that might be of use to you, but this one is the most important one, and the one that you want to send. The PresentValue attribute supports commands that read the attribute value, as well as attribute reporting, so you can use both on your gateway to get the attribute value.

    Unfortunately, this cluster is not implemented in our SDK already. However, the Binary Input cluster is, so you can take a look at the relevant files for that cluster and use the Zigbee Cluster Library Specification to see how to implement the Analog Input cluster. 

    Best regards,

    Marte

  • Hi Marte,

    Thank you for your reply. I will study and try to implement your recommendation.

    If any queries I will post again.

    Thanks and regards

    Ankeet Gugale

Related