Pressure Temperature Altimeter MPL3115A2 I2C

From Visuino
Jump to navigation Jump to search

File:TArduinoMPL3115A2.png

Summary

The Pressure Temperature Altimeter MPL3115A2 component reads atmospheric pressure, temperature, and altitude data from an NXP MPL3115A2 sensor. It communicates using the I2C interface and outputs the measured values.

Description

The MPL3115A2 is a compact, piezoresistive pressure sensor with an I2C digital interface that provides precise pressure, temperature, and altitude measurements. The sensor features programmable events and interrupts with configurable pressure/altitude thresholds and timing. It offers altitude data acquisition with a programmable baseline pressure reference and includes temperature measurement capability. Typical applications include weather stations, altitude tracking, GPS enhancement, and vertical velocity indication.

Diagram:

Properties

  • Address – I2C device address (Default: 0x60).
  • Altitude:
    • Baseline Pressure – Reference pressure for altitude calculation in hPa (Default: 1013.26).
    • Enabled – Enables altitude measurement output (Default: True).
    • In Feet – When enabled, altitude is output in feet; otherwise in meters (Default: False).
  • Averaging – Number of samples to average for measurements (Default: 128).
  • Enabled – Enables or disables the component's functionality (Default: True).
  • Name – The user-defined name for the component (Default: SensorMPL3115A2).
  • Pressure:
    • Enabled – Enables pressure measurement output (Default: True).
  • Temperature:
    • Enabled – Enables temperature measurement output (Default: True).
    • In Fahrenheit – When enabled, temperature is output in Fahrenheit; otherwise in Celsius (Default: False).

Pins

Input Pins

  • Clock (digital) – Clock signal input for triggering measurements.
  • Reset (digital) – Reset output signal.
  • Control (i2c) – I2C control interface.

Output Pins

  • Pressure (Pa) (analog) – Outputs the measured pressure in Pascals.
  • Temperature (analog) – Outputs the measured ambient temperature.
  • Altitude (analog) – Outputs the calculated altitude.

Categories