How to calibrate MQ2 in clean air ?

ForumCategory: IoTHow to calibrate MQ2 in clean air ?
Julien asked 3 weeks ago

Hello,
does the function MQResistanceCalculation() work everytime ?
What’s happened if raw_adc = 0 ? the function analogRead() never returns 0 ?
Thanks

Click to rate this post!
[Total: 0 Average: 0]
1 Answers
christophe Staff answered 3 weeks ago

Hello Julien
Yes MQResistanceCalculation() work everytime because MQ2 never return 0. In clean air the value is about 120. If you disconnect the MQ2 or the sensor is broken, the value of analogRead is around 1023
Have a good week end

Click to rate this post!
[Total: 2 Average: 5]
DIY Projects