Read athmospheric pressure and temperature with the MPL115A2 and MEM's technology
The MPL115A2 is a pressure sensor from Freescale. It is great to measure barometric pressure at low-cost.
The resolution is 1.5 hPa, not as precise as the BMx280 series (offering 0.03 hPa resolution), is enough for barometric reading but should not be used for as precision altimeter.
The MPL115A2 is an I2C sensor made available on a breakout board with 10K pull-up resistors on the I2C pins.
The chip can be powered with a logic voltages from 2.4V to 5.5V. It is safe to use with your 3V or 5V microcontroller. As any other barometric sensors, the MPL115A2 have a temperature sensor for better precision on barometric reading (the datasheet have no information about the temperature sensor so so we don't know how accurate it is).
The MPL115A2 chip is the less precise version of the known MPL3115A2, it is then suited for barometric reading only
To use this sensor, connect:
- the VDD pin to the 5V (on Arduino, 3.3V for other microcontroler)
- the GND pin to ground,
- the SCL pin to I2C Clock (Analog 5 on an UNO)
- the SDA pin to I2C Data (Analog 4 on an UNO).
Then you can download the MPL115A2 Arduino library (and example) from Adafruit. Install the library, and load the example sketch. You will read the temperature, pressure and altitude data send to the the serial console (on the MPL115A2, only use the barometric pressure).
MCHobby did also created a MicroPython portage for this sensor.