pyupm_micsv89 module

class pyupm_micsv89.MICSV89(bus, address=112)[source]

Bases: object

API for the MICS-VZ89 Gas Sensor.

ID: micsv89

Name: Low-power Air Quality Sensor

Category: gaseous

Manufacturer: generic

Connection: i2c

Link:http://sgx.cdistore.com/datasheets/e2v/MiCS- VZ-86%20and%20VZ-89%20rev%204.pdf

Link:http://www.sgxsensortech.com/content/uploads/2015/01/MICS- VZ-89-I2C- specs-rev-A.pdf 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.

C++ includes: micsv89.hpp

co2equ()[source]

float co2equ()

Returns the CO2 equivalent value.

name()[source]

std::string name()

Returns the name of the sensor

resistor()[source]

float resistor()

Returns resistor value.

tvoc()[source]

float tvoc()

Returns Total VOC.

update()[source]

void update()

Performs a write/read cycle.

valid()[source]

bool valid()

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

vocshort()[source]

int vocshort()

Returns VOC Short value.