HCBMP180 - Arduino Library for the BMP180 Temp/Pres Sensor

Useful guides, libraries, and example sketches to support our Arduino based products.
drakes1969
Posts: 1
Joined: Mon Oct 01, 2018 6:57 am

Re: HCBMP180 - Arduino Library for the BMP180 Temp/Pres Sensor

Post by drakes1969 » Mon Oct 01, 2018 7:47 am

how change A4 and A5 ports? I cannot use them because already occupied by touch screen LCD shield. Tks alot for reply

andrew
Site Admin
Posts: 1412
Joined: Sun Aug 05, 2012 4:15 pm

Re: HCBMP180 - Arduino Library for the BMP180 Temp/Pres Sensor

Post by andrew » Mon Oct 01, 2018 2:34 pm

I'm afraid it's not possible to change these pins as they function as the hardware I2C interface (A4 = SDA & A5 = SCL) and so cannot be moved.

However the I2C interface is designed to allow multiple I2C devices to be connected to it at the same time. Hence why each device needs to have its own address assigned to it. So as long as your screen, and the library you are using for it, allows other device to be connected at the same time it may be possible to connect both this sensor and your display to these pins at the same time.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Post Reply

Return to “Arduino”