Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect altitude reading #6

Open
ferllings opened this issue May 3, 2020 · 0 comments
Open

Incorrect altitude reading #6

ferllings opened this issue May 3, 2020 · 0 comments

Comments

@ferllings
Copy link

ferllings commented May 3, 2020

Hello,

I'm doing a quick test with my BMP388, and it displays
INFO Altitude = -24135.46 m

Am I reading it correctly? My altitude is around 156m

Thanks,

(here is the full output:)

2020-05-03T10:21:20.470 [     i2c] DEBUG  Write 2 hex bytes: [1b13]
2020-05-03T10:21:20.471 [     i2c] DEBUG  Write U8 19 to reg 0x1B
2020-05-03T10:21:20.471 [     i2c] DEBUG  Write 1 hex bytes: [03]
2020-05-03T10:21:20.471 [     i2c] DEBUG  Read 1 hex bytes: [70]
2020-05-03T10:21:20.471 [     i2c] DEBUG  Read U8 112 from reg 0x3
2020-05-03T10:21:20.471 [   bsbmp] DEBUG  Busy flag=0x70
2020-05-03T10:21:20.472 [     i2c] DEBUG  Write 2 hex bytes: [1d11]
2020-05-03T10:21:20.472 [     i2c] DEBUG  Write U8 17 to reg 0x1D
2020-05-03T10:21:20.472 [     i2c] DEBUG  Write 1 hex bytes: [03]
2020-05-03T10:21:20.473 [     i2c] DEBUG  Read 1 hex bytes: [70]
2020-05-03T10:21:20.473 [     i2c] DEBUG  Read U8 112 from reg 0x3
2020-05-03T10:21:20.473 [   bsbmp] DEBUG  Busy flag=0x70
2020-05-03T10:21:20.473 [     i2c] DEBUG  Read 3 bytes starting from reg 0x7...
2020-05-03T10:21:20.473 [     i2c] DEBUG  Write 1 hex bytes: [07]
2020-05-03T10:21:20.474 [     i2c] DEBUG  Read 3 hex bytes: [000e7f]
2020-05-03T10:21:20.474 [     i2c] DEBUG  Read 3 bytes starting from reg 0x4...
2020-05-03T10:21:20.474 [     i2c] DEBUG  Write 1 hex bytes: [04]
2020-05-03T10:21:20.475 [     i2c] DEBUG  Read 3 hex bytes: [00ab70]
2020-05-03T10:21:20.475 [   bsbmp] DEBUG  ut=8326656, up=7383808
2020-05-03T10:21:20.475 [     i2c] DEBUG  Write 1 hex bytes: [31]
2020-05-03T10:21:20.477 [     i2c] DEBUG  Read 21 hex bytes: [246b9c49f668ffbdf523009765b87af3f6d3400ec4]
2020-05-03T10:21:20.477 [   bsbmp] DEBUG  t_lin=1497076
2020-05-03T10:21:20.477 [   bsbmp] DEBUG  ----------
2020-05-03T10:21:20.477 [   bsbmp] DEBUG  partial_data1=2241236549776
2020-05-03T10:21:20.477 [   bsbmp] DEBUG  partial_data2=35019321090
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data3=204791348203643
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data4=-63997296313638
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data5=-466177202353408
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data6=197267091319947264
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  offset=3856896776478295514
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  ----------
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data2=0
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data4=313773116968640
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data5=-59686858178691072
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  sensitivity=-1222990638783574336
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  ----------
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  ----------
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data1=-538249496372655104
2020-05-03T10:21:20.478 [   bsbmp] DEBUG  partial_data2=20959064
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  partial_data3=1108528984
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  partial_data4=999165671422
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  partial_data5=14409467730412373
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  partial_data6=54520620580864
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  ----------
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  partial_data2=-49915118940
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  partial_data3=-2879403551172840
2020-05-03T10:21:20.479 [   bsbmp] DEBUG  partial_data4=437504761926158307
2020-05-03T10:21:20.479 [    main] INFO  Altitude = -24135.46 m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant