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

How to Use Adafruit MPRLS Sensor Breakout: Examples, Pinouts, and Specs

Image of Adafruit MPRLS Sensor Breakout
Cirkit Designer LogoDesign with Adafruit MPRLS Sensor Breakout in Cirkit Designer

Introduction

The Adafruit MPRLS Sensor Breakout is a compact and versatile board designed for measuring pressure with precision. It utilizes the MPRLS ported pressure sensor, capable of measuring both absolute and differential pressure within a specified range. This sensor is ideal for a variety of applications, including weather stations, medical devices, and any system requiring accurate pressure measurements.

Explore Projects Built with Adafruit MPRLS Sensor Breakout

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Sensor Hub with Adafruit QT Py RP2040 and OLED Display
Image of 512: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
This circuit features an Adafruit QT Py RP2040 microcontroller interfacing with an MPU-6050 accelerometer, an Adafruit APDS-9960 sensor, and a 0.96" OLED display via I2C communication. It is powered by a 3.7V LiPo battery and includes a green LED with a current-limiting resistor connected to an analog pin of the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Smart Sensor Hub with Adafruit QT Py RP2040
Image of wearable final: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
This circuit features an Adafruit QT Py RP2040 microcontroller interfaced with an APDS9960 proximity sensor, an MPU6050 accelerometer and gyroscope, and an OLED display via I2C communication. It also includes a buzzer controlled by the microcontroller and is powered by a 3.7V LiPo battery with a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Environmental Monitoring System with ESP32, BNO055, and MS5803-14BA
Image of bencana banjir: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
This circuit is a sensor network powered by a LiPo battery through a step-down buck converter, which supplies power to multiple ESP32 microcontrollers, a BNO055 IMU, an ultrasonic sensor, and a pressure sensor. The ESP32 microcontrollers handle data acquisition from the sensors and are programmed to process and transmit this data. The sensors are connected to the ESP32s via I2C and GPIO pins for communication and data collection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Sensor Data Acquisition System with Bluetooth and Wi-Fi Connectivity
Image of smrpe: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
This circuit is a multi-sensor data acquisition system with wireless communication capabilities. It utilizes an Arduino UNO to interface with an MPU-6050 gyroscope, an Adafruit ADXL345 accelerometer, an Adafruit MPR121 capacitive touch sensor, and a SparkFun Electret Microphone for audio input. The system can transmit sensor data via an HC-05 Bluetooth module and an ESP8266 WiFi module, and it includes a bi-directional logic level converter for voltage level matching between devices. The circuit is powered by a 9V battery connected to the Arduino's Vin pin.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit MPRLS Sensor Breakout

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 512: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
Battery-Powered Sensor Hub with Adafruit QT Py RP2040 and OLED Display
This circuit features an Adafruit QT Py RP2040 microcontroller interfacing with an MPU-6050 accelerometer, an Adafruit APDS-9960 sensor, and a 0.96" OLED display via I2C communication. It is powered by a 3.7V LiPo battery and includes a green LED with a current-limiting resistor connected to an analog pin of the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of wearable final: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
Battery-Powered Smart Sensor Hub with Adafruit QT Py RP2040
This circuit features an Adafruit QT Py RP2040 microcontroller interfaced with an APDS9960 proximity sensor, an MPU6050 accelerometer and gyroscope, and an OLED display via I2C communication. It also includes a buzzer controlled by the microcontroller and is powered by a 3.7V LiPo battery with a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of bencana banjir: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
Battery-Powered Environmental Monitoring System with ESP32, BNO055, and MS5803-14BA
This circuit is a sensor network powered by a LiPo battery through a step-down buck converter, which supplies power to multiple ESP32 microcontrollers, a BNO055 IMU, an ultrasonic sensor, and a pressure sensor. The ESP32 microcontrollers handle data acquisition from the sensors and are programmed to process and transmit this data. The sensors are connected to the ESP32s via I2C and GPIO pins for communication and data collection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of smrpe: A project utilizing Adafruit MPRLS Sensor Breakout in a practical application
Arduino UNO-Based Sensor Data Acquisition System with Bluetooth and Wi-Fi Connectivity
This circuit is a multi-sensor data acquisition system with wireless communication capabilities. It utilizes an Arduino UNO to interface with an MPU-6050 gyroscope, an Adafruit ADXL345 accelerometer, an Adafruit MPR121 capacitive touch sensor, and a SparkFun Electret Microphone for audio input. The system can transmit sensor data via an HC-05 Bluetooth module and an ESP8266 WiFi module, and it includes a bi-directional logic level converter for voltage level matching between devices. The circuit is powered by a 9V battery connected to the Arduino's Vin pin.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Weather monitoring systems
  • Altitude and barometric pressure sensing for drones and UAVs
  • Medical applications such as blood pressure monitoring
  • Industrial controls for fluid and gas pressure systems

Technical Specifications

Key Technical Details

  • Pressure Range: 0 to 25 PSI (0 to 1724 millibar)
  • Supply Voltage: 3.3V to 5V DC
  • Output: 24-bit digital pressure reading
  • Interface: I2C
  • Accuracy: ±1.5% full-scale over the temperature range of -20°C to 85°C

Pin Configuration and Descriptions

Pin Number Name Description
1 VIN Supply voltage (3.3V to 5V DC)
2 GND Ground connection
3 SCL I2C clock line
4 SDA I2C data line
5 SHDN Shutdown pin (active low)

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the VIN pin to a 3.3V or 5V power supply, and the GND pin to the ground.
  2. I2C Communication: Connect the SCL and SDA pins to the corresponding I2C clock and data lines on your microcontroller.
  3. Shutdown Control (Optional): The SHDN pin can be connected to a digital output on your microcontroller if you wish to put the sensor into a low-power state when not in use.

Important Considerations and Best Practices

  • Ensure that the power supply is within the specified voltage range to prevent damage to the sensor.
  • Use pull-up resistors on the I2C lines if they are not already present on your microcontroller board.
  • Keep the sensor away from direct contact with liquids or high-humidity environments to prevent damage.
  • When mounting the sensor, ensure that the pressure port is accessible and unobstructed.

Example Code for Arduino UNO

#include <Wire.h>
#include <Adafruit_MPRLS.h>

// Create MPRLS object
Adafruit_MPRLS mpr = Adafruit_MPRLS(-1, -1);

void setup() {
  Serial.begin(9600);
  while (!Serial) { delay(10); } // Wait for serial console to open
  
  if (!mpr.begin()) { // Initialize MPRLS sensor
    Serial.println("Failed to initialize MPRLS sensor!");
    while (1);
  }
}

void loop() {
  float pressure_hPa = mpr.readPressure(); // Read pressure
  
  // Check if reading was successful
  if (pressure_hPa != NAN) {
    Serial.print("Pressure: ");
    Serial.print(pressure_hPa);
    Serial.println(" hPa");
  } else {
    Serial.println("Failed to read pressure!");
  }
  
  delay(500); // Wait half a second between readings
}

Troubleshooting and FAQs

Common Issues Users Might Face

  • Inaccurate Readings: Ensure that the sensor is calibrated correctly and that there are no obstructions to the pressure port.
  • No Pressure Readings: Check the wiring and connections to the I2C lines, and ensure that the correct I2C address is being used in the code.
  • Sensor Not Responding: Verify that the power supply is within the specified range and that the sensor is not in shutdown mode.

Solutions and Tips for Troubleshooting

  • Calibration: Perform a calibration procedure as specified in the sensor datasheet.
  • Wiring Check: Double-check all connections, especially the I2C lines and power supply.
  • I2C Address: Use an I2C scanner sketch to confirm the sensor's address if unsure.

FAQs

Q: Can the sensor measure liquid pressure? A: The sensor is designed for gas pressure measurement and should not be used with liquids directly.

Q: What is the maximum pressure the sensor can measure? A: The sensor can measure pressures up to 25 PSI (1724 millibar).

Q: How do I put the sensor into low-power mode? A: Pull the SHDN pin low to put the sensor into shutdown mode, reducing its power consumption.