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.
Diff: DW1000/DW1000.cpp
- Revision:
- 47:b6120c152ad1
- Parent:
- 46:6398237672a0
--- a/DW1000/DW1000.cpp Tue Mar 10 12:11:13 2015 +0000 +++ b/DW1000/DW1000.cpp Thu Mar 19 12:54:28 2015 +0000 @@ -99,7 +99,7 @@ writeRegister(DW1000_TX_CAL, 0x00, &buffer[4], 1); readRegister(DW1000_TX_CAL, 0x03, &buffer[5], 2); // get the 8-Bit readings for Voltage and Temperature float Voltage = buffer[5] * 0.0057 + 2.3; - //float Temperature = buffer[6] * 1.13 - 113.0; // TODO: getTemperature was always ~35 degree with better formula/calibration see instance_common.c row 391 + //float Temperature = buffer[6] * 1.13 - 113.0; // TODO: getTemperature was always ~35 degree with better formula/calibration return Voltage; }