Can you share your code? I dont understand where the values of the lnPPM are in the code
@JamesWylde Жыл бұрын
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.
@esthervs40807 жыл бұрын
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
@cuongleba62476 жыл бұрын
Your tutorila is useful for me , but where do you get -2.6 and 2.7 ?
@silvanadiaz13089 жыл бұрын
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
@shivamsahil36606 жыл бұрын
He calibrated it by real time experimenting.
@joshyehezkielnuseraparinus64486 жыл бұрын
is it same how to calculate ppm of MQ-2 or MQ-3?
@khairjuani89936 жыл бұрын
@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.
@arifianhutama86127 жыл бұрын
Hi, your tutorial is good, but if you share your code for calibrated mq sensor it will better than before. Thanks
@darioramljak79149 жыл бұрын
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.
@rajashekarh4281 Жыл бұрын
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 ?
@davecs84047 жыл бұрын
thank you very much for very nice explanation. but how about MQ7 and MQ135 i gonna to use them. please clarify for me!!
@LetchikBulochkin6 жыл бұрын
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.
@Rishabh-coder-pubАй бұрын
insert the captions bro , please and please try to remove background noises
@MrFercho4596 жыл бұрын
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..
@askhatzhangirbayev10948 жыл бұрын
hello)) how to get ppm value from figaro tgs2600 gas sensor ?
@mokranlechat5 жыл бұрын
hi sir, could u tell how to process with mq7 sensor? i need to understand how to calibration is possible as well. thks.
@dinurwahyupratiwi51606 жыл бұрын
hello, i just started my new project with mq2. can i get full code for this mq2 ?
@clip83278 жыл бұрын
The problem is Ro (clean air) often changed the values hour by hour. Voltage regulator is not smooth too.
@19trwind827 жыл бұрын
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.
@joshyehezkielnuseraparinus64486 жыл бұрын
is it same how to calculate ppm of MQ-2 or MQ-3?
@malusisibiya33307 жыл бұрын
This looks good but I cant understand a word you are saying
@procast6 жыл бұрын
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.
@bhagasasi425 Жыл бұрын
But how he find the linear function is very useful
@phamminhang7059 Жыл бұрын
why Vrl= adc_rd * Vadc_5? could anyone explain this for me?
@candrasuceng42593 жыл бұрын
hello I have a question, what gas coordinates are you using?
@RonaldArthur3 жыл бұрын
The coordinates depends on the type on MQ sensor you get. In my video I used MQ2 for demonstration
@candrasuceng42593 жыл бұрын
@@RonaldArthur for example in the video, you take the coordinates of what gas?
@SebastianMMA169 ай бұрын
Rl is Load Resistor, we need Ro.
@YasirFaur3 ай бұрын
where is R0?!
@suvarnawadekar31377 жыл бұрын
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 .
@KK-dy7ez5 жыл бұрын
Sir .have u done ur calibration work? we are working on the same. plz help ..........
@zeemzemie25865 жыл бұрын
@@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
@sankarg100 Жыл бұрын
Hi could you send me the code
@nileshaqua7 жыл бұрын
Natural log is base e . Why are you using base 10 than ??
@mostafavafaei26297 жыл бұрын
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...?
@FSchottz7 жыл бұрын
reading the graphic on datasheet
@FSchottz7 жыл бұрын
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. ;)
@francho1234 жыл бұрын
See this kzbin.info/www/bejne/bpu1XpKFopmgr80
@francho1234 жыл бұрын
@@goesgabriel you need to understand how to read a logaritmic scale. Take a look at this kzbin.info/www/bejne/bpu1XpKFopmgr80
@joshyehezkielnuseraparinus64486 жыл бұрын
is it same how to calculate ppm of MQ-2 or MQ-3?
@pong301275cmu6 жыл бұрын
I have data how to calculate the R ratio to gas concentration for sale.
sir can you help me calibrating mq135 to measure ammonia with a dht22 for best results. thank you :D
@huzniey4 жыл бұрын
Hello. Have you got the answer for this?
@cherfiilyas35808 жыл бұрын
hiii ... can you help me to getting right PPM from TGS26020 sensor !!
@roshangupta57093 жыл бұрын
Did you got any solution?? I'm also stuck in calculating the ppm
@bgv19957 жыл бұрын
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
@19trwind827 жыл бұрын
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.
@vitalijsfescenko50559 жыл бұрын
How do you measure Load Resistance (RL), I have a multimeter and same type of sensor
@pong301275cmu8 жыл бұрын
this is just only R that used for measured V across RL to calculated R of sensor (Rs) by using potential divider technique.
@rhemoanthonypoblete6868 жыл бұрын
sir. can i ask for the codes ? thak you sir :D
@jugnu3615 жыл бұрын
Cool Man.........I think i will have to make one now ......... you got me interested ..Thanks
@ManOleg388 жыл бұрын
And of course where a code?
@marcosleonar9 жыл бұрын
Your english isn't the best. How you adquire the function lgppm =( log(ratio)*-2.6) + 2.7?
@jerrygabrie93569 жыл бұрын
+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.
@edgarpalacios51506 жыл бұрын
Correct me if i'm wrong, but I believe the formula should be logppm=(log(Ratio)+log(Intercept))/Slope. Then ppm=pow(e,logppm)
@abiudbanda8 жыл бұрын
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.
@1992sira7 жыл бұрын
were you able to complete the code. if yes could you please share it with me on my email mdsiraj1992@gmail.com. thank you
@4_nd_12 жыл бұрын
excuse me sir, can you share the explanation to me too?
@nepalikto12322 жыл бұрын
@@4_nd_1 hello bro did you get it?
@4_nd_12 жыл бұрын
@@nepalikto1232 nah bro, still waiting):
@media-scene90508 ай бұрын
@@4_nd_1 what about now do you have a solution now ?
@MrFatihenesuzun7 жыл бұрын
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.?_?
@19trwind827 жыл бұрын
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.
@vimalsheoran80406 жыл бұрын
Well, many people also failed to notice that the sensor resistance i.e Rs is simply equal to (5 - Vrl)/Vrl
@MrSasha30507 жыл бұрын
что ты тараторишь ничего не понятно. Your spellin so bad/
@nabilhossain47609 жыл бұрын
Your English is too hard to understand... :(
@firdauszainuddin98145 жыл бұрын
share the code pls
@Cosmos-20225 жыл бұрын
if you would like to correct your sensor result, but one. facebook.com/groups/916444195036070/