Closed Sebastian08155 closed 11 months ago
Hi @Sebastian08155,
The MQ-131 is a semiconductor sensor. It detect gases by a chemical reaction that takes place when the gas comes in direct contact with the sensor. By burning the gas (the air), some particle of the resulting reaction are in contact with the sensor and the resistance of the sensor evolves.
It means it is important to preheat the sensor to remove all manufacturing residues. Did you preheat your sensor?
You must also perform a calibration of your R0 (the basic resistance of the sensor). I see in your code that your are using a R0 of 1917.22 Ohms. It is the default value of the library (which is coming from the calibration of my sensor). It is unlikely that you have the exact same calibration curve than mine ;-). Did you proceed to the calibration of your sensor?
KR, Olivier
Hello,
i use your code to simulate the Sensor (LOW CONSENTRATION).
But i got not exactly the same values (PPB) like you.
Here is the code:
I got 25.68 PPB.
in your picture you got 7.95 PPB.
Please help !
if is possible for you to create a library for the MQ-7 Sensor too?
Many Thanks, Sir !