Great content! You're very diligent in the comment section as well!
@LeonAnavi3 жыл бұрын
I appreciate that! Thanks for the positive feedback.
@nmidu2 жыл бұрын
Thanks for share this amazing proyects! greetings from argentina
@LeonAnavi2 жыл бұрын
You are welcome! Greetings from Plovdiv, Bulgaria :)
@SaifonYoutube Жыл бұрын
Thanks we used this video for a project of ours
@LeonAnavi Жыл бұрын
Nice! I am happy to hear the video was useful for your project :) Thank you for the feedback.
@ahmedsalama57684 жыл бұрын
is there any sensor that can give me a concentration value? please recommend me one
@LeonAnavi4 жыл бұрын
Good question. As you have seen in the video MQ-135 isn't able to provide exact concentration value of a specific gas however for VOC and eCO2 you can use the I2C sensor CCS811.
@linglingchen-s2r3 ай бұрын
hello anavi, i have browsed the whole video, so appreciated with your description which helps me to know the module composition further!! if can, i would like to know more about the function and use of each electronics components
@LeonAnavi3 ай бұрын
Glad you like the video! The main components on the board is ESP8266 ESP-12E WIFI module from Ai-Thinker.
@henakausar43214 жыл бұрын
very well explained. thank you
@LeonAnavi4 жыл бұрын
Glad it was helpful! Thanks for the feedback!
@generalgrievous92 Жыл бұрын
Regarding the burn-in warmup process, should the MQ-135 be plugged in and running when that's happening or should I just leave it in a room by itself?
@LeonAnavi Жыл бұрын
MQ-135 should be turned on. Otherwise it want warm up.
@generalgrievous92 Жыл бұрын
@@LeonAnavi Thank you!
@armaansharma8769 Жыл бұрын
Hey leon great explanation.Can you send the link of led screen or tell the name.
@LeonAnavi Жыл бұрын
Yes, it is a common mini 0.96" OLED I2C yellow-blue display SSD1306. I have published a few video about it. Here is a link to the exact model: www.mouser.bg/ProductDetail/ANAVI-Technology/CS-ANAVI-DISPLAY-1?qs=eP2BKZSCXI7%2F7KnedQ%252Barg%3D%3D
@Kid_Kootenay3 жыл бұрын
Man I'm glad I watched this AFTER I bought my first ever kits 😂 I thought why buy a hydrogen sulfide meter I wanted to get into pi arduino anyway ill just build one 😂 Ohh boy. Thanks for this it helped, I may need uzo too 😂
@LeonAnavi3 жыл бұрын
Thank you the feedback! It is great that you find the video useful :)
@mikhyladeguzman9871 Жыл бұрын
So the pre-heating is a one time thing?? Thank you.
@LeonAnavi Жыл бұрын
Yes, the so called "burn-in" procedure should be done initially and only once.
@glennacontreras82582 жыл бұрын
Leon, any sensor for water instead of air? Thanks.
@LeonAnavi2 жыл бұрын
Interesting topic. What would you like to measure in water?
@mitkopetrovik2595 жыл бұрын
Whether the code can be customized to communicate with Home Assistant / ESPHome or SMART HOUSE programs?
@LeonAnavi5 жыл бұрын
Yes, actually the default firmware of ANAVI Gas Detector that supports MQ-135 has been already made to work out of the box with Home Assistant with the machine to machine protocol MQTT. The default firmware of ANAVI Gas Detector also supports Home Assistant automatic discovery over MQTT. For more details visit: www.crowdsupply.com/anavi-technology/gas-detector One more thing: the default firmware is an Arduino sketch available at GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw
@imamnegeri88254 жыл бұрын
could it this sensor available detect h2s/so2 gas ?, please let me know how it work, thanks
@LeonAnavi4 жыл бұрын
MQ-135 is suitable for detecting of NH3, NOx, alcohol, Benzene, smoke, CO2. You will need a different sensor for other gases.
@bennycolins40694 жыл бұрын
Is there any sensor available ,which can be used for detecting ammonia concentration in water
@LeonAnavi4 жыл бұрын
MQ-137 is an ammonia gas sensor for air and there are pH probe sensors for water.
@bennycolins40694 жыл бұрын
@@LeonAnavi thank you sir ,howc an we ph probes to find the ammonia can you please share some reference vedio
@LeonAnavi4 жыл бұрын
@@bennycolins4069 Sparkfun was offering in the past some Vernier sensors that might have been but they are now out of stock. There are many videos for testing ammonia in fish tanks using various kits, for example API Ammonia Test Kit. Just search for them in Google. Unfortunately, as of the moment, I don't have personal experience with any of them.
@bennycolins40694 жыл бұрын
@@LeonAnavi Thank you sir 🙂
@jeremytiempo96393 жыл бұрын
if my sensor has 1k resistance and i want to change it to 10k ohms resistor ..how can i change it without removing existing resistor on board and put 10 k ohms resistor?
@LeonAnavi3 жыл бұрын
Well... good question but unfortunately in this case I am afraid you will need a soldering iron to swap the resistors on the MQ-135 gas sensor module.
@jeremytiempo96393 жыл бұрын
@@LeonAnavi i have tried an another option to put 10 k resistance and its works for me if the output is 0 the air quality is fresh or good .. and in co2 concentrate the baseline is 400 ppm
@LeonAnavi3 жыл бұрын
@@jeremytiempo9639 Cool! Well done! Keep in mind MQ-135 and the other MQ gas sensor are for detecting dangerous gases in the air but they are not reliable for calculating the exact concentration of a particular gas. Details are described in the datasheet of the particular sensor. I think of MQ gas sensor more like an alarm: ok or not ok.
@jeremytiempo96393 жыл бұрын
@@LeonAnavi the option is both side of a resistor connected to A0 and gnd pins
@marwansaeed70544 жыл бұрын
Just wondering, How did you came up with gas poor, moderate etc. ? I mean if you only getting 0 to 4096 based on the resolution of the AI, and the classification you had here seems standardized somewhere? thanks
@LeonAnavi4 жыл бұрын
I came up with the threshold values for poor, moderate and good based on the information in the MQ-135 datasheet, looking at some scientific papers and experiments to verify the digital values coming out of the sensor module through the analog to digital converter (ADC) in the ESP8266 and the voltage dividers on ANAVI Gas Detector. Have a look at detectGas() in the Arduino sketch and eventually modify them if you need for a more specific case: github.com/AnaviTechnology/anavi-gas-detector-sw/blob/master/anavi-gas-detector-sw/anavi-gas-detector-sw.ino#L1150
@hugo3614 жыл бұрын
Hi Leon, I got the starter kit today, what exactly do I have to change if I want to connect the MQ 4? Please just explain, I'm still a beginner in programming;)
@LeonAnavi4 жыл бұрын
Good question. Let me explain by going into the details. All MQ sensor modules at 5V are supported by ANAVI Gas Detector. These low-cost 5V sensor modules are analog. There is a built-in analog to digital converter (ADC) in ESP8266 furthermore on ANAVI Gas Detector there is a voltage divider. As a result in the open source firmware the read analog value from the sensor is converted to a digit which is represented as %. This is the human-readable conductivity value. So the conductivity is valid no matter if you are using MQ-135 or another compatible 5V analog MQ sensor. The air quality on the display is based on threshold values in the open source firmware which are based on the conductivity for MQ-135. Eventually, you may need to fine tune your sensor and adjust these values in the source code. Here are these threshold values in the Arduino sketch in function void detectGas(): github.com/AnaviTechnology/anavi-gas-detector-sw The threshold values of 190 and 300 are compared to the digital value converted by the ADC from the analog value reported by the sensor module. Eventually, after measurements, you may need to change these values of 190 and 300 to other values for better accuracy.
@shalinshaji76264 жыл бұрын
Is there any sensor for detecting ozone gas
@LeonAnavi4 жыл бұрын
yes, for detecting ozone have a look at MQ-131 sensor.
@shalinshaji76264 жыл бұрын
@@LeonAnavi thank you 🙏
@bipultiku5 жыл бұрын
Can I measure room air quality through this sensor ?
@LeonAnavi5 жыл бұрын
Yes, absolutely, MQ-135 is for monitoring indoor air quality.
@bitches19404 жыл бұрын
helloooo is it also capable of detecting alcohol coming from disinfectants (ethyl)?
@LeonAnavi4 жыл бұрын
Good question. I think so, it probably will react at least to some degree, although I haven't tested it personally yet. However, keep in mind, as explained in the video MQ-135 reacts to various gases but cannot provide you exact concentration of a specific gas.
@inang19685 жыл бұрын
Can I ask if I can use this to measure car exhaust?? Would it be too hot for sensor? Thank you thankyou in Advance
@LeonAnavi5 жыл бұрын
Particularly, for car exhaust probably MQ-7 gas sensor is more suitable because it has higher sensitivity to carbon monoxide (CO).
@ihtiyorhasanov49725 жыл бұрын
Hi! Thanks for sharing the video. Wonder if other sensors e.g. C2H4 sensor (ethylene) can be used with this PCB?
@LeonAnavi5 жыл бұрын
The board is compatible with analog 5V sensor modules. Apart from MQ-135 there are several similar sensor modules like MQ-2 and MQ-3. However, at the moment I don't know if there is a low-cost gas sensor module sensitive to ethylene.
@ihtiyorhasanov49725 жыл бұрын
@@LeonAnavi www.membrapor.ch/electronics/ please take a look, if adapter is purchased along with the sensor and your PCB, all should be good and working?
@vishwanath07114 жыл бұрын
Thanks for the nice demonstration, and is there any sensor which can detect SO2 gas, if please let me know
@LeonAnavi4 жыл бұрын
Glad you like the video. As far as I know there is another sensor called MQ-136 which is with good sensitivity to SO2. However, unlike MQ-135, MQ-136 modules are quite expensive.
@lesterbiccan92984 ай бұрын
Hi, is there any standard procedure in using mq sensors? My thesis professor is requiring me to provide a standard procedure in order for me to continue my thesis. My thesis topic is to compare it to the gadget of an agency that measures the air quality.
@LeonAnavi4 ай бұрын
Yes, explore the MQ-135 datasheet and follow the recommendations from it. As mentioned in the video and the datasheet the standard procedure for using it requires over 24 hours of pre-heat time.
@lesterbiccan92984 ай бұрын
@@LeonAnavi Thanks man!
@syedaasra24234 жыл бұрын
as we know that this sensor is used to detect 3 or 4 types of gases so sir is this possible to get information about which gas is sensed ?
@LeonAnavi3 жыл бұрын
No, sorry, MQ-135 is a low-cost analog sensor only suitable for detecting dangerous cases and air quality. It is not capable of accurately calculating gas type or concentration.
@AlaaeldinMohammed-q7k4 ай бұрын
Do mq135 detect SO2, and what is the name of this screen that displays the concentration?
@LeonAnavi4 ай бұрын
No, according to the datasheet MQ-135 is suitable for detecting NH3, NOx, alcohol, Benzene, smoke and CO2. There are other specialized sensors for SO2.
@shahnaaz65864 ай бұрын
Can i find the concentration of oxygen alone inside the room using this sensor ?
@LeonAnavi4 ай бұрын
No, it is suitable for detecting specific dangerous gases but not measuring exact concentration.
@shahnaaz65864 ай бұрын
@@LeonAnavi so if I need to measure only the concentration of oxygen inside various ventilated rooms what sensors can I use ?? Please reply
@shahnaaz65864 ай бұрын
Can I use AO-03 for measuring the concentration of oxygen inside the room using Arduino nano ??? Please reply
@LeonAnavi4 ай бұрын
I recommend you to have a look at Grove - Oxygen Sensor Pro(GGC2330-O2)
@shahnaaz65864 ай бұрын
@@LeonAnavi it's currently unavailable could u suggest me any other oxygen sensor
@jannarapunzeldizon76054 жыл бұрын
Hello sir. About the diagram, can you share it with me?
@LeonAnavi4 жыл бұрын
yes, sure, ANAVI Gas Detector is open source hardware certified by OSHWA and links to the schematics and the source code are available here: certification.oshwa.org/bg000018.html
@yorozuya61154 жыл бұрын
how many time requires to warm up?
@LeonAnavi4 жыл бұрын
The "burn-in" on first boot requires at least 24h. After that several minutes after boot (depending on the environment temperature and humidity).
@Airbag8883 жыл бұрын
I got 2 esp8236 and 2 mq135 to try and monitor CO2 levels in my kids rooms at night. Specially because in summer it's closed tight to maximise on air conditioning. Any tips? I'm very much a newbie although I'm good with the IT part of it all
@LeonAnavi3 жыл бұрын
If you are a newbie I recommend you to get started with ANAVI Gas Detector as it has a slot of attaching MQ-135 gas sensor modules and appropriate open source firmware: www.crowdsupply.com/anavi-technology/gas-detector github.com/AnaviTechnology/anavi-gas-detector-sw
@Airbag8883 жыл бұрын
@@LeonAnavi Thanks but if it's shipping via anything other than DHL/Fedex/UPS it'll take 6-8 weeks to reach me sadly. I guess I'm going to have to learn :) I wish there was a compatible sensor that would only measure CO2 though
@LeonAnavi3 жыл бұрын
@@Airbag888 Yes, several of our distributors have it in stock such as Crowd Supply and Mouser. Mouser are really good at fast shipping and they have some promotions for free shipping on larger orders. Have a look at the kits here: www2.mouser.com/Electronic-Components/
@The_immortaL9782 жыл бұрын
u told MQ-135 can just detect the presence of some harmful gases but cant tell the amount in which they r presence. do u know any sensors which could tell the amount as well??
@LeonAnavi2 жыл бұрын
Yes, exactly MQ-135 is a low-cost sensor suitable for detecting but not very accurately measuring a specific gas. There are other Nondispersive Infrared (NDIR) based CO₂ sensors, for example the SCD30 from Sensirion capable of detecting 400 to 10000ppm with an accuracy of ±(30ppm+3%).
@The_immortaL9782 жыл бұрын
@@LeonAnavi thankyou brother 🙂
@JinBerry-v9m11 ай бұрын
Is there any way to make mq135 gas sensor to only sense the ammonia(NH3) level?
@LeonAnavi11 ай бұрын
no, MQ-135 is suitable for detecting of NH3, NOx, alcohol, Benzene, smoke,CO2 ,etc. It is an inexpensive detector but not an accurate sensor for measuring the particular level.
@hansmantaring Жыл бұрын
hello, is this viable to be used for outdoor purposes such as in streets? thank you!
@LeonAnavi Жыл бұрын
No, mq-135 is for air quality control equipments for buildings and offices. There are CO2 and dust sensors which are more appropriate for outdoor measurements. I am planning to cover mh-z19b CO2 sensor in a new video in (near) future.
@MichaelMantion5 жыл бұрын
does humidity affect it?
@LeonAnavi5 жыл бұрын
Yes, MQ-135 depends on temperature and humidity. The datasheet contains a figure with sensitivity characteristics of MQ-135.
@MiG-25IsGOAT11 ай бұрын
How can I detect individually nictric oxide, benzene, smoke, and co2 in there? I want to sense that separately, ideas?
@LeonAnavi11 ай бұрын
Good questions: you will need different sensors capable of measuring concentration. For CO2 have a look at MH-Z19, CCS811, SCD30.
@MiG-25IsGOAT11 ай бұрын
@@LeonAnaviSo does it really measure lets say, nitric oxide? like in the amount of it? or it can't and it just says what you demonstrated?
@LeonAnavi11 ай бұрын
@@MiG-25IsGOAT no, MQ-135 is suitable for detecting of NH3,NOx, alcohol, Benzene, smoke, CO2, etc. Please note there is a difference between detecting and measuring. MQ-135 is an inexpensive option for detecting.
@MiG-25IsGOAT11 ай бұрын
@@LeonAnaviOh, I'm so sorry, So what is the analog pin used for? and is there a cheap sensor that can *measure* at least 1 of them?
@LeonAnavi11 ай бұрын
ANAVI Gas Detector has a dedicated slot for MQ-135 and an appropriate voltage divider to use it with the built-in ADC in ESP8266. You will need to adjust if you are using another development board. I am not familiar with sensors in the price range of MQ-135 for measuring. I am using MH-Z19 on Raspberry Pi for CO2 measurements and it is very good at a reasonable price.
@richchase3140 Жыл бұрын
Hmm.. I would guess when you light the lighter that it's reacting not to flammable gas (of which there is probably very little still uncombusted). More likely (speculating) it is measuring a change in temperature, humidity, and CO2 concentration. What do you think? To measure flammable gas, I would use a flint lighter and not spin the flint -- so raw uncombusted butane comes out. Additional thoughts: I'm noting that the accuracy of the circuit is limited by several factors. First, if there is a combination of gasses present (as with the lighter scenario), it can't differentiate the components (how much resistivity change was from which gas component?) Second, we are compounding the errors and biases of the temperature sensor, the humidity sensory, the A/D converter, the reference voltage, and of course the MQ-135. I think it's going to be hard to engineer an accurate, working, device this way. It certainly isn't just as simple as calibrating the MQ-135, because you have to calibrate for several different curves -- for each of the confounding factors above (voltage, A/D, humidity, temp, and MQ-135). Each of those will present different curves for how they affect the end reading. Then there's quantization error if you're using look up tables (LUTs). Thank you, it's very interesting, and solving (or at least optimizing and measuring) the above challenges would be a fun project. Aside from doing individual calibrations/curves/LUTs for T, H, V, etc., maybe adding some other MQ-series gas sensors would help -- particularly for resolving individual components. For example, to measure flammable gas, use MQ-7 with MQ-9. Calibrate each on single component carbon monoxide, then subtract the reading from MQ-7 (CO only) from the reading of the MQ-9 (CO and flammable gas) to remove the influence of CO on the flammable gas reading.
@LeonAnavi Жыл бұрын
Just keep in mind MQ-135 is low-cost sensor more suitable as a detector rather than making measures (not even mentioning accurate measures if this is the goal). MQ-135 is composed by a "micro AL2O3 ceramic tube, Tin Dioxide (SnO2) sensitive layer, measuring electrode and heater are fixed into a crust made by plastic and stainless steel net. The heater provides necessary work conditions for work of sensitive." For more details check the data sheet. Furthermore on a device like ANAVI Gas Detector you can combine MQ-135 with additional sensors like HTU21D for temperature and measurement and do software algorithmic approximations.
@richchase3140 Жыл бұрын
@@LeonAnavi I agree. For my current project, I want to accurately quantify CO2. I'll have to spring for a NDIR sensor, which I can get from Adafruit for about $60. Adafruit Scd-30. I'm not sure, but suspect that I still need to monitor at least humidity.
@LeonAnavi Жыл бұрын
Have a look at mh-z19 CO2 and temperature sensor. I plan to make a video about it in 2024. It is a very good value for money.
@richchase3140 Жыл бұрын
❤ I will! Thank you!
@luisdonaldo48304 жыл бұрын
What kind of digital filter do you recommend for the sensor output? Thanks
@LeonAnavi4 жыл бұрын
Analog to digital converter is required to read the data output from the MQ-135 gas sensor module as digital value. ANAVI Gas Detector has these hardware capabilities.
@devbriin2 жыл бұрын
which ports is the display connected?
@LeonAnavi2 жыл бұрын
There is a dedicated I2C slot on the board for the mini OLED SSD1306 display.
@devbriin2 жыл бұрын
@@LeonAnavithanks
@vrushabhshah42914 жыл бұрын
What sensor can I use to calculate air quality index in the range 0 - 500
@LeonAnavi4 жыл бұрын
What unit do you have in mind for this range 0 - 500?
@vrushabhshah42914 жыл бұрын
@@LeonAnavi Air quality index is the unit for measuring the air quality. It can have values from 0-500
@LeonAnavi4 жыл бұрын
@@vrushabhshah4291the AIQ is calculated based on the average concentration of a pollutant, for example particulate matter (PM). MQ-135 is not suitable for this. For such measurements you need a completely different sensor module, for example SDS011.
@vrushabhshah42914 жыл бұрын
@@LeonAnavi Okay thanks, any smaller size alternative?
@LeonAnavi4 жыл бұрын
@@vrushabhshah4291 well, search for PM2.5 sensors, there are various models on the market. In general due to the nature of the sensor the module are not very small.
@hoanghuan67145 жыл бұрын
what is the maximum distance (in meters) sensitivity of the mq-135 sensor?
@LeonAnavi5 жыл бұрын
Depends on the volume of the room and how you have adjusted the sensor. Have a look at the section for calibration in the datasheet of MQ-135 for details.
@steffankaizer3 жыл бұрын
i bought the whole set of mq sesors from ebay and they work but they came with a Pro Mini strong Atmega328P and i cant figure out how to use the damn thing. any tips?
@LeonAnavi3 жыл бұрын
Have a look at the source code of ANAVI Gas Detector in GitHub. Although the wiring will be specific for your pro mini, the Arduino sketch will be similar (without the WiFi and MQTT parts due to the lack of such capabilities on pro mini): github.com/AnaviTechnology/anavi-gas-detector-sw
@naveens95342 жыл бұрын
Can it measure Different types of Gases at a time
@LeonAnavi2 жыл бұрын
No, it cannot measure accurate concentration of a particular gas. It is useful as a gas detector of NH3,NOx, alcohol, Benzene, smoke,CO2 ,etc.
@tikkypoland5 жыл бұрын
very good tutorial, thank you
@LeonAnavi5 жыл бұрын
hey, thank you very much for the feedback! Glad you enjoyed it.
@syedaasra24234 жыл бұрын
please provide the data sheet as well
@LeonAnavi4 жыл бұрын
The datasheet is available from the specific manufacturer of the MQ-135 sensor modules, just google it and you will find appropriate datasheets. For example: www.olimex.com/Products/Components/Sensors/Gas/SNS-MQ135/resources/SNS-MQ135.pdf
@ambientsoda1062 жыл бұрын
hi what display is that?
@LeonAnavi2 жыл бұрын
It is a mini OLED I2C SSD1306 yellow-blue display. Btw check my KZbin channel as I have a separate video only for this display.
@ambientsoda1062 жыл бұрын
@@LeonAnavi thanks for info..also I'm confused about the data sheet temperature data; for example in a room that is 27degree should I be changing to gas sensor reading data by a biased?
@LeonAnavi2 жыл бұрын
@@ambientsoda106 it is tricky, if the temperature is significantly below and above the ambient room temperature some adjustments of the data might be required.
@LifeGeneralist4 жыл бұрын
Great thanks
@LeonAnavi4 жыл бұрын
You are welcome :) Thanks for the feedback!
@redwatson82953 жыл бұрын
Great content sir! But a small doubt, how to preheat the sensor? Just leave it in room temperature for 24 hrs?
@redwatson82953 жыл бұрын
Even after 24 hours the resistance values are changing continuously
@LeonAnavi3 жыл бұрын
yes, you should leave the MQ-135 sensor module in a room with clean air, turn it on and keep it working for at least 24h.
@redwatson82953 жыл бұрын
@@LeonAnavi thank you so much!
@syedaasra24234 жыл бұрын
can you provide the complete code as well?
@LeonAnavi3 жыл бұрын
Sure, it is available at GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw
@jumbo9996142 жыл бұрын
Which one detect toxic gas from burned garbage?
@LeonAnavi2 жыл бұрын
it all depends what kind of garbage is burning and therefore what is the chemical composition of the gas as well as the smoke concentration. Otherwise many of the MQ sensor modules are capable of detecting smoke, including MQ-135, MQ-2, MQ-3, etc.
@lanuevojoshivanc.45982 жыл бұрын
Does MQ-135 can detect body odor, bad breath, and poop? If yes, please explain thank you in advance.
@LeonAnavi2 жыл бұрын
No, sorry MQ-135 is not appropriate in this case. As explained in the video it is suitable for detecting of NH3, NOx, alcohol, Benzene, smoke, and CO2.
@lanuevojoshivanc.45982 жыл бұрын
@@LeonAnavi What are the other odor that MQ-135 can detect if it used in comfort rooms? We’re trying to conduct a study and we still don’t know what sensor are we going to use. Is it better to use MQ-137 sensor than MQ-135 Sensor in comfort rooms? Or is there any sensor that you can suggest for our study?
@LeonAnavi2 жыл бұрын
@@lanuevojoshivanc.4598 What are the chemical compositions of the things you want to detect in your study? MQ-137 is for detecting ammonia. MQ-4 is for detecting methane and might be suitable. Also have a look at a breakout Grove board by Seeed Studio Grove called "Multichannel Gas Sensor v2". It is far more expensive but it contains several gas sensors.
@narenthiraprasathd67695 жыл бұрын
Hello sir. This video is more informative. I need to know whether you have used temperature and humidity sensor with your controller? The program that you have written is quite large and it's hard to understand. Can you help me in the calibration of analog value to PPM value sir,?
@LeonAnavi5 жыл бұрын
Yes, measuring temperature and humidity with HTU21D I2C sensor module is integrated in the default firmware of ANAVI Gas Detector. Details about the project you can find at: www.crowdsupply.com/anavi-technology/gas-detector
@abey-uv9kf2 жыл бұрын
awesome video. do you know similar low-cost smoke sensor that don't need calibration? accurate value per gas is not required as well, simply to detect burning smoke without much hassle re-calibrating everytime
@LeonAnavi2 жыл бұрын
MQ-2 is a smoke sensor similar to MQ-135 but it still requires the same procedure for pre-heat/calibration. Alternatively if you have a larger budget for this project, you can have a look at breakout boards with ADPD188BI by Analog Devices Inc. It is an optical module for smoke and aerosol detection applications.
@mrsonic5663 Жыл бұрын
thanks for video
@balambigabalasubramanian7884 жыл бұрын
Very nicely explained...one small clarification...can you tell what specific gas you have measured here using MQ 135...bcz my thesis is to measure CO and benzene...so can we program the sensor to measure benzene alone...I am a postgraduate dentist student...so can you explain please... Or else is there any gas sensor to measure benzene alone that can incorporated in this same setup... Can anyone help and reply to this asap since its urgent...
@LeonAnavi4 жыл бұрын
MQ-135 is suitable for detecting of NH3,NOx, alcohol, Benzene, smoke,CO2 ,etc. However, as the datasheet states it is suitable for "detecting", not measuring exact concentration of a specific gas in the air.
@blizzaroxxx2 жыл бұрын
Can it detect nerve gas?
@LeonAnavi2 жыл бұрын
No, I don't think so. This sensor is for different purpose. It is used in air quality control equipments for buildings or offices and it is suitable for detecting of NH3,NOx, alcohol, Benzene, smoke,CO2 ,etc.
@thizirisef56434 жыл бұрын
can u please give me the code ? i tried to find it in github but the code that i'have found is too complicated for me.. i want to work with yours.. please. thanks for this video.
@LeonAnavi4 жыл бұрын
yes, the Arduino sketch is available here: github.com/anavitechnology/anavi-gas-detector-sw
@thizirisef56434 жыл бұрын
@Leon Anavi hello, please can i ask u?, i'm using the pir hc-s501 like yours, but it doesn't work like yours, i have to touch it for working and i have to make a big hit than it works. how can i do for it? i tried a lot of methods and a lot of codes but it's always the same probleme it take a lot of time to detecte and it detects only when i hit it not wen i mouve my hand. please help me it's for my graduation. thank you
@LeonAnavi4 жыл бұрын
@@thizirisef5643 this video is about MQ-135 gas sensor module, not for hc-s501. Anyway, some guidelines that might help you: the PIR motion sensor hc-s501 has a couple of potentiometers on the back for adjustment and calibration. Give them a try.
@thizirisef56434 жыл бұрын
@@LeonAnavi sorry,,, i have a probleme for the bothe....mq135 and hc-sr501, sorry it was a mistake i was watching a video for the hc-sr501. if u can help me, i don't know how can i fix it because it detects mouvemnet just when i hit it... it dosen't work when i mouve my hand for exemple.... i have to tuch it and hit it .... can u help me please
@LeonAnavi4 жыл бұрын
This tutorial is for Linux on Raspberry Pi however it might give you some general guidelines about wiring and calibration of PIR motion sensors: kzbin.info/www/bejne/iZnRq4SJe9yJjrM
@nizzcryptocity69914 жыл бұрын
hi sir did coding mq137 and mq135 both arecsame?
@LeonAnavi4 жыл бұрын
No, not exactly, MQ-135 is for general indoor air quality and MQ-137 is for detecting Ammonia. Reading the analog data will be the same but adjustments of the threshold values will be required because it is a different sensor.
@rutvikjere63924 жыл бұрын
My Mq135 is constantly showing a high value and doesn't decrease below 200. What's wrong?
@LeonAnavi4 жыл бұрын
There could be numerous reasons for this behavior. Is the air in the room ok? Have you performed the 24h burn-in procedure the first time when you turned on the sensor?
@rutvikjere63924 жыл бұрын
@@LeonAnavi I'm sorry mate, I had made an error in the formula to convert the output to ppm. I've fixed the issue now, thanks
@LeonAnavi4 жыл бұрын
@@rutvikjere6392 Cool! well done for debugging and fixing the formula in your source code.
@srijsri67385 жыл бұрын
Can i use mq135 for outdoor surface
@LeonAnavi5 жыл бұрын
No, MQ-135 is used in air quality control equipment for buildings and offices. It is not suitable for outdoor use.
@srijsri67385 жыл бұрын
Which one is good for outdoor.
@LeonAnavi5 жыл бұрын
@@srijsri6738 most commonly particulate matter (PM) sensors are used for outdoor.
@srijsri67385 жыл бұрын
@@LeonAnavi thank you for ur response
@gerakore89484 ай бұрын
so it seems like you cant differentiate between the types of gasses and just get one output for all the different kinds
@LeonAnavi4 ай бұрын
Yes, it is just a low-cost sensor that works as a detector.
@vedavarun25464 жыл бұрын
Very good demonstration. I have calibrated my sensor for 24hrs and now I am stuck at the code for getting ppm values. I have searched a lot for the library and got confused ,since the forums and other discussions have their issues with the RLOAD VALUE and the RESISTANCE formula. I have 1k load resistor on my sensor module. Please help me in guiding to get the correct library with required adjustments for better RZERO value for the sensor. Thanks in advance 😊
@LeonAnavi4 жыл бұрын
Honestly, based on my experience and the datasheet MQ-135 isn't capable of accurately getting ppm value for a specific gas. Although, there are some articles and Arduino sketches about this the results are not good. MQ-135 is a low-cost gas sensor module sensitive to a mix of several gases: NH3,NOx, alcohol, Benzene, smoke,CO2 ,etc. MQ-135 acts more like an alarm to tell you if the air is OK or not.
@convolution_talk_show2 жыл бұрын
how do you heat it up?
@LeonAnavi2 жыл бұрын
According to the datasheet the preheat time is over 24 hour so just connect the MQ-135 sensor module and leave it in a room with clean air. This is a one time procedure.
@convolution_talk_show2 жыл бұрын
@@LeonAnavi ok another question I am finding it hard to grasp the concept of calibrating the sensor especially the calculations to convert the analog values to ppm...any help
@LeonAnavi2 жыл бұрын
@@convolution_talk_show as explained in the video, MQ-135 can detect dangerous gases but it is not suitable for accurately calculating ppm. Use MQ-135 as a part of an alarm system to detect poor air in the environment.
@convolution_talk_show2 жыл бұрын
@@LeonAnavi ok thanks alot! I will do that. but I will be using a mq9 sensor to detect carbon monoxide so I will need to calibrate and convert analog to ppm. will it be easier by then?
@LeonAnavi2 жыл бұрын
All MQ gas sensor modules work the same way and the difference is in the gases they detect. These are low cost sensors for detecting poor air, not for accurately measuring concentration of a specific gas.
@mohitdahiya91153 жыл бұрын
Grate Vidio, It's very helpful for us. Please Tell Me 1 Sensor Name Which detects Methane gas presence 0 to 100 PPM. It May Be very helpful for us.
@LeonAnavi3 жыл бұрын
Please for this use case have a look at MQ-4 methane gas sensor.
@prabhacar5 жыл бұрын
great demo! thank you. please mention what the traditional drink of bulgaria is. i missed it.:)
@LeonAnavi5 жыл бұрын
Thank you. The traditional alcohol drink in Bulgaria is rakia :) Here are some details: en.m.wikipedia.org/wiki/Rakia
@Ymon254 жыл бұрын
Awesome work! I wonder does this detect cigar smoke?
@LeonAnavi4 жыл бұрын
Interesting question. Although I am not a smoker and I haven't tested it with cigar smoke, I expect it should detect it if it near the sensor.
@mynkow4 жыл бұрын
На платката пишеше Made in Bulgaria, Plovdiv. Може ли контакт?
@mynkow4 жыл бұрын
NVM, found it here www.anavi.org/about/
@LeonAnavi4 жыл бұрын
Да, платките са "майна" по произход :) Тук са контактите и повече информация: anavi.technology/
@SoilMaster-4u4 жыл бұрын
Nice Description
@LeonAnavi4 жыл бұрын
Thanks! Glad you like it.
@changamanga34193 жыл бұрын
What is the difference between MQ-135 and PMS5003 ? They do the same function ? I am a layman !
@LeonAnavi3 жыл бұрын
There is a major difference of how they work and even more important what they measure: PMS5003 is a particulate matter sensor for dust, pollen, metal and organic particles, etc. PMS5003 is completely different and it is significantly more expensive.
@changamanga34193 жыл бұрын
@@LeonAnavi Thanks. MQ-135 does the same ???
@LeonAnavi3 жыл бұрын
@@changamanga3419 no, MQ-135 is used in air quality control equipment for buildings and offices as it is suitable for detecting NH3, NOx, alcohol, Benzene, smoke, CO2, etc. Please note "detecting", not measuring exact quantity. PMS5003 measures PM2.5 dust concentrations. So the two sensors are completely different and for different tasks.
@zeemzemie25865 жыл бұрын
hello sir it was awesome project and i love it ! may i know how to get the coding ?
@LeonAnavi5 жыл бұрын
The source code is available at GitHub as an Arduino sketch: github.com/anavitechnology/anavi-gas-detector-sw
@ravindrasingh1486 ай бұрын
great
@aayushbafna75944 жыл бұрын
Hello. Great demonstrations. I wanted to know if I can measure concentrations of two or more gases (say NO2 and CO) simultaneously? Thank you
@LeonAnavi4 жыл бұрын
MQ-135 can detect multiple gases simultaneously. As explained in the video it is not capable of measuring accurately a value for the concentration of a specific gas.
@jamshirtangri57572 жыл бұрын
then which sensor will give excat gas detection
@gokulavishnukirtidamodaran38303 жыл бұрын
Hi Leon can we use MQ-135 module for detecting and also measuring the Ammonia level in the environment? if possible how to calibrate for the same?
@LeonAnavi3 жыл бұрын
yes, MQ-135 also detects Ammonia (NH3) however this low cost sensor is suitable for detection only. It is not capable of measuring the concentration of a specific gas in the air.
@akbaradiprabowo63852 жыл бұрын
do you have the script for this project ?
@LeonAnavi2 жыл бұрын
yes, it is all open source and available at GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw
@akbaradiprabowo63852 жыл бұрын
@@LeonAnavi aww hello. thanks a lot
@LeonAnavi2 жыл бұрын
@@akbaradiprabowo6385 you are welcome :)
@lazaruswiedzmin33602 жыл бұрын
How would I interface this with an Arduino Uno and a .96 led display? I'll TOTALLY donate to your patreon if you could help.
@LeonAnavi2 жыл бұрын
Have a look at the open source Arduino sketch for the smart WiFi dev board ANAVI Gas Detector. It is based on ESP8266 but with some efforts the sketch can be adapted to Arduino Uno: github.com/AnaviTechnology/anavi-gas-detector-sw
@sonu_jeon55452 жыл бұрын
Hey Leon your explanation is amazing!! But can u paste the coding below in the description or comment section cause it looked quite complicated.Please. Thank you💜
@sonu_jeon55452 жыл бұрын
Also can I do a model using aurdino instead of the board u used??
@LeonAnavi2 жыл бұрын
Yes, sure, the source code for ANAVI Gas Detecotor is available as open source Arduino sketch in GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw
@LeonAnavi2 жыл бұрын
in general yes, you can use Arduino instead of ESP8266 board however some adjustments of the Arduino sketch might be required depending on the type of Arduino you would like to use.
@thiranjajayasundara6040 Жыл бұрын
Is this compatible with ATmega 32?
@netherstarbuild3 жыл бұрын
Thanks this was very helpful im using an MQ-135 for a wearable air quality sensor
@LeonAnavi3 жыл бұрын
Nice 👍 I'm glad you enjoyed the video!
@shubhamdalal59605 жыл бұрын
Heythere,that was some good stuffs. Can u please provide me the library file of MQ-135 for proteus 8.8.
@LeonAnavi5 жыл бұрын
I am glad you find the video useful. I don't use Proteus and I cannot help with it.
@pratikpatil94489 ай бұрын
Please create a video on mq3 and raspberry pi 3b+ to detect fruit ripeness detection
@LeonAnavi9 ай бұрын
OK, this is a good idea! I will have in mind for new videos. Raspberry Pi single board computers like 3b+ don't have built-in ADC (analog to digital converter) so an extra board must be use to work with analog sensors like MQ3 or MQ135. The open source hardware add-on board ANAVI Gardening for Raspberry Pi has ADC and can be easily adapter with MQ gas detectors.
@turkerozturk68893 жыл бұрын
Thank you.
@LeonAnavi3 жыл бұрын
You're welcome :)
@jinebuwan95494 жыл бұрын
How to calibrate??
@LeonAnavi4 жыл бұрын
Perform the "burn-in" procedure on first boot of MQ-135 analog gas sensor module by leaving the sensor working in a room with clean air. According to the datasheet the preheat time is over 24h.
@jinebuwan95494 жыл бұрын
@@LeonAnavi how can i burn it?
@LeonAnavi4 жыл бұрын
@@jinebuwan9549 apply 5V power to the VCC pin on MQ-135 gas sensor module to turn it on. On the first boot leave the sensor working in a room with clear air for at least 24h.
@jinebuwan95494 жыл бұрын
Ok ty
@jinebuwan95494 жыл бұрын
Only on first boot?
@jinebuwan95495 жыл бұрын
Why didnt you test CARBON DIOXIDE?
@LeonAnavi5 жыл бұрын
MQ-135 also detects CO2 among other chemical elements and compounds. For this particular video I had the opportunity to cover 3 very practical MQ-135 demonstrations with flammable gases, smoke and alcohol.
@TobiasDettinger4 жыл бұрын
Great video, i have a question: Is there a standard python code which outputs a csv document (for excel analysis) out from the data of my sensor? Im working currently on my raspberry pi 4 with an arduino to set the voltage to the 3,3V for my raspberry pi.
@LeonAnavi4 жыл бұрын
Not that I know of, however ANAVI Gas Detector default open source firmware transmits data over MQTT, therefore you can write a Python3 script on your RaspberryPi Pi that receives these MQTT messages and saves the data a csv document. Furthermore, on the Raspberry Pi you can install an open source MQTT broker, for example mosquitto.
@arduinomaster7334 Жыл бұрын
i am greek i got really exited with tsipouro man XD
@LeonAnavi Жыл бұрын
Cheers from Bulgaria! :) :) :) Thanks for watching my video.
@vasilisdimitriou66823 жыл бұрын
if you are close to svilengran I will give you some tsipouro that is produced in North Greece
@LeonAnavi3 жыл бұрын
Hehe, thank you I will have it in mind and give you a call next time when I am near Svilengrad :) I'm in Plovdiv :)
@alionursen72104 жыл бұрын
Dear Sir Thank you for this excellent video. I have a question about MQ-135. I need to measure NOx gas in the car emission. Can this sensor mesaure?
@LeonAnavi4 жыл бұрын
Yes, as explained in the video, according to the datasheet MQ-135 detects NH3,NOx, alcohol, Benzene, smoke,CO2. However, there is a difference between detecting and measuring. If you need very precise measuring probably should look for something else.
@kerimmededovic13974 жыл бұрын
Disclaimer, those sensors have toxic metals in them
@LeonAnavi4 жыл бұрын
Thanks for watching the video and for adding this information.
@analyticalsolution3 жыл бұрын
Carbon dioxide is not a dangerous gas. Do not confuse it with carbon monooxide. Do not fall to trap of laymen and Gretas.
@LeonAnavi3 жыл бұрын
This is a video about the MQ-135 sensor which is suitable for detecting of NH3, NOx, alcohol, benzene, smoke and CO2. The immediately dangerous to life or health of these gases depends on the parts-per-million (ppm) concentration in the environment.
@analyticalsolution3 жыл бұрын
@@LeonAnavi The video is good, I liked it. Your review of the sensor helped me to decide which sensor to buy. It would be good not to create a misleading impression that CO2 is a toxic gas. ehrs.upenn.edu/health-safety/lab-safety/chemical-hygiene-plan/standard-operating-procedures/sop-hazardous-and , e.g. nitrogen could also be lethal depending on its concentration, but it is not toxic.
@R-d4m4 жыл бұрын
Пускай видеото с ракията
@LeonAnavi4 жыл бұрын
Хехе :) В такива тежки времена бива ли ракия да се хаби за видео клипчета? ;) :) :)
@thatchatk56103 жыл бұрын
Can I use mq135 sensor to detect fire?
@LeonAnavi3 жыл бұрын
Well, as you can see in the video MQ-135 is capable of detecting smoke and smoke is an unwanted by-product of fire so in general it is possible. But as the datasheet of MQ-135 says the sensor is most suitable for air quality control equipment. There are better and more reliable sensors and ways to particularly detect fire and flames.