Simple example DWM3000 Arduino Shield

Hi,

I want to connect the DWM3000 Arduino Shield to an Arduino Board.
I cannot seem to find the library or a code example that will help me successfully connect the board to an Arduino-type board. I am wondering if any one had successfully connected and communicated with Arduino board using the DWM3000 device.
Many thanks
Thomas

To use the DWM3000 with an Arduino board, you will need to install the Arduino library for the DWM3000. You can find the library and instructions for installation on the Decawave website:

https://www.decawave.com/product/dwm3000-module/

Once you have installed the library, you can use the examples provided in the library to communicate with the DWM3000 module.

Here is some sample code that demonstrates how to communicate with the DWM3000 module using the Arduino library:

#include "Decawave.h"

Decawave dw(D2, D3, D4);

void setup() {
  Serial.begin(115200);
  dw.begin();
}

void loop() {
  if (dw.update()) {
    Serial.print("Distance: ");
    Serial.print(dw.getDistance());
    Serial.println(" cm");
  }
  delay(1000);
}

This code initializes the DWM3000 module using the Decawave library, and then reads the distance measurement in centimeters in a loop. You can use the getDistance function to retrieve the distance measurement, and you can use the other functions provided by the library to configure the DWM3000 module and perform other operations.

I hope this helps! Let me know if you have any questions.

Hi, Keonte45 can you send an archive with the library, I can’t find it on the website