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.

MQ3 Class

Module: gas

The MQ3 Gas Sensor module is useful for gas leakage detection (in home and industry). It can detect alcohol vapors and benzine. It's highly sensitive but has a long warm-up time of about 1 minute. It's detection range is 0.04-4 mg/L Alcohol.
mq3-9.jpeg

Item Index

Methods

Methods

MQ3

(
  • gasPin
)
Number

MQ3 constructor

Parameters:

  • gasPin Number

    Analog pin where the sensor is connected

Returns:

Number:

name

() String

Returns the name of the sensor

Returns:

String: