MQ-135 Gas Sensor Module

Поділитися
Вставка
  • Опубліковано 19 січ 2025

КОМЕНТАРІ • 248

  • @linglingchen-s2r
    @linglingchen-s2r 2 місяці тому

    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

    • @LeonAnavi
      @LeonAnavi  2 місяці тому

      Glad you like the video! The main components on the board is ESP8266 ESP-12E WIFI module from Ai-Thinker.

  • @aaronkalahar-_-_-
    @aaronkalahar-_-_- 3 роки тому +4

    Great content! You're very diligent in the comment section as well!

    • @LeonAnavi
      @LeonAnavi  3 роки тому +1

      I appreciate that! Thanks for the positive feedback.

  • @generalgrievous92
    @generalgrievous92 Рік тому +1

    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?

  • @ahmedsalama5768
    @ahmedsalama5768 4 роки тому +4

    is there any sensor that can give me a concentration value? please recommend me one

    • @LeonAnavi
      @LeonAnavi  4 роки тому +3

      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.

  • @SaifonYoutube
    @SaifonYoutube Рік тому +1

    Thanks we used this video for a project of ours

    • @LeonAnavi
      @LeonAnavi  Рік тому

      Nice! I am happy to hear the video was useful for your project :) Thank you for the feedback.

  • @nmidu
    @nmidu 2 роки тому +1

    Thanks for share this amazing proyects! greetings from argentina

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      You are welcome! Greetings from Plovdiv, Bulgaria :)

  • @The_immortaL978
    @The_immortaL978 2 роки тому +2

    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??

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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_immortaL978
      @The_immortaL978 2 роки тому +1

      @@LeonAnavi thankyou brother 🙂

  • @jeremytiempo9639
    @jeremytiempo9639 3 роки тому +1

    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?

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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.

    • @jeremytiempo9639
      @jeremytiempo9639 3 роки тому +1

      @@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

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      @@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.

    • @jeremytiempo9639
      @jeremytiempo9639 3 роки тому +1

      @@LeonAnavi the option is both side of a resistor connected to A0 and gnd pins

  • @marwansaeed7054
    @marwansaeed7054 4 роки тому +2

    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

    • @LeonAnavi
      @LeonAnavi  4 роки тому +2

      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

  • @mitkopetrovik259
    @mitkopetrovik259 5 років тому +2

    Whether the code can be customized to communicate with Home Assistant / ESPHome or SMART HOUSE programs?

    • @LeonAnavi
      @LeonAnavi  5 років тому +1

      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

  • @armaansharma8769
    @armaansharma8769 Рік тому +1

    Hey leon great explanation.Can you send the link of led screen or tell the name.

    • @LeonAnavi
      @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

  • @glennacontreras8258
    @glennacontreras8258 2 роки тому +1

    Leon, any sensor for water instead of air? Thanks.

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      Interesting topic. What would you like to measure in water?

  • @bennycolins4069
    @bennycolins4069 4 роки тому +1

    Is there any sensor available ,which can be used for detecting ammonia concentration in water

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      MQ-137 is an ammonia gas sensor for air and there are pH probe sensors for water.

    • @bennycolins4069
      @bennycolins4069 4 роки тому

      @@LeonAnavi thank you sir ,howc an we ph probes to find the ammonia can you please share some reference vedio

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      @@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.

    • @bennycolins4069
      @bennycolins4069 4 роки тому

      @@LeonAnavi Thank you sir 🙂

  • @imamnegeri8825
    @imamnegeri8825 4 роки тому +2

    could it this sensor available detect h2s/so2 gas ?, please let me know how it work, thanks

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      MQ-135 is suitable for detecting of NH3, NOx, alcohol, Benzene, smoke, CO2. You will need a different sensor for other gases.

  • @richchase3140
    @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
      @LeonAnavi  Рік тому +1

      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
      @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
      @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
      @richchase3140 Рік тому +1

      ❤ I will! Thank you!

  • @mikhyladeguzman9871
    @mikhyladeguzman9871 Рік тому +1

    So the pre-heating is a one time thing?? Thank you.

    • @LeonAnavi
      @LeonAnavi  Рік тому +1

      Yes, the so called "burn-in" procedure should be done initially and only once.

  • @AlaaeldinMohammed-q7k
    @AlaaeldinMohammed-q7k 3 місяці тому

    Do mq135 detect SO2, and what is the name of this screen that displays the concentration?

    • @LeonAnavi
      @LeonAnavi  3 місяці тому

      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.

  • @hugo361
    @hugo361 4 роки тому +1

    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;)

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      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.

  • @MiG-25IsGOAT
    @MiG-25IsGOAT 11 місяців тому

    How can I detect individually nictric oxide, benzene, smoke, and co2 in there? I want to sense that separately, ideas?

    • @LeonAnavi
      @LeonAnavi  11 місяців тому

      Good questions: you will need different sensors capable of measuring concentration. For CO2 have a look at MH-Z19, CCS811, SCD30.

    • @MiG-25IsGOAT
      @MiG-25IsGOAT 11 місяців тому

      ​@@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?

    • @LeonAnavi
      @LeonAnavi  11 місяців тому

      @@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-25IsGOAT
      @MiG-25IsGOAT 11 місяців тому

      @@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?

    • @LeonAnavi
      @LeonAnavi  11 місяців тому

      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.

  • @ihtiyorhasanov4972
    @ihtiyorhasanov4972 5 років тому +1

    Hi! Thanks for sharing the video. Wonder if other sensors e.g. C2H4 sensor (ethylene) can be used with this PCB?

    • @LeonAnavi
      @LeonAnavi  5 років тому

      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.

    • @ihtiyorhasanov4972
      @ihtiyorhasanov4972 5 років тому

      @@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?

  • @vishwanath0711
    @vishwanath0711 4 роки тому +2

    Thanks for the nice demonstration, and is there any sensor which can detect SO2 gas, if please let me know

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      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.

  • @lesterbiccan9298
    @lesterbiccan9298 3 місяці тому

    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.

    • @LeonAnavi
      @LeonAnavi  3 місяці тому +1

      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.

    • @lesterbiccan9298
      @lesterbiccan9298 3 місяці тому

      @@LeonAnavi Thanks man!

  • @henakausar4321
    @henakausar4321 4 роки тому +2

    very well explained. thank you

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      Glad it was helpful! Thanks for the feedback!

  • @bitches1940
    @bitches1940 4 роки тому +1

    helloooo is it also capable of detecting alcohol coming from disinfectants (ethyl)?

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      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.

  • @inang1968
    @inang1968 5 років тому +1

    Can I ask if I can use this to measure car exhaust?? Would it be too hot for sensor?
    Thank you thankyou in Advance

    • @LeonAnavi
      @LeonAnavi  5 років тому

      Particularly, for car exhaust probably MQ-7 gas sensor is more suitable because it has higher sensitivity to carbon monoxide (CO).

  • @Airbag888
    @Airbag888 3 роки тому

    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

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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

    • @Airbag888
      @Airbag888 3 роки тому

      @@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

    • @LeonAnavi
      @LeonAnavi  3 роки тому +1

      @@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/

  • @bipultiku
    @bipultiku 5 років тому +2

    Can I measure room air quality through this sensor ?

    • @LeonAnavi
      @LeonAnavi  5 років тому +1

      Yes, absolutely, MQ-135 is for monitoring indoor air quality.

  • @mohitdahiya9115
    @mohitdahiya9115 3 роки тому +1

    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.

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      Please for this use case have a look at MQ-4 methane gas sensor.

  • @netherstarbuild
    @netherstarbuild 3 роки тому +1

    Thanks this was very helpful im using an MQ-135 for a wearable air quality sensor

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      Nice 👍 I'm glad you enjoyed the video!

  • @jannarapunzeldizon7605
    @jannarapunzeldizon7605 4 роки тому +1

    Hello sir. About the diagram, can you share it with me?

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      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

  • @shahnaaz6586
    @shahnaaz6586 4 місяці тому

    Can i find the concentration of oxygen alone inside the room using this sensor ?

    • @LeonAnavi
      @LeonAnavi  4 місяці тому

      No, it is suitable for detecting specific dangerous gases but not measuring exact concentration.

    • @shahnaaz6586
      @shahnaaz6586 4 місяці тому

      @@LeonAnavi so if I need to measure only the concentration of oxygen inside various ventilated rooms what sensors can I use ?? Please reply

    • @shahnaaz6586
      @shahnaaz6586 4 місяці тому

      Can I use AO-03 for measuring the concentration of oxygen inside the room using Arduino nano ??? Please reply

    • @LeonAnavi
      @LeonAnavi  4 місяці тому

      I recommend you to have a look at Grove - Oxygen Sensor Pro(GGC2330-O2)

    • @shahnaaz6586
      @shahnaaz6586 4 місяці тому

      @@LeonAnavi it's currently unavailable could u suggest me any other oxygen sensor

  • @lanuevojoshivanc.4598
    @lanuevojoshivanc.4598 2 роки тому

    Does MQ-135 can detect body odor, bad breath, and poop? If yes, please explain thank you in advance.

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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.4598
      @lanuevojoshivanc.4598 2 роки тому

      @@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?

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      @@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.

  • @hansmantaring
    @hansmantaring Рік тому

    hello, is this viable to be used for outdoor purposes such as in streets? thank you!

    • @LeonAnavi
      @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.

  • @steffankaizer
    @steffankaizer 3 роки тому

    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?

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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

  • @rutvikjere6392
    @rutvikjere6392 4 роки тому

    My Mq135 is constantly showing a high value and doesn't decrease below 200. What's wrong?

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      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?

    • @rutvikjere6392
      @rutvikjere6392 4 роки тому

      @@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

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      @@rutvikjere6392 Cool! well done for debugging and fixing the formula in your source code.

  • @JinBerry-v9m
    @JinBerry-v9m 11 місяців тому

    Is there any way to make mq135 gas sensor to only sense the ammonia(NH3) level?

    • @LeonAnavi
      @LeonAnavi  11 місяців тому +1

      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.

  • @syedaasra2423
    @syedaasra2423 3 роки тому

    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 ?

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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.

  • @luisdonaldo4830
    @luisdonaldo4830 4 роки тому

    What kind of digital filter do you recommend for the sensor output? Thanks

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      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.

  • @shalinshaji7626
    @shalinshaji7626 4 роки тому +1

    Is there any sensor for detecting ozone gas

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      yes, for detecting ozone have a look at MQ-131 sensor.

    • @shalinshaji7626
      @shalinshaji7626 4 роки тому +1

      @@LeonAnavi thank you 🙏

  • @vrushabhshah4291
    @vrushabhshah4291 4 роки тому

    What sensor can I use to calculate air quality index in the range 0 - 500

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      What unit do you have in mind for this range 0 - 500?

    • @vrushabhshah4291
      @vrushabhshah4291 4 роки тому +1

      @@LeonAnavi Air quality index is the unit for measuring the air quality. It can have values from 0-500

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      @@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.

    • @vrushabhshah4291
      @vrushabhshah4291 4 роки тому

      @@LeonAnavi Okay thanks, any smaller size alternative?

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      @@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.

  • @jumbo999614
    @jumbo999614 2 роки тому

    Which one detect toxic gas from burned garbage?

    • @LeonAnavi
      @LeonAnavi  2 роки тому +1

      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.

  • @Ymon25
    @Ymon25 4 роки тому +1

    Awesome work! I wonder does this detect cigar smoke?

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      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.

  • @ambientsoda106
    @ambientsoda106 2 роки тому +1

    hi what display is that?

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      It is a mini OLED I2C SSD1306 yellow-blue display. Btw check my UA-cam channel as I have a separate video only for this display.

    • @ambientsoda106
      @ambientsoda106 2 роки тому

      @@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?

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      @@ambientsoda106 it is tricky, if the temperature is significantly below and above the ambient room temperature some adjustments of the data might be required.

  • @prabhacar
    @prabhacar 5 років тому +3

    great demo! thank you. please mention what the traditional drink of bulgaria is. i missed it.:)

    • @LeonAnavi
      @LeonAnavi  5 років тому +1

      Thank you. The traditional alcohol drink in Bulgaria is rakia :) Here are some details: en.m.wikipedia.org/wiki/Rakia

  • @sonu_jeon5545
    @sonu_jeon5545 2 роки тому +2

    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_jeon5545
      @sonu_jeon5545 2 роки тому

      Also can I do a model using aurdino instead of the board u used??

    • @LeonAnavi
      @LeonAnavi  2 роки тому +2

      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

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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
      @thiranjajayasundara6040 Рік тому

      Is this compatible with ATmega 32?

  • @thizirisef5643
    @thizirisef5643 4 роки тому +1

    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.

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      yes, the Arduino sketch is available here: github.com/anavitechnology/anavi-gas-detector-sw

    • @thizirisef5643
      @thizirisef5643 4 роки тому

      ​ @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

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      @@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.

    • @thizirisef5643
      @thizirisef5643 4 роки тому

      @@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

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      This tutorial is for Linux on Raspberry Pi however it might give you some general guidelines about wiring and calibration of PIR motion sensors: ua-cam.com/video/ShnzQSFwVXQ/v-deo.html

  • @yorozuya6115
    @yorozuya6115 4 роки тому +1

    how many time requires to warm up?

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      The "burn-in" on first boot requires at least 24h. After that several minutes after boot (depending on the environment temperature and humidity).

  • @Kid_Kootenay
    @Kid_Kootenay 3 роки тому +2

    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 😂

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      Thank you the feedback! It is great that you find the video useful :)

  • @devbriin
    @devbriin 2 роки тому

    which ports is the display connected?

    • @LeonAnavi
      @LeonAnavi  2 роки тому +1

      There is a dedicated I2C slot on the board for the mini OLED SSD1306 display.

    • @devbriin
      @devbriin 2 роки тому +1

      @@LeonAnavithanks

  • @redwatson8295
    @redwatson8295 3 роки тому

    Great content sir! But a small doubt, how to preheat the sensor? Just leave it in room temperature for 24 hrs?

    • @redwatson8295
      @redwatson8295 3 роки тому

      Even after 24 hours the resistance values are changing continuously

    • @LeonAnavi
      @LeonAnavi  3 роки тому +1

      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.

    • @redwatson8295
      @redwatson8295 3 роки тому +1

      @@LeonAnavi thank you so much!

  • @hoanghuan6714
    @hoanghuan6714 5 років тому

    what is the maximum distance (in meters) sensitivity of the mq-135 sensor?

    • @LeonAnavi
      @LeonAnavi  5 років тому

      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.

  • @aayushbafna7594
    @aayushbafna7594 4 роки тому +2

    Hello. Great demonstrations.
    I wanted to know if I can measure concentrations of two or more gases (say NO2 and CO) simultaneously?
    Thank you

    • @LeonAnavi
      @LeonAnavi  4 роки тому +3

      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.

    • @jamshirtangri5757
      @jamshirtangri5757 2 роки тому

      then which sensor will give excat gas detection

  • @balambigabalasubramanian788
    @balambigabalasubramanian788 4 роки тому

    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...

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      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.

  • @gerakore8948
    @gerakore8948 4 місяці тому

    so it seems like you cant differentiate between the types of gasses and just get one output for all the different kinds

    • @LeonAnavi
      @LeonAnavi  4 місяці тому +1

      Yes, it is just a low-cost sensor that works as a detector.

  • @changamanga3419
    @changamanga3419 3 роки тому

    What is the difference between MQ-135 and PMS5003 ? They do the same function ?
    I am a layman !

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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.

    • @changamanga3419
      @changamanga3419 3 роки тому

      @@LeonAnavi Thanks. MQ-135 does the same ???

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      @@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.

  • @abey-uv9kf
    @abey-uv9kf 2 роки тому +2

    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

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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.

  • @pratikpatil9448
    @pratikpatil9448 9 місяців тому

    Please create a video on mq3 and raspberry pi 3b+ to detect fruit ripeness detection

    • @LeonAnavi
      @LeonAnavi  9 місяців тому

      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.

  • @gokulavishnukirtidamodaran3830
    @gokulavishnukirtidamodaran3830 3 роки тому +1

    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?

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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.

  • @mynkow
    @mynkow 4 роки тому +1

    На платката пишеше Made in Bulgaria, Plovdiv. Може ли контакт?

    • @mynkow
      @mynkow 4 роки тому +1

      NVM, found it here www.anavi.org/about/

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      Да, платките са "майна" по произход :) Тук са контактите и повече информация: anavi.technology/

  • @nizzcryptocity6991
    @nizzcryptocity6991 4 роки тому

    hi sir did coding mq137 and mq135 both arecsame?

    • @LeonAnavi
      @LeonAnavi  4 роки тому +2

      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.

  • @narenthiraprasathd6769
    @narenthiraprasathd6769 5 років тому

    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,?

    • @LeonAnavi
      @LeonAnavi  5 років тому

      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

  • @MichaelMantion
    @MichaelMantion 5 років тому +1

    does humidity affect it?

    • @LeonAnavi
      @LeonAnavi  5 років тому

      Yes, MQ-135 depends on temperature and humidity. The datasheet contains a figure with sensitivity characteristics of MQ-135.

  • @naveens9534
    @naveens9534 2 роки тому

    Can it measure Different types of Gases at a time

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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.

  • @lazaruswiedzmin3360
    @lazaruswiedzmin3360 2 роки тому

    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.

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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

  • @syedaasra2423
    @syedaasra2423 3 роки тому

    can you provide the complete code as well?

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      Sure, it is available at GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw

  • @zeemzemie2586
    @zeemzemie2586 5 років тому +1

    hello sir it was awesome project and i love it ! may i know how to get the coding ?

    • @LeonAnavi
      @LeonAnavi  5 років тому +1

      The source code is available at GitHub as an Arduino sketch: github.com/anavitechnology/anavi-gas-detector-sw

  • @vedavarun2546
    @vedavarun2546 4 роки тому

    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 😊

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      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.

  • @tikkypoland
    @tikkypoland 5 років тому

    very good tutorial, thank you

    • @LeonAnavi
      @LeonAnavi  5 років тому

      hey, thank you very much for the feedback! Glad you enjoyed it.

  • @blizzaroxxx
    @blizzaroxxx 2 роки тому

    Can it detect nerve gas?

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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.

  • @vasilisdimitriou6682
    @vasilisdimitriou6682 3 роки тому

    if you are close to svilengran I will give you some tsipouro that is produced in North Greece

    • @LeonAnavi
      @LeonAnavi  3 роки тому +1

      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 :)

  • @syedaasra2423
    @syedaasra2423 3 роки тому

    please provide the data sheet as well

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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

  • @srijsri6738
    @srijsri6738 5 років тому

    Can i use mq135 for outdoor surface

    • @LeonAnavi
      @LeonAnavi  5 років тому

      No, MQ-135 is used in air quality control equipment for buildings and offices. It is not suitable for outdoor use.

    • @srijsri6738
      @srijsri6738 5 років тому

      Which one is good for outdoor.

    • @LeonAnavi
      @LeonAnavi  5 років тому

      @@srijsri6738 most commonly particulate matter (PM) sensors are used for outdoor.

    • @srijsri6738
      @srijsri6738 5 років тому +1

      @@LeonAnavi thank you for ur response

  • @akbaradiprabowo6385
    @akbaradiprabowo6385 2 роки тому

    do you have the script for this project ?

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      yes, it is all open source and available at GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw

    • @akbaradiprabowo6385
      @akbaradiprabowo6385 2 роки тому

      @@LeonAnavi aww hello. thanks a lot

    • @LeonAnavi
      @LeonAnavi  2 роки тому +1

      @@akbaradiprabowo6385 you are welcome :)

  • @convolution_talk_show
    @convolution_talk_show 2 роки тому

    how do you heat it up?

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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_show
      @convolution_talk_show 2 роки тому

      @@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

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      @@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_show
      @convolution_talk_show 2 роки тому

      @@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?

    • @LeonAnavi
      @LeonAnavi  2 роки тому

      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.

  • @shubhamdalal5960
    @shubhamdalal5960 5 років тому

    Heythere,that was some good stuffs.
    Can u please provide me the library file of MQ-135 for proteus 8.8.

    • @LeonAnavi
      @LeonAnavi  5 років тому +2

      I am glad you find the video useful. I don't use Proteus and I cannot help with it.

  • @TobiasDettinger
    @TobiasDettinger 4 роки тому

    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.

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      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.

  • @mrsonic5663
    @mrsonic5663 Рік тому +1

    thanks for video

  • @jinebuwan9549
    @jinebuwan9549 4 роки тому

    Why didnt you test CARBON DIOXIDE?

    • @LeonAnavi
      @LeonAnavi  4 роки тому +2

      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.

  • @LifeGeneralist
    @LifeGeneralist 4 роки тому +2

    Great thanks

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      You are welcome :) Thanks for the feedback!

  • @alionursen7210
    @alionursen7210 4 роки тому

    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?

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      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.

  • @SoilMaster-4u
    @SoilMaster-4u 4 роки тому +1

    Nice Description

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      Thanks! Glad you like it.

  • @arduinomaster7334
    @arduinomaster7334 Рік тому +1

    i am greek i got really exited with tsipouro man XD

    • @LeonAnavi
      @LeonAnavi  Рік тому

      Cheers from Bulgaria! :) :) :) Thanks for watching my video.

  • @jinebuwan9549
    @jinebuwan9549 4 роки тому

    How to calibrate??

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      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.

    • @jinebuwan9549
      @jinebuwan9549 4 роки тому

      @@LeonAnavi how can i burn it?

    • @LeonAnavi
      @LeonAnavi  4 роки тому +1

      @@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.

    • @jinebuwan9549
      @jinebuwan9549 4 роки тому +1

      Ok ty

    • @jinebuwan9549
      @jinebuwan9549 4 роки тому

      Only on first boot?

  • @ravindrasingh148
    @ravindrasingh148 6 місяців тому +1

    great

  • @turkerozturk6889
    @turkerozturk6889 3 роки тому

    Thank you.

  • @kerimmededovic1397
    @kerimmededovic1397 4 роки тому

    Disclaimer, those sensors have toxic metals in them

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      Thanks for watching the video and for adding this information.

  • @R-d4m
    @R-d4m 4 роки тому +1

    Пускай видеото с ракията

    • @LeonAnavi
      @LeonAnavi  4 роки тому

      Хехе :) В такива тежки времена бива ли ракия да се хаби за видео клипчета? ;) :) :)

  • @analyticalsolution
    @analyticalsolution 3 роки тому

    Carbon dioxide is not a dangerous gas. Do not confuse it with carbon monooxide. Do not fall to trap of laymen and Gretas.

    • @LeonAnavi
      @LeonAnavi  3 роки тому

      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.

    • @analyticalsolution
      @analyticalsolution 3 роки тому

      @@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.

  • @thatchatk5610
    @thatchatk5610 3 роки тому

    Can I use mq135 sensor to detect fire?

    • @LeonAnavi
      @LeonAnavi  3 роки тому +1

      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.