kriswiner / EM7180_SENtral_sensor_hub

(Affordable) Ultimate Sensor Fusion Solution
https://www.tindie.com/products/onehorse/ultimate-sensor-fusion-solution/
96 stars 37 forks source link

Barometer max out at 10K feet (-32768 raw) #58

Open AllDigital33 opened 4 years ago

AllDigital33 commented 4 years ago

I am using the Ultimate Sensor Fusion to track telemetry on hobby rockets. I did two launches this weekend over 10K feet and noticed the barometer data crapped out over 10K feet ASL. I thought that was odd, since I did two previous launches using a BMP180 alone (without the EM7180 board) with no issue. When I reviewed the code and configuration today, I realized the raw pressure data is an Int16, so it will max out at -32768, which is around 685 mbar. I looked through all the documentation, but could not find anything that allows setting a range or anything that limits the actual range of the BMP180. The sensor should be accurate to 300 mbar, so I assume there is a setting somewhere that is being overlooked. Please advise.

AllDigital33 commented 4 years ago

Correction: I meant BMP280 above and not BMP180.

kriswiner commented 4 years ago

I think the problem is that when we set up the EM7180 to manage the barometer we did not consider we would ever need more than int16_t data, so this sets the limit of what is possible in this (master) mode. If you want to use the BMP280 at its full resolution you will have to make use of the pass through mode to read the barometer.

On Sun, Aug 18, 2019 at 2:17 PM AllDigital33 notifications@github.com wrote:

Correction: I meant BMP280 above and not BMP180.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/EM7180_SENtral_sensor_hub/issues/58?email_source=notifications&email_token=ABTDLKWI6KWAG27H43ZZ2PTQFG37PA5CNFSM4IMUD6HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4RIMDA#issuecomment-522356236, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKQ7LMJXF65WTAVO7CLQFG37PANCNFSM4IMUD6HA .