DecaWave EVK1000 and TREK1000
EVK1000 and TREK1000 are Two-way Ranging Evaluation Kit for DecaWave’s UWB DW1000 chip. You can see and evaluate a ranging result on a screen of each of them. However, to see a positioning result, you need to connect one of them with a PC and use DecaWave’s dedicated software only on Windows. Here’s how to read data from EVK1000 without the dedicated software.
Preparing a Driver
This kit has a COM (serial) port. But this port is wrapped with USB interface and operates with a virtual COM port driver.
- On Windows, a driver for this (STM32 Virtual ComPort in FS Mode v1.4.0) can be downloaded at here (or mirror). After downloading and extracting the file, run
<OS>/dpinst_<arch>.exedepending on your
<arch>are your OS and architecture, respectively. A related thread can be found here.
- On Linux and macOS, when a board is connected, a driver will be automatically loaded.
For more detail, please refer FTDI Chip.
Reading and Parsing Ranging Data
Configure anchors and a tag by flipping switches as instruction says, and connect an anchor or a tag with a PC. Since it uses a virtual COM port, serial communication parameters are automatically configured and you don’t need to worry about it.
When connection is successful, you can see outputs on a serial port terminal as the following:
mr 01 000004d1 00000000 00000000 00000000 001e 20 403c403c t7:0 mc 01 0000058c 00000000 00000000 00000000 001f 21 00003fe5 t7:0 mr 01 000004ba 00000000 00000000 00000000 001f 21 403c403c t7:0 mc 01 0000059a 00000000 00000000 00000000 0020 22 000040fd t7:0 mr 01 000004c8 00000000 00000000 00000000 0020 22 403c403c t7:0 mc 01 00000579 00000000 00000000 00000000 0021 23 00004215 t7:0 mr 01 000004a7 00000000 00000000 00000000 0021 23 403c403c t7:0 mc 01 0000059a 00000000 00000000 00000000 0022 24 0000432d t7:0 mr 01 000004c8 00000000 00000000 00000000 0022 24 403c403c t7:0 mc 01 00000574 00000000 00000000 00000000 0023 25 00004445 t7:0 ...
Here, important columns are from the 3rd to 6th, 7th, 8th columns.
- The 3rd to 6th columns represent a range measurement from each anchor 0 to 3 in hexadecimal.
- For example,
1233, which is 1.233 m.
- For example,
- The 7th column represents a sequence number
- The 8th column represents a ranging sequence number