MQ2 Gas Sensor - Calucation of Rs

Hi,



on the product page for the MQ2 gas sensorhttp://wiki.seeedstudio.com/Grove-Gas_Sensor-MQ2/, the following formula to calculate RS_gas is displayed.

When I apply Ohm’s Law, the formula to calculate RS_gas should be RL * (Vc - VS)/VRL.

So why is the multiplication with RL omitted? Is RL equal to 1?



Thanks for your help!

Hi,



Welcome to the forum. Basically RL is (Load Resistance) and it is used to compute air resistance. As in the code it is considering that sensor is placed in the clean atmosphere that’s why RL is considered to be 1.



Reference: float RS_air; // Get the value of RS via in a clear air

RS_air = (5.0-sensor_volt)/sensor_volt; // omit * RL



I hope it will help you.



Thank you.