Reference

Last revision 2025/12/17

The ICP10111 sensor from DFRobot utilizes MEMS capacitor technology to offer precise air pressure readings, low power consumption, and temperature compensation. It communicates with the main controller via the I2C protocol, providing APIs for accessing air pressure, temperature, and calculated altitude data. The sensor's work mode can be set to various patterns, each offering different conversion times and noise levels, making it adaptable for diverse applications.

Library

Download and install the DFRobot_ICP Library. (About how to install the library?)

Communication Protocol Description

The sensor communicates with the main controller via the I2C protocol. The pin definitions for I2C are:

  • SCL: I2C Clock Pin
  • SDA: I2C Data Pin

API Description

  • DFRobot_ICP10111 icp;: Create an instance of the sensor.
  • icp.begin(): Initialize the sensor. Returns 0 on success, non-zero on failure.
  • icp.setWorkPattern(mode): Set the sensor's work mode. The modes are:
    API Mode Conversion Time(ms) Pressure RMS Noise(Pa)
    icp.eLowPower Low Power 1.8 3.2
    icp.eNormal Normal 6.3 1.6
    icp.eLowNoise Low Noise 23.8 0.8
    icp.eUltraLowNoise Ultra-low Noise 94.5 0.4
  • icp.getAirPressure(): Get the current air pressure in Pa.
  • icp.getTemperature(): Get the current temperature in ℃.
  • icp.getElevation(): Calculate and get the current altitude in meters (based on air pressure).

Principle

This air pressure temperature sensor is equipped with TDK's newly lanuched ICP-10111 barometric pressure sensor, which is based on MEMS capacitor technology to achieve ultra-low power consumption, industry-leading relative accuracy and temperature offset coefficient. There is a built-in temperature sensor for air pressure compensation.

Other Supplementary Information

Was this article helpful?

TOP