TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle

BMP180 pressure sensor library for STM32F4xx - http://stm32f4-discovery.com/2014/09/library-37-bmp180-pressure-sensor-stm32f4. More...

Modules

 TM_BMP180_Macros
 Library defines.
 
 TM_BMP180_Typedefs
 Library Typedefs.
 
 TM_BMP180_Functions
 Library Functions.
 

Detailed Description

BMP180 pressure sensor library for STM32F4xx - http://stm32f4-discovery.com/2014/09/library-37-bmp180-pressure-sensor-stm32f4.

You can read temperature and pressure with this sensor.

Reading procedure

First you need to read temperature, then you are able to read pressure. This is quite inefficient, because you can not read both at the same time.

Note
Sensor uses the same register for data for temperature and pressure. This is not good, but it can be used in various small projects.
Default pinout
BMP180    STM32F4   DESCRIPTION

SCL       PA8       I2C3 Serial clock
SDA       PC9       I2C3 Serial data
Warning
Make sure, that you connect VCC to 3.3V and not to 5V, because you can blow device.
Custom I2C settings

If you want to change default I2C settings, open defines.h file and edit lines below:

//Select custom I2C
#define BMP180_I2C             I2C3
#define BMP180_I2C_PINSPACK    TM_I2C_PinsPack_1
Changelog
 Version 1.0
  - First release
Dependencies
 - STM32F4xx
 - STM32F4xx RCC
 - defines.h
 - TM I2C
 - math.h