I am working on an Asset locator using Arduino and nrf24l01. I want one of the nrf24l01 to track another which is attached to an object. How can it be done?
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
You have to divide this project in separate steps:
- Use a GPS to get the coordinates
- Send the GPS coordinates via the nRF24L01 to the 'controller'
- GPS only works outside; otherwise use gyro/compass etc as addition
- Range limitations
- Power limitations
If you don't want to use GPS, you might be able to use 2 nRF24L01s which send a signal at exactly the same time, track it with a third one (attached to the object), calculate the difference in times and based on that calculate the distance to both other nRF's and calculate the position. You might even need a third sender.
Of course this is quite tricky, like synchronization of time between messages and the need for multiple nRF's, also at different distances/directions to be reliable.