ESP32 #78: MQ Gas sensors

Поділитися
Вставка
  • Опубліковано 10 вер 2024

КОМЕНТАРІ • 43

  • @TrasteIAm
    @TrasteIAm 5 років тому +7

    It's a bad day! @4:58 "today i have no alcohol in reach" Someone has been hiding all the bottles eh? :D

  • @blogactivities5462
    @blogactivities5462 8 місяців тому

    for Gas Sensor project, do we need Fan for air circulation? if yes, what is your recommendation / Thanks

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

    What the kind of gas can measure?

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

    hi,
    can i but buzzer 5v in digital output directly without transistor for amplifier.
    what is the current in sensor MQ9 digital output pin??
    thanks brother

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

    Anyone point me in the direction of a Micropython version of this? I can find one for the ESP8266 but it doesn't work for the ESP32

  • @RandomGuy-df1oy
    @RandomGuy-df1oy 2 роки тому

    Do I have to use breadboard and jumper wires for this?

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

    Probably the biggest disadvantage is that for first-time use you need to leave it on for 24 to 48 hours, and for each use, to leave it on for 20 minutes, which is pretty bad

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

    How did you calibrate this sensors?

  • @fpt380
    @fpt380 6 років тому +1

    Thank for the video ,but did mq135 can distinguish between types of gases?

  • @MrJanulis
    @MrJanulis 6 років тому +2

    Have you ever considered to use BME 680? It's an amazing set of sensors in one enclosure but might be difficult to get all the readings interpreted right due to Bosh policy to document it. If you will decide to build one - you'll be surprised how fast CO2 level rises in closed spaces - I've tested it in a car and with closed ventilation (recirculation mode) it took just 3 minutes for a CO2 level to rise over 1000ppm! Not surprising that so many sleepy drivers making accidents...

    • @jasonmhite
      @jasonmhite 6 років тому +1

      The BME680 is not a CO2 sensor, it senses VOCs. The equivalent CO2 reading it outputs isn't indicative of the CO2 concentration, it's the equivalent amount of CO2 that would cause the same amount of greenhouse effect as the measured gas. It actually has pretty low sensitivity to CO2, in your car it was probably reacting to carbon monoxide from combustion. Put it next to some rubbing alcohol for instance and suddenly it'll tell you that you have lethal CO2 levels. There's a similar sensor to the MQ ones that is sensitive primarily to CO2 (the MG-811) but it's *much* more expensive ($25-50). There are also optical CO2 sensors but they are also $20+ each.

    • @MrJanulis
      @MrJanulis 6 років тому

      No, in a car I've been using iAM from ams.com/eng/Products/Environmental-Sensors/Air-Quality-Sensors/iAM
      and no, it wasn't from combustion, as we've been driving alone at night so our gases were behind us and none was driving in front of us - so I guess it was two of us who produced this CO2 :) (no farting)

    • @jasonmhite
      @jasonmhite 6 років тому

      That's also a VOC sensor, not CO2. The readings are "equivalent CO2" en.wikipedia.org/wiki/Carbon_dioxide_equivalent . I don't know of any handheld actual CO2 sensor under $100.

    • @MrJanulis
      @MrJanulis 6 років тому +1

      Literally, you are right. But should I be concern only on CO2 or VOC as well?

    • @jasonmhite
      @jasonmhite 6 років тому

      Both. VOCs are basically a measure of pollution, CO2 is air "freshness."

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

    can we measure co2 level and o2 level from the same sensors?

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

      no,cause it's a detector not an analysor

  • @RaadYacu
    @RaadYacu 6 років тому

    Thanks for the video. Were you looking for specific gas detector? But I need this to trigger the ESP and not be on all the time otherwise it would not be possible to operate with battery. ESP32 are good but they consume too much power

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

    can we measure co2 or o2 lavel with this sensor

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

    how can I connect one of them with any plc?

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

    How to simulate the esp32?

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

    did the sensor work with 3.3 V or you used a Volage divider?

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

      Some of them will work with 3.3V, but check the datasheet. Most will be specified at 5V but will work fine with 3.3V without guarantee.

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

      @@pcbreflux i will have to taste it the worst thing that could happen is that the sensor wont work if that happens i will have to do a voltage divider. thank you!

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

    very useful

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

    do this gas sensor module need to be pre-heat, or it already pre-heat at the factory?

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

      As fare as I read the comments you need some "burn-in time" for about 3 minutes to get the readings stable but this could differ from sensor to sensor.

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

      So there is no need to burn it in 24 hours?

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

      @@pcbreflux and also does it effect sensitifity or value from reading.

    • @Cosmos-2022
      @Cosmos-2022 5 років тому

      @@Kitsu_no_mirai yes you must.

  • @jasonmhite
    @jasonmhite 6 років тому

    I found that the breakout boards I bought for the MQ-135 had the wrong value for the load resistor, which makes them give really erratic readings because it lowers the resolution of the sensor a ton. You may want to check yours and compare against the datasheet values. Most of the MQ sensors have logarithmic responses as well, so you need to look at the log of the voltage. They also depend on temperature and humidity, with a correction factor in the datasheet. The best bet is to leave it outside for a while and record the voltage in clean air, then print out -log(Vmeasured / Vclean). Getting accurate absolute values is virtually impossible even with a calibration reference because almost all of them are sensitive to a variety of gasses with varying sensitivities, so it's impossible to distinguish any particular gas.

    • @pcbreflux
      @pcbreflux  6 років тому +1

      Thanks for sharing your experience.

  • @TqSNv9R0iG5Ckxew
    @TqSNv9R0iG5Ckxew 6 років тому

    The new $250 Ketonix bluetooth ketone meter is based on a $5 gas sensor. I bet you could make a better device for under $20 with a 3D printer, ePaper, and an ESP32.

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

    Send code for ARM BASED STM32103C8

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

    I want to find code

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

      Example code and more info in the description.

  • @jedandecko5585
    @jedandecko5585 6 років тому

    This is not good preview :) those sensor can do some good measurement if they are calibrated properly. I know that referent values gasses are expensive, but you can go to any measurement station and leave your sensor there, go on their web site and compare values with time tags. It`s that easy and free :)
    BTW I like your channel, but this is rely low quality stuff from you.
    Keep up the good work!

    • @pcbreflux
      @pcbreflux  6 років тому +1

      Fair enough, thanks.

  • @Magic-Smoke
    @Magic-Smoke 6 років тому +1

    We all can plug many sensors into the ESP32 and make them work but they are not useful unless calibrated so why do a video unless you are going to add value?

    • @jasonmhite
      @jasonmhite 6 років тому +3

      Virtually nobody has the tools required to calibrate these sorts of sensors, but they're still good for relative measurements. Don't be such a dick.