upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Public Member Functions | List of all members

API for the MICS-VZ89 Gas Sensor. More...

Detailed Description

The MiCS-VZ-86/89 combines state-of-the-art MOS sensor technology with intelligent detection algorithms to monitor VOCs and CO2 equivalent variations in confined spaces.

The MICSV89 comes in 4 variants, PWM and I2C in 3.3 volts and 5 volts. This library only implements the I2c version of the device.

Device output is not valid until a warm up of 15 minutes of operation.

micsv89.jpg

Public Member Functions

synchronized void delete ()
 
 MICSV89 (int bus, short address)
 
 MICSV89 (int bus)
 
String name ()
 
float co2equ ()
 
int vocshort ()
 
float tvoc ()
 
float resistor ()
 
void update ()
 
boolean valid ()
 

Constructor & Destructor Documentation

MICSV89 ( int  bus,
short  address 
)

MICSV89 constructor

Parameters
busi2c bus the sensor is attached to.
address.Device address. Default is 0x70.

Member Function Documentation

float co2equ ( )

Returns the CO2 equivalent value.

String name ( )

Returns the name of the sensor

float resistor ( )

Returns resistor value.

float tvoc ( )

Returns Total VOC.

void update ( )

Performs a write/read cycle.

boolean valid ( )

Returns true if a valid write/read cycle has been completed. At startup and during write/read cycle will be false.

int vocshort ( )

Returns VOC Short value.


The documentation for this class was generated from the following file: