How many device can be connected in mesh light switch example.

Hi,

I am working on mesh network. i need to control 10 nodes in the mesh network with having one main node. I have taken the light switch sample as an example.

The process which i created is like  in two development kits in one i flashed the light switch sample and in other i flashed light sample i configured with nrf mesh app and i am able to control the leds in light sample using the light switch sample.

Now i need to connect 10 light samples to this light switch which placed in within 40m radius (based on the bluetooth connectivity radius)

So while i send data from the mesh light switch dk the led which is 40m radius needs to blink by using mesh topology.

suppose i am having 4 development kits. in one dk i have flashed the light switch sample. the other three with light sample. and i have provisioned the nodes, since dk contains four switches i have assigned each switch for each light in different dk. now i have placed each light in different distance like one dk near the other and the last dk far from the ble radius of the dk having light switch sample. So when button is pressed the dk which is far away need to be blnked by mesh topolgy.

How this possible using the samples or is there any other samples which can be used.

i need to know the mesh communication range.

For Example suppose i have three mesh light sampled dk and one light switch sample. And i have kept each dk with light sample at 10m differnce from each.other So the dk with switch sample and the third dk with the light sample is having distance of 30m. Will it work through the mesh topology when data is send from the switch sample dk to the light sample dk which is placed at 30m distance.

Parents
  • Hi, 

    To control multiple nodes, you need to pair each node with the Bluetooth Mesh: Light switch sample running in the same mesh network. Each node in the network will be a server running the Bluetooth Mesh: Light sample.

    The communication range in a mesh network is not limited to the Bluetooth connectivity radius. In a mesh network, data is relayed from one node to another. So, even if the light switch node is out of the Bluetooth range from a light node, it can still control the light node as long as there is at least one node within the Bluetooth range that can relay the data.

    In those two samples, if you have three light nodes placed 10m apart from each other and a light switch node 30m away from the third light node, the light switch node can still control the third light node. When the light switch node sends a command, the command is relayed through the first and second light nodes to reach the third light node.

    Here are the steps:

    1. Flash the Light switch sample to one development kit and the Light sample to the other development kits.
    2. Use the nRF Mesh mobile app to provision each node. During provisioning, an address range is assigned to each device and it is added to the mesh network.
    3. Configure the Generic OnOff Client model on the light switch node and the Generic OnOff Server model on each light node using the nRF Mesh mobile app.
    4. Once the provisioning and configuration are complete, you can control the LEDs on the light nodes using the buttons on the light switch node.

    For more detailed instructions, please refer to Light Switch Sample Testing and Light Sample Testing.

    Regards,
    Amanda H.

Reply
  • Hi, 

    To control multiple nodes, you need to pair each node with the Bluetooth Mesh: Light switch sample running in the same mesh network. Each node in the network will be a server running the Bluetooth Mesh: Light sample.

    The communication range in a mesh network is not limited to the Bluetooth connectivity radius. In a mesh network, data is relayed from one node to another. So, even if the light switch node is out of the Bluetooth range from a light node, it can still control the light node as long as there is at least one node within the Bluetooth range that can relay the data.

    In those two samples, if you have three light nodes placed 10m apart from each other and a light switch node 30m away from the third light node, the light switch node can still control the third light node. When the light switch node sends a command, the command is relayed through the first and second light nodes to reach the third light node.

    Here are the steps:

    1. Flash the Light switch sample to one development kit and the Light sample to the other development kits.
    2. Use the nRF Mesh mobile app to provision each node. During provisioning, an address range is assigned to each device and it is added to the mesh network.
    3. Configure the Generic OnOff Client model on the light switch node and the Generic OnOff Server model on each light node using the nRF Mesh mobile app.
    4. Once the provisioning and configuration are complete, you can control the LEDs on the light nodes using the buttons on the light switch node.

    For more detailed instructions, please refer to Light Switch Sample Testing and Light Sample Testing.

    Regards,
    Amanda H.

Children
No Data
Related