They seem to be very similar. The value of the load resistor should
probably be different though (I'd use 1Mohm) and I would connect a
capacitor in parallel to the load resistor (I'd use 0.1uF or so).
The provided code doesn't seem to attempt to map the measured voltage to
the physical quantity the sensor is measuring, but once you get there I can
help you with that. First, just verify that you're getting the measured
voltage to change in reaction to the gas presence.


On Wed, Mar 26, 2014 at 8:16 AM, Marius Vosylius
<[email protected]>wrote:

> I'm looking to use MQ-2 Smoke Sensor with my IOIO-OTG Board.
>
> First Question: Is it possible to do it?
> Second Question: How to Do it, any example code etc?
>
> I found Michaels page http://mitchtech.net/android-ioio-breathalyzer/with 
> MQ-5 (Alcohol Sensor Example), is MQ-2 would be similar?
>
> MQ-2 Data Sheet: http://www.seeedstudio.com/depot/datasheet/MQ-2.pdf
>
> Sensor Image Bellow:
>
> Thanks in Advance.
>
>
> <https://lh5.googleusercontent.com/-vM_1EGH-d6s/UzLvBmi4POI/AAAAAAAAHpY/LHT8Jvwa3x4/s1600/wholesale-MQ-2-MQ2-smoke-liquefied-petroleum-gas-butane-propane-mathane-alcohol-sensor-free-shipping.jpg>
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to