This I2C device is not changeable I2C address. You can connect only one device on a mille-feuille.
Download datasheet
Main component : BMP280 - BMP280 is an absolute barometric pressure sensor especially designed for mobile applications.
• RMS Noise 0.2 Pa, equiv. to 1.7 cm
• Offset temperature coefficient ±1.5 Pa/K, equiv. to ±12.6 cm at 1 °C temperature change
• I2C Interface
Sample program
AirPressureTest.py
* functions *
import AirPressure
def getInfo(Number) : Getting hardware information of device board
Number : connector number of baseboard
def getCalibData() :return calibration data from device.
return : Calibration data
def read(data) :Reading temperature
data : Calibration data
return : Temparatur, air pressure and altitude
Example:
data = AirPressure.getCalibData()
TAndP = AirPressure.read(data)
print"T = ",TAndP[0],"deg"
print"P = ",TAndP[1],"hPa"
print"Altitude = ",TAndP[2],"m" #you need calibration