adafruit / Adafruit-BMP085-Library

A powerful but easy to use BMP085/BMP180 Arduino library
http://www.adafruit.com/products/1603
233 stars 194 forks source link

Pressure Readings too high. #2

Closed KingBubbaTruck closed 12 years ago

KingBubbaTruck commented 12 years ago

Current Pressure reading at my location is 25.54 in/hg. Converts to 86488 Pa These readings are from a weather station on my property. I can provide the CWOP data QC validation if required.

Using the AdaFruit-BMP085-Library, I get the following readings

Temperature = 18.60 *C Pressure = 233247 Pa Altitude = -7622.78 meters Real altitude = -7605.38 meters

Temperature is correct, but it seems as if the pressure calcs are quite a bit off. I've substituted code from another library and am able to get a close match on the pressure, so i'm pretty sure its not the chip.

Thanks in advance for your help!

KingBubbaTruck commented 12 years ago

It appears to be related to the 'mode' used and how it affects the 'oversampling'.

Quick workaround is to specify a mode of 0 in the setup

i.e.

bmp.begin(0);

KingBubbaTruck commented 12 years ago

Must have clicked the wrong button and accidently closed this...

ladyada commented 12 years ago

fixed

KingBubbaTruck commented 12 years ago

That certainly was fast! Thanks!

On 2/28/2012 1:25 PM, Limor Ladyada Fried wrote:

fixed


Reply to this email directly or view it on GitHub: https://github.com/adafruit/Adafruit-BMP085-Library/issues/2#issuecomment-4225919