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

nRF52840 wireless mesh network set up

Hi, all. I am in need of serious help. I need to set up a wireless mesh network using the nRF52840 SoC. It must have 9 nodes and be capable of multi-hopping. I need to set up the mesh in a building with obstacles and  each nodes may need to relay packets to other nodes to help with the communications. I also need help with logging the latency and packet delivery ratios. Is it possible to detect the dynamic routing within the mesh?  I am only a beginner and i have done the examples successfully but i simply cannot do the mesh-it seems out of my league for now and so i need help. I have even gone through the You Tube videos but they have no code and mostly show only the 'blinky examples'. Please help. I tried  to contact other developers on the forum who wanted the same solutions but they have not responded and so i decided to contact the general community. Thank you in advance. 

P.S. I am new to this and so please be more plain in your explanations.

Parents Reply Children
  • I have read all the sections. I have 3 boards in front of me right now-all on. I want to replicate the mesh light switch example. I am using Segger. Whe i try to build the solution before programming the cleint, server and provisioner chips i get  the error :

    Building ‘light_switch_client_nrf52840_xxAA_s140_6.0.0’ from solution ‘light_switch_client_nrf52840_xxAA_s140_6.0.0’ in configuration ‘Debug’
    Compiling ‘main.c’
    C:\Users\Rorisang\AppData\Local\Temp\Temp1_nrf5_SDK_for_Mesh_v2.2.0_src(1).zip\examples\light_switch\client\src\main.c: No such file or directory
    Compiling ‘mesh_softdevice_init.c’
    C:\Users\Rorisang\AppData\Local\Temp\Temp1_nrf5_SDK_for_Mesh_v2.2.0_src(1).zip\examples\common\src\mesh_softdevice_init.c: No such file or directory
    Compiling ‘mesh_provisionee.c’
    C:\Users\Rorisang\AppData\Local\Temp\Temp1_nrf5_SDK_for_Mesh_v2.2.0_src(1).zip\examples\common\src\mesh_provisionee.c: No such file or directory
    Compiling ‘rtt_input.c’
    C:\Users\Rorisang\AppData\Local\Temp\Temp1_nrf5_SDK_for_Mesh_v2.2.0_src(1).zip\examples\common\src\rtt_input.c: No such file or directory
    Build failed

  • did you unzip the zip file to a folder ? This looks like you have opened the zip file and are trying to compile it.

    Added Edit:

    Extract the zip file before attempting to compile it. On windows : Right click on the zip file and click on the "Extract all..." option. 

  • I extracted all the SDKs to the C drive. I somehow am missing the nrf_sdm.h file( error is : nrf_sdm.h: No such file or directory). I followed the instructions which say i must extract both the mesh and

    nrf5_sdk_for_mesh &
    nRF5_SDK_15.0.0_a53641a

    files to the same folder. My problem seems to be this procedure.

  • The nRF5 SDK for Mesh now requires the nRF5 SDK to compile.

    This is what the documentation says.

  • Yes, you do need to the nRF5 SDK , extract it and you should be able to compile it. Make sure you extract it at the same folder level as the Mesh SDK.

Related