The DW3000 library in this repository was developed by NConcepts.
This project uses MakerFabs DW3000 UWB ESP32 modules.
Anchor-tag (AT): measuring the distance from one tag to multiple anchors
Distance-matrix (DM): measuring the distance matrix among all nodes
src
├── at_dstwr # Anchor tag: double-sided two way ranging
│ ├── main.cpp # setup() and loop()
│ ├── uwb.cpp # ranging protocal
│ └── uwb.h # constants, declaration
├── at_sstwr # Anchor tag: single-sided two way ranging
│ ├── main.cpp
│ ├── uwb.cpp
│ └── uwb.h
├── dm_dstwr # Distance matrix: double-sided two way ranging
│ ├── main.cpp
│ ├── uwb.cpp
│ └── uwb.h
├── dm_sstwr # Distance matrix: single-sided two way ranging
│ ├── main.cpp
│ ├── uwb.cpp
│ └── uwb.h
└── platformio.ini
- Clone the repository onto your local system.
- Connect the ESP32 UWB3000 and modify
upload_port
andmonitor_port
inplatformio.ini
.U1 is the initiator
- AT:
env:at_sstwr/dstwr_u<1-6>
. - DM:
env:dm_sstwr/dstwr_u<1-6>
- AT:
- Modify
NUM_NODES
andINTERVAL
inuwb.h
- Upload the code
pio run -e <env name>
to each device