TREK1000 DecaRangeRTLS ARM Demo Project for object detection


We are developing collision avoidance system using DW1000. In our application there can be multiple node(each having single DW1000 and ST micro) present at any time. Number of nodes present can be vary from 2 to 10. What we required is each node shall be able to detect the presence of another node using Two way ranging. TREK1000 DecaRangeRTLS ARM Demo Project uses the concept of Anchor and Tag for detecting the location of Tag. So we cannot directly uses this demo project. We need to develop a solution in that only Tag will be required. Each tag should be able to detect the position of other Tags independently. Please help me to achieve this implementation. How I can proceed with the DecaRangeRTLS ARM Demo Project for making the application I explained above. Is there any example already available that uses only Tag for location prediction. Please help.

Shijo Thomas

Hi Thomas,
No such examples available.

As a general approach, it is wrong idea to go coding if you have no algorithms developed. You need to design them first.
Pen and piece of paper would be sufficient for that.

Hi Aliv,

Can we run both TAG and ANCHOR instance in same source code. For example TAG instance will run for 50ms and the ANCHOR instance will run for next 50ms period. The same sequence will continues after that. Is it possible to modify the source code as I mentioned? Is there any practical difficulty on doing this.

Shijo Thomas

Answering your direct question: of course you can do that. There are few practical difficulties for you:

  1. to make such modifications, you should understand how the current system works and it is obvious to me that you do not.
  2. As I said before - the pen and a piece of paper to design interractions between elements of your system is necessary to be done before any modifications to the code.Please use pen and paper to write messages in the air and understand how TREK works.Then, you can think how to modify it to fulfill your requirements.

if you designing system where elements are changing their roles, immediate questions you should answer to yourself:

  • size of your system;
  • how nodes will identify, who is who?
  • what will happen if few nodes will hold the same roles? Collisions avoidance mechanism?
  • requirements to power consumption?

This all is basics. The time spend for the proper design will help you avoid future stoppers in your project and will lead to a successfull implementation.
However, if you will not do that, the completion is under a big question mark.

1 Like