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
  • Have you read the getting started sections and all the parts it refers to ?

  • My knowledge is limited as i have a physics background

    So imagine that someone came to you saying, "I need to do <some complex physics problem>, but I don't know much about physics...".

    How would you advise them?

    What you are asking is not a beginner problem - so you're going to need to spend some time getting up to speed with embedded code development, and wireless networking ...

    https://www.avrfreaks.net/comment/2079906#comment-2079906

  • 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. 

  • Just keep it to yourself if you can't help me. I certainly did not need your very annoying reply. You may as well tell your friends about it and have a laugh 'Mr. Rocket Scientist'.  Is there a problem if someone if someone says "I want to be a car driver but i am still a learner driver?". Be careful about looking down on other people because you know so much. I will get to the stage you are at, no matter how long it takes me. I might never be as good as you but you were once like me-this i do not have to imagine. Have a lovely day.

Related