Poll
Question: HOW TO CONVERT ANALOG OUT OF MQ-7 TO PPM?
What is the formula? - 3 (100%)
Indications that im on the right track in creating. - 0 (0%)
Total Voters: 3

Pages: [1]   Go Down
Author Topic: CONVERTING ANALOG OUT OF MQ-7 TO PPM  (Read 2770 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys..
Can somebody help me how to convert the voltage out of MQ-7 to ppm? I already do the cycle time,interface it in arduino board and received a analog out from the sensor.But the problem is i dont know to convert those output to a useful one or ppm values.can somebody help me or give me an idea?
Logged

Brunsbüttel, SH, F.Rep.GERM
Offline Offline
God Member
*****
Karma: 4
Posts: 596
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hi!

is it this one:
http://www.sparkfun.com/datasheets/Sensors/Biometric/MQ-7.pdf
?

did u heat it properly?

then u need to measure the resistance of the A and B pins...
u can do it in 2 ways:
1.
send a known current through it (e. g. 50uA) and measure the voltage at the A and B pins...
2.
send a known voltage via a known series restistor through it (e. g. 100kOhm) and measure the voltage at the A and B pins...

have fun...  smiley
Logged

-Arne

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes.im using that one.you mean preheating the sensor in 5v(60sec) and 1.4v(90sec)? or preheating it with 5v in less than 48 hours? the A and B pins of the sensor? thanks for your reply.. smiley
Logged

Brunsbüttel, SH, F.Rep.GERM
Offline Offline
God Member
*****
Karma: 4
Posts: 596
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

1.
i think for moderate accuracy preheating with 60sec@5V should be sufficient...
2.
yo... A and B...
Logged

-Arne

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks. do you have any code?or idea? coz i will display it in LCD.
Logged

Brunsbüttel, SH, F.Rep.GERM
Offline Offline
God Member
*****
Karma: 4
Posts: 596
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hm
i never did it myself...

maybe this works fine:
hardware:
+5V(from arduino) -- pin A
GND(from arduino) -- ~10kOhm resistor -- pin B
it seems like the heating voltage affects the resistance between pin A and pin B...

software:
measure the voltages at pin B with an analog pin... http://arduino.cc/en/Reference/AnalogRead
regarding the LCD: http://arduino.cc/en/Reference/LiquidCrystal?from=Tutorial.LCDLibrary

interpretation of the readings:
u will need reference concentrations...
but be careful: CO is dangerous to humans and animals...
so u should possibly do it together with a teacher who smokes (cigarette smoke contains CO)... but: smoking is not necessarily healthy... smiley
then u should c a change of voltage...
but then u wouldnt know how much CO it was... :-)
maybe u know a firefighter? they might have calibrated CO meters...
Logged

-Arne

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks again.. i already have the conversion code and i was able to display it in lcd.but the main problem there is that i dont know if the reading is accurate. smiley so same with your suggestion i used a cigarette. smiley i will try another method
Logged

Pages: [1]   Go Up
Jump to: