Software Open Access

miguel5612/MQSensorsLib: 3.0.0

Miguel Angel Califa Urquiza; Ghiordy; Jhonatan Ramirez; Prabhu; Vincenzo Manzoni; Yoimer; aetilius; fredolaredo; per1234

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 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
Files (531.3 kB)
Name Size
531.3 kB Download
All versions This version
Views 86061
Downloads 1448
Data volume 976.6 MB4.3 MB
Unique views 76055
Unique downloads 1186


Cite as