- Arduino IDE
- Navigate arduino-dw1000 and follow instruction to install the library
- DWM1000 breakout boards
- Copy
debug.h
,def.h
, andarduino.h
fromheaders
directory to here - Edit a sketch file
anchorArduino.ino
- Edit
networkId
to have a specific integer so that all anchors and tags share the same value - Edit
anchorId
to have a unique integer
- Edit
- Flash the sketch file
Wire 3.3 V and ground as shown in below:
Figure from DWM1000 datasheet
IRQ
:PIN_IRQ
in the sketch- Default: Arduino Pro Mini pin labeled 2
RSTn
:PIN_RST
in the sketch- Default: Arduino Pro Mini pin labeled 9
SPICSn
:PIN_SS
in the sketch- Default: Arduino Pro Mini pin labeled 10 (
SS
)
- Default: Arduino Pro Mini pin labeled 10 (
SPIMOSI
: Arduino Pro Mini pin labeled 11 (MOSI
)SPIMISO
: Arduino Pro Mini pin labeled 12 (MISO
)SPICLK
: Arduino Pro Mini pin labeled 13 (CLK
)