Goodmorning everyone, I am a student working on a project and one of my tasks involves reading data from this sensor (bmp280) using Labview. Let me make the set up I adopted clear. The sensor is connected to an Arduino. The Arduino is connected to a computer. I use Labview to read the data (with the help of LINX functions). I know it would be easier to read data using Arduino IDE (since there is a library doing the "dirty-job" for you) but reading data using Labview is a priority. Anyways, I go to the registers and read all the data I need, namely digT1,...,digP1,...,adc_T,adc_P. At this point I use a compensation formula for 32 bits systems in order to process the data and get the final value for pressure. I don't use the compensation formula for 64 bits (like the Arduino IDE library does) as Labview coding-function doesn't support int64 variables. Anyway, by using both the two formulas for 32-bits I obtain pressures around 100 000 Pa. When I use arduino IDE (which relies on a 64-bit compensation formula) I obtain pressures around 93 000 Pa, which is a value agreeing with the weather station's measurments. And here comes my question. Do you think I am getting such difference in the final result because the 32-bit compensation formula is meant to be this "not precise" or I have implemented uncorrectly the compensation formula? If you had to read data from this sensor and get it somehow on LABVIEW, what would you do? I am not an expert when it comes to these kind of topics. I am less than a beginner. I hope to have made my problem as clear as possible so that you could give me a hint of how to tackle this problem. Have a nice day!
... View more