Hi everybody, I’m a newbie about DWM1001 and I would really appreciate some help.
Currently, I have 2 DWM1001-dev modules and I would like to see their relative distance somewhere (TeraTerm, Arduino or Rpi). I used the DRTLS app to set one of them as active tag, the other one either as active anchor or as passive anchor (both cases initiator), but I did not receive anything (neither in TeraTerm, nor in Arduino nor using Rpi).
I’m starting to wonder whether it is even possible doing something like this. Do you have any suggestion?
I’ve figured it out. It may be useful for the community, so I share it.
I’m starting to wonder whether it is even possible doing something like this.
The answer is yes, it is possible, and this is the setup I’m using:
Arduino MEGA
2 DWM1001-dev modules
Following the firmware user guide set the network up so that one module is an active tag, the other one is an active anchor (initiator). Before doing this, make sure to flash the base firmware version on both modules (page 15 and 16 of this guide).
Arduino Tx and Rx channels (serial1) cannot be directly hooked to the module since it needs 3.3V, not 5V, so create a voltage divider.
Arduino should be connected with the active TAG (not anchor) such that:
Hi Francimala,
I followed all of your steps to the letter and it still doesn’t work for me …
In my Serial I get all the sentences like “Sending SHELL command” … But after “Command succefully passed” I no longer have any values displayed Did you have this problem?
Sorry for my english, I’m French.
Have you already tried connecting the tag to the pc through USB cable opening a serial communication to program it? I mean without Arduino, just connecting the USB cable then using putty or teraterm to open a serial communication to see whether you are able to see data and program the board (you may need to press enter once, then after 1 or 2 second press again enter twice and then send the Lec command)?
Are you sure the ground is connected between Arduino and the module? Because it seems that you are not seeing anything on the serial port…
Nevertheless, I’m not an expert, so I’m guessing the possible solution
Yes when I connect a tag directly to the PC I can see the position data by typing the command “lec”. But as soon as I use Arduino nothing more …
I also checked that the ground was well connected …
I’m trying to attach a photo of my montage
Maybe I have a problem with Tx and Rx connection. You connect Tx and Rx of the Decawave with Tx and Rx or Tx1 and Rx1 of the ArduinoMega?
Have you unsoldered J13 to access Rx on the Decawave?
Thanks for your help
Instead of powering the DWM module by means of Arduino, connect it through USB to the PC and test the code in this way. Leave the Arduino connection as is, remove only the red and black cables. (this is the scenario I tested).
If you have it, try the same scenario using a power bank instead of the pc to see what happens to the serial monitor (this is something I could do).
Hello
I tested the same scenario, measured distance between one anchor and one tag. How are your results when compared to true distance measured by tape measure? On my side, I saw distance between them is changing throuh TERATERM and take average of that data and conmpared to real distance measured by tape measure but I got large error as shown below. Any recommendations?
Hi, this works very well for me when the DWM1001 is connected to a PC. However it doesn’t work when I power the DWM1001 via a 3.7 LIPO battery. DO you know if I can make something to solve it ? Thanks