upm
1.1.0
Sensor/Actuator repository for libmraa (v1.5.1)
|
API for the ABP Honeywell Pressure Sensor. More...
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.
Public Member Functions | |
ABPDRRT005PG2A5 (int bus, int devAddress) | |
~ABPDRRT005PG2A5 () | |
float | get_pressure_psi () |
float | get_pressure_pascal () |
ABPDRRT005PG2A5 | ( | int | bus, |
int | devAddress | ||
) |
ABPDRRT005PG2A5 constructor
bus | i2c bus to be used |
devAddress | i2c address of the sensor |
~ABPDRRT005PG2A5 | ( | ) |
float get_pressure_psi | ( | ) |
Get pressure in pounds per square inch
float get_pressure_pascal | ( | ) |
Get pressure in pascals