MQSensorsLib Versions Save

We present a unified library for MQ sensors, this library allows to read MQ signals easily from Arduino, Genuino, ESP8266, ESP-32 boards whose references are MQ2, MQ3, MQ4, MQ5, MQ6, MQ7, MQ8, MQ9, MQ131, MQ135, MQ136, MQ303A, MQ309A.

v3.0.0

2 years ago

Release library March 2022

Release to update all issues reported and add new sensors to this library!

Changes

How we have tested it

We have ensured that this library delivers as promised by sending pre-configured RS parameters and multiple R0 parameters compared to the PPM value designated by the manufacturer in their datasheet.

(Image on datasheet and on arduino).

Your responsibility when implementing this library is to ensure that you calibrate the sensor correctly so that your results are reliable.

Test

  • Test MQ131_O3 passed
  • Test MQ135_CO2 passed
  • Test MQ136_H2S passed
  • Test MQ2_LPG passed
  • Test MQ303A_Ethanol passed
  • Test MQ309A_CO passed
  • Test MQ3_Alcohol passed
  • Test MQ4_Smoke passed
  • Test MQ5_LPG passed
  • Test MQ6_CH4 passed
  • Test MQ7_CH4 passed
  • Test MQ8_H2 passed
  • Test MQ9_CO passed
  • Test adcMaxValue passed
  • Test adcMidValue passed
  • Test adcMinValue passed

Test summary: 16 passed, 0 failed, 0 skipped, out of 16 test(s).

Flow

graph LR
A[Inicia el programa] --> B[Setup]
B --> C(Voltaje Lecture - MQ.update)
C --> D(Calculation PPM MQ.readSensor)
D --> E(Optional - serialDebug MQ.serialDebug)
E --> F(Delay - Wait to take another sample)
F --> A

v2.0.2

4 years ago

Changes

Updated MQ-7, MQ-309A

  • to take into account high voltage and low voltage on heater.

Explained MQ-131

  • is a HIGH concentration sensor
  • sugested to implement LOW concentration sensor.

v2.0.1

4 years ago

Changes:

  • Fixed on ADC Equations, truth equation is 2^BitResolution - 1, because if resolution is 10-bit, value will between 0-1024 NOT 1025
  • Added ESP32 Example (Issue #25)

v2.0

4 years ago

New characteristics

  • Added support to ESP8266 Boards
  • Added support to external A2D boards
  • Added new examples with all gases
  • Updated old examples
  • More lighter

|-> Video Explanation (ES): https://www.youtube.com/watch?v=pqGuB8RwxTs |-> Power Point Slides (EN): https://github.com/miguel5612/MQSensorsLib_Docs/blob/master/Docs/MQSensorLib_2.0.pdf

1.0.4

4 years ago

#13 Fixed this issue adding new methods: MQ2.getRL(); MQ2.setRL(RLValue);

Examples are updated and ready to use.

1.0.3

4 years ago

Publishing on Zenodo platform as software in order to extend its applications for other works allowing to recognize MQSensorLib's Authors this work into scientific community using Digital Object Identifier System (DOI).

1.0.2

4 years ago

release or tag that matches the version value in your library.properties file.

1.0.1

4 years ago
  • Fixed Lib.prop file: Architecture set in avr boards. Removed an error in paragraph

1.0.0

4 years ago

This release contains the basic information of the library, it is made with the objective of testing the precision, accuracy and performance.