ostaquet / Arduino-MQ131-driver

Arduino driver for gas sensor MQ131 (Ozone / O3)
MIT License
64 stars 19 forks source link

about calibrate function #14

Closed flaviomo closed 4 years ago

flaviomo commented 4 years ago

I'm using the driver but I'm apparently having problems with the "calibrate" function, it's taking too long to get out of the function, can you explain me why. I'm using an ozone generator to test the driver. Thank you in advance

CarlosFonseca97 commented 4 years ago

Gola buen dia, estuve analizando el tiempo y tiene que ver con el precalentamiento del sensor que generalmente se recomienda sea entre 24H-48H. Para la función MQ131.sample(); el tiempo que tarda en tomar una lectura dura 80 segundos y es para estabilizar el valor de medición

ostaquet commented 4 years ago

@CarlosFonseca97 is right.

Before the first use, you have to "preheat" the sensor. To do this, just put 5V on the heater for 48 hours (use a power supply because batteries will be quickly empty).

Feel free to reopen the issue if there is still problems.