hello,
can someone have a complet code to controll a MQ-2 gas sensor, first with Arduino. or a genarall code written in c/c++ so that
i can use it for onther Microcontroller like ARM Microcontroller.
Thx it will be heplfull
This may be a radical idea, but what have you got to lose ?
Try searching this forum for MQ-2
There's stuff in the playground. From what I read before, it's just an analog signal. It seems to be easier if you have it on a pre-made breakout board.
BUT..... it also seems that it's up to the user to choose the resistor in the other side of the divider, bit of a trade off between accuracy and sensitivity.