The typical application circuit for the device BMP085 is given below.

BMP085 Typical Application Circuit
Three pins are connected between the microcontroller and the device, as indicated in the circuit diagram. Only two pins are used to connect with the module, and this communication is done via the I2C protocol. This I2C interface is used to send data to or receive data from the module. As a result, we must use this interface to obtain information on barometric pressure and temperature. Simply connect the SDA pin of the module to the SDA pin of the C (microcontroller) and the SCL pin of the module to the SCL pin of the C (microcontroller) to create an I2C interface (microcontroller).
The arrangement can be powered from a voltage source ranging from +1.8V to +3.6V, but a 3.3V power source is more convenient.
All that remains is to program the microcontroller to communicate with the module after the connections are complete. We'll leverage libraries that have already been created for the module to make communication simple. Using these libraries simplifies communication; all you have to do is download them and call them up in programs. After you've included the header file, you can send and receive data from the module with simple commands.
We can use the data (which represents barometric pressure and temperature) as needed in the application once it is received from the module. As a result, we can utilize BMP085 to monitor barometric pressure in this manner.