I have a LM393 MQ-2 smoke sensor, and I want to build a circuit with a Raspberry Pi.

Anyone have an idea?


1 Answer 1


Raspberry Pi doesn't have any analog Pin so you will need an external ADC. so there are two option

  1. get an external ADC with inbuilt amplifier. I will say look into ADS1115.

  2. the other option is go with a MQ2 sensor which comes with an on board Analog chip. So this will be the best way to go. you can look into this MQ2 gas sensor this one comes with I2C, so its easy to use and no need to use an external amp.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.