UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

ABPDRRT005PG2A5 Class

Module: abpdrrt005pg2a5

This is the UPM Module for the ABPDRRT005PG2A5 Honeywell Pressure sensor. This sensor uses an onboard ASIC to output values of pressure that are updated at approximately 2 KHz. It is capable of detecting pressure in the 0-5 psi range and it has an i2c based interface. Temperature calculation using this sensor is not recommended as the values are not calibrated.
abpdrrt005pg2a5.jpg

Methods

ABPDRRT005PG2A5

(
  • bus
  • devAddress
)
Number

ABPDRRT005PG2A5 constructor

Parameters:

  • bus Number

    i2c bus to be used

  • devAddress Number

    i2c address of the sensor

Returns:

Number:

get_pressure_psi

() Number

Get pressure in pounds per square inch

Returns:

Number:

pressure in psi

get_pressure_pascal

() Number

Get pressure in pascals

Returns:

Number:

pressure in pascal