This is the DW1000 driver and our self developed distance measurement application based on it. We do this as a semester thesis at ETH Zürich under the Automatic Control Laboratory in the Department of electrical engineering.

Dependencies:   mbed

Revision:
32:041dd02e0e3b
Parent:
31:6f76f3d518ac
Child:
33:6ea4c3dd504d
diff -r 6f76f3d518ac -r 041dd02e0e3b main.cpp
--- a/main.cpp	Mon Dec 01 13:04:18 2014 +0000
+++ b/main.cpp	Tue Dec 02 13:32:34 2014 +0000
@@ -18,10 +18,11 @@
     pc.printf("Voltage: %f\r\n", dw.getVoltage());
 
     r.receiver = true;
+    
     bool senderstart = true;
     while(1) {
         for(int j = 0; j < 10; j++)
-            pc.printf("%f ", r.tofs[j]*MMRANGING_TIMEUNIT);
+            pc.printf("%d  ", r.tofs[j]);//*MMRANGING_TIMEUNIT);
         pc.printf("\r\n");
         for(int j = 0; j < 10; j++)
             if(r.event[j][0] == '!') {