Mesh Anchor , Node and Gateway Example for Nrf52832 dk and how to Approach mesh as beginner ?

Hi,

i am using nrf connect extension in vs code with Zephyr OS build v3.2.99-ncs2 and Nrf connect SDK 2.3.0. Our Application requirement to make Mesh Network. In which Anchor, Node and gateway are placed to cover 2 rooms. 

could you please suggest me any example code and tutorials on this given diagram?

Regards Abhishek

Parents
  • Hi Abhishek, 

    Could you give some more information about your application ? 
    What kind of data the node is collecting ? Would the node running on a battery or it's main supplied ? 
    Would the anchor node in the range of each other or they can be out of range and would require the node(s) to relay message ? 

    What's the distance between the Anchors ? And the distance between Gateway and Anchor. Would all the anchors be in the range of the Gateway ? 

    Have you tried with our mesh sample in the SDK for example \nrf\samples\bluetooth\mesh\light and \nrf\samples\bluetooth\mesh\light_switch ? 

  • Hi ,

    Could you give some more information about your application ? 

    Anchors are stationary wall mounted device operated on 3v-CR2032 Cell. nodes are also battery operated device. our application requirement to build mesh network of nodes to cover a range of room. each node sends their rssi value to the anchor. anchor collects the rssi value and send to the gateway. anchors would be in range to each other. Node relay rssi and address to the anchor periodically.

    What's the distance between the Anchors ? And the distance between Gateway and Anchor. Would all the anchors be in the range of the Gateway ? 

    Distance between the Anchors: 15 - 20 meters. Distance between Gateway and Anchor : 10 - 15 meters. not all Anchors are in range of gateway. actually gateway has power source to run on full receive mode. we want what is standard range of ble devices. low energy max distance possible.

    Have you tried with our mesh sample in the SDK for example \nrf\samples\bluetooth\mesh\light and \nrf\samples\bluetooth\mesh\light_switch ? 

    yes, currently using mesh example and provision them by nrf mesh network app. issue is that received rssi value is not of original sender. ow relay the rssi data? could please enlighten me on this? could not able to find meaningful tutorials and demo examples.  

    Regards 

    Abhishek

  • Hi Abhishek, 

    Please be aware that mesh relay node is not low power. Your Anchors won't be able to last for more than a few hours with the CR2032 if it does relay role. 

    If you can connect the Anchor to main power supply then it's OK. 

    As your end nodes doesn't need to do relay, they can be configured as low power nodes (no relay). This require the Anchor nodes to be in the range of other anchor nodes. 

    Regarding your question about rssi. There isn't a standard model to collect the RSSI of the original node (I assume you want the RSSI of original node with the nearest neighbor node). You would need to implement your own RSSI server that collect the RSSI value of all nodes around it. The standard RSSI value in a mesh package only show the rssi of the last hop. 

  • Hi ,

    Please be aware that mesh relay node is not low power. Your Anchors won't be able to last for more than a few hours with the CR2032 if it does relay role. 

    If you can connect the Anchor to main power supply then it's OK. 

    Got it, Anchor should be on main power supply.

    As your end nodes doesn't need to do relay, they can be configured as low power nodes (no relay). This require the Anchor nodes to be in the range of other anchor nodes. 

    Yes, Anchor nodes are in range.

    Regarding your question about rssi. There isn't a standard model to collect the RSSI of the original node (I assume you want the RSSI of original node with the nearest neighbor node). You would need to implement your own RSSI server that collect the RSSI value of all nodes around it. The standard RSSI value in a mesh package only show the rssi of the last hop. 

    Yes, I discovered that rssi receive only last hope. how to make rssi collector server on mesh network? could you please share us some example code regarding custom server application?

    how each nodes after provision know the address of anchor to send specifically their rssi to anchor only?

    does anchor get status of all nodes in network and collect their rssi with address? 

Reply
  • Hi ,

    Please be aware that mesh relay node is not low power. Your Anchors won't be able to last for more than a few hours with the CR2032 if it does relay role. 

    If you can connect the Anchor to main power supply then it's OK. 

    Got it, Anchor should be on main power supply.

    As your end nodes doesn't need to do relay, they can be configured as low power nodes (no relay). This require the Anchor nodes to be in the range of other anchor nodes. 

    Yes, Anchor nodes are in range.

    Regarding your question about rssi. There isn't a standard model to collect the RSSI of the original node (I assume you want the RSSI of original node with the nearest neighbor node). You would need to implement your own RSSI server that collect the RSSI value of all nodes around it. The standard RSSI value in a mesh package only show the rssi of the last hop. 

    Yes, I discovered that rssi receive only last hope. how to make rssi collector server on mesh network? could you please share us some example code regarding custom server application?

    how each nodes after provision know the address of anchor to send specifically their rssi to anchor only?

    does anchor get status of all nodes in network and collect their rssi with address? 

Children
Related