is mesh n/w possible using RFM69 without using gateway?
-
I am new to RFM69. I want to make a mesh network using RFM69 and Arduino. Is it possible to make this without using a gateway? Help me in the programming of this.
-
Hi @abt, welcome to the MySensors community.
MySensors uses a tree topology, so it won't give you a mesh network.
All MySensors networks need a gateway.But it may very well be that MySensors can handle your use case. Would you mind sharing what you want to do?
-
@mfalkvidd
Thanks for the reply. Not at all.I do not have any problem with this.
-
Hi @mfalkvidd,
how can i make a simple mesh network which directly sends message to the concerned node and that node acknowledge to the main node from which that message has been received with or without a gateway ?
-
It can be done in the MySensors framework, but I am not sure I would call it simple. See this thread:
https://forum.mysensors.org/topic/1085/node-to-node-communication
I used node-node communication once to reduce latency on a button press, but as @mfalkvidd states, this is not the norm for MySensors. After more fiddling, I determined I did not actually need the node-to-node to make my application work.
-
@abt
Look at LowPowerLab RFM69 examples.
In gateway sketch you can see how to handle incoming messages, in others how to send messages.
Combine this two and you obtain node, which is able to send messages to any node and receive messages too.
But it is not realy "mesh" , it is normal "peer to peer" network.
RFM69 has got good range, so in normal house real mesh is not needed, I think.
What I consider real mesh is MySensors with parent nodes or ESP-MESH:https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/mesh.html
-
Hi @mfalkvidd,
If you don't mind ,could you share your tree topology code?
-
@abt I don't have any tree topology code.
MySensor's routing code should be somewhere in https://github.com/mysensors/MySensors/tree/development/core I think.
-
Check out the RadioHead library, it implements a mesh network on RFM69
-
Hi @carywin Which library is good for any network you want to build rfm69, RadioHead ? Does it make any difference in code?