jremington / UWB-Indoor-Localization_Arduino

Open source Indoor localization using Arduino and ESP32_UWB tags + anchors
GNU General Public License v3.0
129 stars 33 forks source link

Error read temperature and voltage of DWM1000 #4

Closed hongthiet1994 closed 2 years ago

hongthiet1994 commented 2 years ago

I used DW1000.getTempAndVbat(temp,volt) to read value temperature and voltage but value not true

temp : -132.039993, volt: 2.513873

->> i think value voltage may be true, but value temperature not good Is anyone else having the same error as me?

jremington commented 2 years ago

The code for the function getTempAndVbat() is from the original DW1000 library by Thomas Trojer.

If you look carefully at that code, it relies on baseline values stored in the OTP memory of each DW1000 module during "production run tests", as described in the DecaWave user manual.

When using the DW1000 modules installed in the MakerFabs ESP32-DW1000 boards, be aware that those modules are not from DecaWave, and may not have the required baseline data stored in OTP memory. That is a question to ask of MakerFabs.

hongthiet1994 commented 2 years ago

thank you so much