Connecting Bmp180 to arduino nano

Guys i am about to buy a bmp180 to measure altitud.

I have an arduino nano and the only free oins that i have left are the a0, a1, a2 and a3

Is it ok if i connect the sensor to some of those pins?

Thanks,
Marco

No. Free A4,A5 for I2C interface.

An I2C bus (pins A4 and A5) can be shared with other I2C devices, as long as they have different addresses.
Leo..

Wawa:
An I2C bus (pins A4 and A5) can be shared with other I2C devices, as long as they have different addresses.
Leo..

Thanks for that. I didnt know it. Do you have any example???

Thanks!!

Example?
Google "I2C bus".
I2C can have up to 128 devices on the same (7-bit address) bus.
I think the BMP180 is using address 0x77.
Make sure other devices on that bus are using a different one.
The address is sometimes user seletable.
Leo..

Here's what I'm using, there are example sketches included with the library.

Wawa:
Example?
Google "I2C bus".
I2C can have up to 128 devices on the same (7-bit address) bus.
I think the BMP180 is using address 0x77.
Make sure other devices on that bus are using a different one.
The address is sometimes user seletable.
Leo..

Thanks

756E6C:
Here's what I'm using, there are example sketches included with the library.
Overview | Bosch BMP085 Breakout Board | Adafruit Learning System

Thanks man this is exactly what i needed!!!

There is always a nice guy in the forum