nRF24L01 mesh network with 16 nodes - healing issue


hello, have created mesh network of 1 master , 16 nodes controlling led strips on drums (dumline) master controller.  using arduino uno boards nrf24l01 transceivers.  have project working less 8 or nodes, bring additional nodes online , join network, nodes become hung , not rejoining network.  since visually synced lighting application, need ensure nodes checking ensure in network , receive lighting commands master transmitter. 

some other details around design:
i using ws2812b led strips , fastled library can create chase patterns custom color palettes animate around drums.
to minimize amount of necessary data transfer, have stored around 30 scenes on each node. master transmitting signal nodes containing instructions node should run scene, (ex, run scene 3 on node 1, scene 6 on node 2, scene 1 on node 3, etc) 
it nice specify command each drum/node, individually, in interest of minimizing data transfer, grouped drums 7 groups, , send scene command each group.  when load code each board, manually set variable uniquely identify node id each one.
master scenes stored on master unit , i'm using up/down buttons cycle thru scenes, button push transmit scene nodes.  use loop send command multiple times not able determine how use ack ensure each node receives command.  opportunity improve robustness here, priority expert advice on how these 16 nodes robustly stay connected network , able receive commands can control lighting on drums remotely.  you'll notice have connected buttons 2 pins on each node allow drummer manually cycle up/down thru scenes.  optimally nodes heal network in feasible order (since drummers change formations , positions) acceptable define hierachy , statically address each node if there issues them stepping on each other, or not releasing last id mesh.  i'm having hard time troubleshooting , don't see issues until have physically added 8 or nodes network, need expert advice here on how make quick fixes test , network working :-)  thank help!  first big arduino project , i've done best research , resolve need getting on hump , i'll have magnificent arduino project!!

i not use network structure in case, adds overhead , latency.

you send current state vector in multicast packet of 32 bytes.

each node pick mode/state fixed position.

send current global state x times per second, , if state changes.

so can control 32 / 1 byte state devices, or 16 / 2 byte state devices.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > nRF24L01 mesh network with 16 nodes - healing issue


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???