Getting right PPM from MQ sensors
HTML-код
- Опубликовано: 2 янв 2015
- The MQ gas sensors are great, but people find it difficult to have the calibration done and reading the values in PPM, this video will teach you how to get the reading done with any MQ sensor.
Temperature and humidity were not factored. If you need that you can send me an email so I can help you get the best of reading from your MQ gas sensors. Наука
thank you very much for very nice explanation. but how about MQ7 and MQ135 i gonna to use them. please clarify for me!!
hi sir could u pls explain hw did u use the value -2.6 and 2.7 in lgppm =( log(ratio)*-2.6) + 2.7
@DroneTechnologies How can we calibrate the sensor if temperature and humidity are being factored. Since the sensor influence by temperature and humidity as well (datasheet on 2nd graph). I think surroung condition affect the reading.
Can you share your code? I dont understand where the values of the lnPPM are in the code
Hi there, thank you for sharing this video, that's a really easy way of getting approximation function for MQ relation graphs.
Question, how do you relate Ro and Rl resistance? Ro is a sense resistance in 1000ppm of H2, and Rl is load resistance.
Your tutorila is useful for me , but where do you get -2.6 and 2.7 ?
Hi, your tutorial is good, but if you share your code for calibrated mq sensor it will better than before. Thanks
hello, do you have any patron where you could confirmate the values? becuase if the sensor could have some error, we can have some CI to acondition this error..
Cool Man.........I think i will have to make one now ......... you got me interested ..Thanks
hi sir, could u tell how to process with mq7 sensor?
i need to understand how to calibration is possible as well. thks.
hello)) how to get ppm value from figaro tgs2600 gas sensor ?
hello, i just started my new project with mq2. can i get full code for this mq2 ?
thank you
Excelente guia :like:
Can you make a documentation paper?
Most people programming an Arduino or otherwise know what a log plot is vs a linear plot. The part that most people struggle with is that the datasheet give R/R0 vs ppm, not Aout vs ppm. This video completely glosses over that despite the title saying it does.
Hello, i'm sorry, but i can't seem to understand where did you use the equations calculated on excel, i don't understand where does the values in your code come from, and what value of Rl are you using. Would you mind sharing your full code? Thanks for the video, btw.
Greetings from Chile
He calibrated it by real time experimenting.
is it same how to calculate ppm of MQ-2 or MQ-3?
Can you please share your code.
How about mq138
sir can you help me calibrating mq135 to measure ammonia with a dht22 for best results. thank you :D
Hello. Have you got the answer for this?
why Vrl= adc_rd * Vadc_5? could anyone explain this for me?
hiii ... can you help me to getting right PPM from TGS26020 sensor !!
Did you got any solution?? I'm also stuck in calculating the ppm
Natural log is base e . Why are you using base 10 than ??
The problem is Ro (clean air) often changed the values hour by hour.
Voltage regulator is not smooth too.
You can adjust for that by using an analog pin to measure the voltage. Let's say you use analogRead(A5) / 1023.0 * 5 as REF_LEVEL to measure VCC, then you add in your code: float outputVoltage = (5.0 / REF_LEVEL) * voltage sensor. However, the major flaw in this tutorial is that R0 is replaced by R_load. You can be sure that the values are incorrect and probably not even close to the actual ppm's. Although with these sensors you will never be able to accurately tell. You basically need to have a known ppm in a test lab environment to calibrate the sensor. These sensors are good for measuring sudden changes. For instance if your house is on fire.
is it same how to calculate ppm of MQ-2 or MQ-3?
I find too many negative comments out here. Your video was superuseful for me, so many thanks. However, I don't quite understand, why you put your calculations back to LN. In order to save MCU memory? I don't hope to get any answers here, but who knows.
Thank you for your video! Even if this MQ sensor can measure multiple gases, can it measure multiple gases at the same time? For example could we run it in a random room and read the ppms for each gas or does it work assuming that a single gas will be measured
It can measure multiple gasses at the same time. However, you will not be able to tell which gas you have measured. You could only perhaps tell from your environment. For instance, you expect alcohol in your breath after drinking alcohol, you expect carbon monoxide when you light a candle.
sir. can i ask for the codes ? thak you sir :D
Rl is Load Resistor, we need Ro.
How do you measure Load Resistance (RL), I have a multimeter and same type of sensor
this is just only R that used for measured V across RL to calculated R of sensor (Rs) by using potential divider technique.
Sir.
I really doesn't understand it, the sensor output is already in ppm values only, why you create anothe column named as "inPpm" what is the purpose of it ?
hello I have a question, what gas coordinates are you using?
The coordinates depends on the type on MQ sensor you get. In my video I used MQ2 for demonstration
@@RonaldArthur for example in the video, you take the coordinates of what gas?
Hello sir, I am using MQ135 sensor module. I want Sensor value in PPM. How to do analog value of sensor is converted into PPM value. Please Help .
Sir .have u done ur calibration work?
we are working on the same. plz help ..........
@@KK-dy7ez hello sir im using the same sensor for my FYP. May i know how to convert to PPM value ? can you help me please
Hi could you send me the code
is it same how to calculate ppm of MQ-2 or MQ-3?
I have data how to calculate the R ratio to gas concentration for sale.
facebook.com/photo.php?fbid=913931562327663&set=pcb.2782490955098042&type=3&theater&ifg=1
This looks good but I cant understand a word you are saying
The first and important step is how could you find the exact scale of calibration curve?! How do you know 200ppm is equal to 1.6 and etc...?
reading the graphic on datasheet
I Have the same doubt. It is not possible to take that information from datasheet graphic, once the scale is not shown on the graphic. Do you have some news about it?
if you pay more attention, the "Rs/Ro" line on graphic is between 0.1 and 1 and each line represents 0.1 more till get 1. After that each line represents 1 till get 10. The same applies to PPM Line. ;)
See this ruclips.net/video/8jR-_Om4myk/видео.html
@@goesgabriel you need to understand how to read a logaritmic scale. Take a look at this ruclips.net/video/8jR-_Om4myk/видео.html
And of course where a code?
Ratio = Rs/Rl? Obviously the datasheet says Rs/R0 which R0 is the point of LPG is at 1000PPM.
Nothing in this video makes any sense.
But how he find the linear function is very useful
share the code pls
if you would like to correct your sensor result, but one.
facebook.com/groups/916444195036070/
что ты тараторишь ничего не понятно. Your spellin so bad/
Hello sir, I don't get it on how you used the formulas in the excel in your code? more elaboration will do . pleas send me explanation on abiudbanda@gmail.com will appreciate. Am using MQ-2, MQ-4 and MQ-7 all together in one sensor node. how do I incorporate all these in one code so that the LCD(20x4) diplays the values in ppm using Arduino uno as the MCU.
were you able to complete the code. if yes could you please share it with me on my email mdsiraj1992@gmail.com.
thank you
excuse me sir, can you share the explanation to me too?
@@4_nd_1 hello bro did you get it?
@@nepalikto1232 nah bro, still waiting):
@@4_nd_1 what about now do you have a solution now ?
This is complete bullshit.İn the code you define the ratio as ratio = Rs/RL but it is abvious in datasheet that ratio is RS/Ro so all that formulla is wrong and why no one realize that.?_?
I saw it too right away. It doesn't make any sense. I do think more people have realized this. If this would be correct, then you must know what RL the manufacturer has used. Usually you can choose from a range (oversimplified, higher RL means more sensitive readings), which means the Rs/R0 in the datasheet would be very likely different from yours. It is just not that easy.
Well, many people also failed to notice that the sensor resistance i.e Rs is simply equal to (5 - Vrl)/Vrl
couldn't understand a single word
Your English is too hard to understand... :(
Your english isn't the best. How you adquire the function lgppm =( log(ratio)*-2.6) + 2.7?
+Marcos Leonardo I have no idea how he came up with that either. Did you figure it out? What i've been following is this guide: sandboxelectronics.com/?p=165 let me know if you have other useful guides. Thanks.
Correct me if i'm wrong, but I believe the formula should be logppm=(log(Ratio)+log(Intercept))/Slope. Then ppm=pow(e,logppm)
stop mumbling man