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.

GroveO2 Class

Module: groveo2
  • ID: groveo2
  • Name: Oxygen ( O2 ) Concentration Sensor
  • Category: gaseous
  • Manufacturer: seeed
  • Connection: analog

The Grove O2 Oxygen Gas sensor measures the oxygen concentration in the air
groveo2.jpg

Item Index

Methods

GroveO2

(
  • pin
)
Number

Grove O2 Oxygen Gas sensor constructor

Parameters:

  • pin Number

    Analog pin to use

Returns:

Number:

voltageValue

() Number

Measures O2 from the sensor

Returns:

Number:

Oxygen concentration as voltage