Is there any way to setup BMP180 Sea Level pressure?

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
Nozomu
 
Posts: 3
Joined: Sat Oct 18, 2014 1:37 pm

Is there any way to setup BMP180 Sea Level pressure?

Post by Nozomu »

HI!
Is there any way to setup BMP180 Sea Level pressure with Adafruit python library?

Or is there any other way?

Best Regards

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Is there any way to setup BMP180 Sea Level pressure?

Post by adafruit_support_rick »

You want this for calculating altitude? There is an optional argument to read_altitude, which is sea level pressure in Pacsals.

User avatar
Nozomu
 
Posts: 3
Joined: Sat Oct 18, 2014 1:37 pm

Re: Is there any way to setup BMP180 Sea Level pressure?

Post by Nozomu »

Hi,

yes, you got it!

then I want to set the sea level pressure in Pascals.

BR

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Is there any way to setup BMP180 Sea Level pressure?

Post by adafruit_support_rick »

You can't actually "set" the sea level pressure. You pass it to read_altitude(sea_level_pressure) whenever you call it.

User avatar
Nozomu
 
Posts: 3
Joined: Sat Oct 18, 2014 1:37 pm

Re: Is there any way to setup BMP180 Sea Level pressure?

Post by Nozomu »

Hi

thanks!!! :-)

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”