Hello,
I hope this finds you well.
I'm working on a project where I need multiple nrf24l01 transceivers to perform two-way communication (up to the max - 3125 nodes) using a branched tree network.
Reference:
- https://howtomechatronics.com/tutorials/arduino/how-to-build-an-arduino-wireless-network-with-multiple-nrf24l01-modules/
-
RF24Network for Wireless Sensor Networking | maniacbug
Basically what I'm doing is that I'm installing a system with the nrf24l01 module which will be equipped In multiple cars and one system that will act as a base station on a road.
So whenever the car with the module will come in the range of the base station it will send some identification details like car number, money that the system holds, etc to the base, the base after receiving the same should check the database that whether there are updates in these values or not, if there are then send back appropriate updates to the system.
The problem here is that while using a branched tree network you already need to define a unique node address for a particular system in a car like 01,02,03....0011, etc. Which can't be logical because what if node 011 is there but node 01 is absent?
So is there a way or function to automatically assign the next available node address to a newly coming car in the range?
For example, if no car is in range, then when the first car enters it automatically gets assigned the node value of 01, the second incoming car with 02 and the sixth car with a node address of 011.
PS: I want the cars to send data to the base station via other nodes, I don't want to send data from say 011 to 025.
Looking to hearing from you all soon.
Thank you to all in advance.