I'm new here and wondering if anyone has set up an MQ-2 Gas Senson with a Raspberry Pi? I was following this article.
I was able to get the SPI module loaded/working, but when I go to run the Python script I'm only getting:
Current smoke level is 2047
Over and over again, with and without smoke.
I'm starting to think the analog signal into the Pi is necessary even though the MQ-sensor I bought seems to have the digital out already with the MCP chip on-board already. I purchased this one.
So, I connected DO from the sensor directly to GPIO9(MISO) which is what the MCP chips DOUT goes to.
Is there something I'm missing here? Any input would be appreciated.