Closed ksnboopa closed 4 years ago
You aren't calling mesh.update()
often enough for any reliable node-to-node communication required for the mesh to function.
@Avamandar,
I am calling it in master even without delay and in child node in every 4 seconds.
Could that be a problem?
I’ll change it without delay in child and let me check.
No luck yet.
If you take the bare examples, do they work on your hardware and with this node count?
With bare examples I have not tested it yet. We will change implementation to RF24Ethernet and check it and let know
@Avamander,
It was memory issue. my SRAM was used more than 73%. Due to which program was not stable enough as atmel 328 has 2048bytes only. Already Ethernet along with rf24mesh took around 68% progmem and 65% SRAM for mqtt_basic.ini itself.
I am just monitoring my devices and it’s stability with 8 nodes along with Raspberry gateway. I will post results after a week monitoring.
Qn. I am planning to connect 100 nodes with a single Raspberry gateway with data rate as 1 mbps. Will it be a good enough design or do I need to include any extra care with code and config.?
Anyways thanks a lot for your support and this awesome library guys...
It was memory issue. my SRAM was used more than 73%.
Wrap every string in your code into F()
for example F("This is a string")
that will reduce RAM usage.
Will it be a good enough design or do I need to include any extra care with code and config.?
The library can not handle collisions, either do scheduling or retransmissions if you need arrival.
I am planning to connect 100 nodes with a single Raspberry gateway with data rate as 1 mbps.
If you reset your master node then you either have to load address allocations from disk and/or implement a ping-pong scheme to make sure nothing is lost. Have your nodes contact the master and expect a reply, that way the node will know the address it has is valid, if the address is not valid but your node uses it it'll cause issues.
Hi,
I have PI zero as master and arduino nano as my sensor nodes. When I connect to my nodes everything seems to works fine with samples. When I add one mode node to mesh, mesh is connected but not able to send messages to all my nodes.
Master : RPi Zero Nodes : Arduino nano boards
I will change only node ID to add any new node and upload my sketch.
Whenever I get MQTT msg, will be published to specific node. Whenever I get Mesh msg, will be published to MQTT back.
I tried all possible ways for this. Please help me on this. Or should I enable any configuration If I want to add multiple nodes while I use fixed nodeID.
Child script :
Master script :