Page 1 of 1

smoke sensor

Posted: Thu Apr 14, 2016 10:10 am
by malini
Hi!

I'm using a mq2 smoke sensor in my home automation project. I have connected the DO pin of the sensor to the Pi and not used the AO pin as i didnt want to use the adc converter. Now how do i set the range for the smoke in the code? I had set it as 0.9 but that was just a random value. Please help.

Thanks