Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use MPL115A1 / MPL115A2 Barometer (Family Diagram): Examples, Pinouts, and Specs

Image of MPL115A1 / MPL115A2 Barometer (Family Diagram)
Cirkit Designer LogoDesign with MPL115A1 / MPL115A2 Barometer (Family Diagram) in Cirkit Designer

Introduction

The MPL115A1 and MPL115A2 are digital barometric pressure sensors designed to provide accurate atmospheric pressure readings with built-in temperature compensation. These sensors are compact, low-power, and ideal for applications requiring precise pressure measurements. They communicate via an I²C or SPI interface, making them easy to integrate into microcontroller-based systems.

Explore Projects Built with MPL115A1 / MPL115A2 Barometer (Family Diagram)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO WiFi Weather Station with Adafruit MPL115A2 Sensor
Image of idk: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
This circuit uses an Arduino UNO R4 WiFi to interface with an Adafruit MPL115A2 I2C Barometric Pressure and Temperature Sensor. The Arduino reads pressure and temperature data from the sensor via I2C communication and outputs the readings to the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266-Based Environmental Monitoring System
Image of Stacja_Pogodowa1: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
This circuit is designed to collect environmental data using an ESP-8266 microcontroller connected to a BMP180 barometric pressure sensor, a GY-30 BH1750FVI digital light intensity sensor, and a DHT11 temperature and humidity sensor. The sensors are interfaced with the ESP-8266 via I2C (SCL and SDA lines) and digital IO pins, and they share a common power supply (3.3V) and ground. The circuit is likely intended for weather monitoring or home automation applications, with capabilities to measure temperature, humidity, barometric pressure, and light intensity.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP-8266 Based Environmental Monitoring System
Image of PHD: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
This circuit features an ESP-8266 microcontroller connected to a BMP180 barometric pressure sensor, a BH1750 light intensity sensor, and a DHT22 temperature and humidity sensor. The ESP-8266 uses its I2C interface, with pins D1 and D2 connected to the SCL and SDA lines of both the BMP180 and BH1750, to communicate with the sensors. The DHT22 sensor is connected to a digital pin (D4) for direct signal reading, and all sensors share common power (3V3) and ground (GND) connections with the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Based Environmental Monitoring System with Wi-Fi Connectivity
Image of Copy of janiel2: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
This circuit is designed for environmental monitoring and data communication. It features an Arduino UNO microcontroller interfaced with a BMP180 barometric pressure sensor, a DHT03 humidity and temperature sensor, an MQ-4 methane gas sensor, and a photocell (LDR) for light sensing. The Arduino collects sensor data and communicates with an ESP-01 Wi-Fi module for remote data transmission, while an LCD screen displays sensor readings. A resistor is used in conjunction with the photocell to form a voltage divider for light level measurement.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with MPL115A1 / MPL115A2 Barometer (Family Diagram)

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of idk: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
Arduino UNO WiFi Weather Station with Adafruit MPL115A2 Sensor
This circuit uses an Arduino UNO R4 WiFi to interface with an Adafruit MPL115A2 I2C Barometric Pressure and Temperature Sensor. The Arduino reads pressure and temperature data from the sensor via I2C communication and outputs the readings to the serial monitor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Stacja_Pogodowa1: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
ESP8266-Based Environmental Monitoring System
This circuit is designed to collect environmental data using an ESP-8266 microcontroller connected to a BMP180 barometric pressure sensor, a GY-30 BH1750FVI digital light intensity sensor, and a DHT11 temperature and humidity sensor. The sensors are interfaced with the ESP-8266 via I2C (SCL and SDA lines) and digital IO pins, and they share a common power supply (3.3V) and ground. The circuit is likely intended for weather monitoring or home automation applications, with capabilities to measure temperature, humidity, barometric pressure, and light intensity.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of PHD: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
ESP-8266 Based Environmental Monitoring System
This circuit features an ESP-8266 microcontroller connected to a BMP180 barometric pressure sensor, a BH1750 light intensity sensor, and a DHT22 temperature and humidity sensor. The ESP-8266 uses its I2C interface, with pins D1 and D2 connected to the SCL and SDA lines of both the BMP180 and BH1750, to communicate with the sensors. The DHT22 sensor is connected to a digital pin (D4) for direct signal reading, and all sensors share common power (3V3) and ground (GND) connections with the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of janiel2: A project utilizing MPL115A1 / MPL115A2 Barometer (Family Diagram) in a practical application
Arduino UNO Based Environmental Monitoring System with Wi-Fi Connectivity
This circuit is designed for environmental monitoring and data communication. It features an Arduino UNO microcontroller interfaced with a BMP180 barometric pressure sensor, a DHT03 humidity and temperature sensor, an MQ-4 methane gas sensor, and a photocell (LDR) for light sensing. The Arduino collects sensor data and communicates with an ESP-01 Wi-Fi module for remote data transmission, while an LCD screen displays sensor readings. A resistor is used in conjunction with the photocell to form a voltage divider for light level measurement.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Weather stations
  • Altimeters for drones and aircraft
  • HVAC systems
  • Portable weather monitoring devices
  • Environmental data logging

Technical Specifications

Key Specifications

Parameter Value
Operating Voltage 2.375V to 5.5V
Pressure Range 50 kPa to 115 kPa
Pressure Accuracy ±1 kPa
Temperature Compensation Built-in
Communication Interface I²C or SPI
Operating Temperature Range -40°C to +85°C
Current Consumption 5 µA (typical in standby mode)
Package Type LGA (5 mm x 3 mm x 1.2 mm)

Pin Configuration and Descriptions

MPL115A1 Pinout

Pin Number Pin Name Description
1 VDD Power supply (2.375V to 5.5V)
2 GND Ground
3 SCL I²C clock input
4 SDA I²C data input/output
5 CSB Chip select for SPI (active low)
6 SCLK SPI clock input
7 SDI SPI data input
8 SDO SPI data output

MPL115A2 Pinout

Pin Number Pin Name Description
1 VDD Power supply (2.375V to 5.5V)
2 GND Ground
3 SCL I²C clock input
4 SDA I²C data input/output

Usage Instructions

Using the MPL115A1/MPL115A2 in a Circuit

  1. Power Supply: Connect the VDD pin to a 3.3V or 5V power source and the GND pin to ground.
  2. Communication Interface:
    • For I²C: Connect the SCL and SDA pins to the corresponding I²C pins on your microcontroller. Use pull-up resistors (typically 4.7 kΩ) on both lines.
    • For SPI (MPL115A1 only): Connect the CSB, SCLK, SDI, and SDO pins to the corresponding SPI pins on your microcontroller.
  3. Bypass Capacitor: Place a 0.1 µF capacitor close to the VDD pin for power supply decoupling.
  4. Initialization: Configure the microcontroller to communicate with the sensor using the chosen interface.

Important Considerations

  • Ensure the operating voltage matches the sensor's specifications.
  • Use proper pull-up resistors for I²C communication.
  • Avoid placing the sensor near heat sources to prevent inaccurate readings.
  • Calibrate the sensor if required for your application.

Example Code for Arduino UNO (I²C)

#include <Wire.h>

// MPL115A2 I2C address
#define MPL115A2_ADDRESS 0x60

// Register addresses
#define PRESSURE_MSB 0x00
#define PRESSURE_LSB 0x01
#define TEMPERATURE_MSB 0x02
#define TEMPERATURE_LSB 0x03
#define START_CONVERSION 0x12

void setup() {
  Wire.begin(); // Initialize I2C communication
  Serial.begin(9600); // Start serial communication for debugging
}

void loop() {
  // Start pressure and temperature conversion
  Wire.beginTransmission(MPL115A2_ADDRESS);
  Wire.write(START_CONVERSION);
  Wire.endTransmission();
  delay(5); // Wait for conversion to complete

  // Read pressure and temperature data
  Wire.beginTransmission(MPL115A2_ADDRESS);
  Wire.write(PRESSURE_MSB);
  Wire.endTransmission();
  Wire.requestFrom(MPL115A2_ADDRESS, 4);

  if (Wire.available() == 4) {
    uint16_t pressure = (Wire.read() << 8) | Wire.read();
    uint16_t temperature = (Wire.read() << 8) | Wire.read();

    // Convert raw data to human-readable values
    float pressure_kPa = pressure / 64.0; // Example conversion
    float temperature_C = temperature / 64.0; // Example conversion

    // Print results
    Serial.print("Pressure (kPa): ");
    Serial.println(pressure_kPa);
    Serial.print("Temperature (°C): ");
    Serial.println(temperature_C);
  }

  delay(1000); // Wait 1 second before next reading
}

Troubleshooting and FAQs

Common Issues

  1. No Data from Sensor:

    • Ensure the sensor is powered correctly and the ground is connected.
    • Verify the I²C or SPI connections and check for loose wires.
    • Confirm the correct I²C address (default: 0x60) is being used.
  2. Inaccurate Readings:

    • Check for nearby heat sources that may affect temperature compensation.
    • Ensure the sensor is not exposed to excessive moisture or contaminants.
    • Verify the calibration coefficients if using custom calculations.
  3. Communication Errors:

    • Ensure pull-up resistors are present on the I²C lines.
    • Check the SPI clock speed and ensure it is within the sensor's specifications.

FAQs

Q: Can the MPL115A1/MPL115A2 measure altitude?
A: Yes, by calculating the difference between the measured pressure and the standard sea-level pressure, you can estimate altitude.

Q: What is the difference between MPL115A1 and MPL115A2?
A: The MPL115A1 supports both I²C and SPI communication, while the MPL115A2 supports only I²C.

Q: Do I need to calibrate the sensor?
A: The sensor comes pre-calibrated, but you can perform additional calibration for higher accuracy in specific applications.

Q: Can I use this sensor with a 5V microcontroller?
A: Yes, the sensor supports operating voltages up to 5.5V, making it compatible with 5V systems like Arduino UNO.