ESP32 #78: MQ Gas sensors

Sdílet
Vložit
  • čas přidán 10. 09. 2024

Komentáře • 43

  • @TrasteIAm
    @TrasteIAm Před 5 lety +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 Před 8 měsíci

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

  • @oussamafr6123
    @oussamafr6123 Před 5 lety +2

    What the kind of gas can measure?

  • @bilalslama2098
    @bilalslama2098 Před 4 lety

    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 Před 4 lety

    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 Před 2 lety

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

  • @MiG-25IsGOAT
    @MiG-25IsGOAT Před 5 měsíci

    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 Před 4 lety +1

    How did you calibrate this sensors?

  • @fpt380
    @fpt380 Před 6 lety +1

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

  • @MrJanulis
    @MrJanulis Před 6 lety +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 Před 6 lety +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 Před 6 lety

      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 Před 6 lety

      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 Před 6 lety +1

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

    • @jasonmhite
      @jasonmhite Před 6 lety

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

  • @sketchbyudit4198
    @sketchbyudit4198 Před 5 lety +2

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

  • @RaadYacu
    @RaadYacu Před 6 lety

    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 Před 4 lety

    can we measure co2 or o2 lavel with this sensor

  • @kgcmusic
    @kgcmusic Před 5 lety

    how can I connect one of them with any plc?

  • @sivakumarc3853
    @sivakumarc3853 Před 4 lety

    How to simulate the esp32?

  • @vanesinha95
    @vanesinha95 Před 5 lety

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

    • @pcbreflux
      @pcbreflux  Před 5 lety

      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 Před 5 lety

      @@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 Před 4 lety

    very useful

  • @Kitsu_no_mirai
    @Kitsu_no_mirai Před 5 lety

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

    • @pcbreflux
      @pcbreflux  Před 5 lety

      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 Před 5 lety

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

    • @Kitsu_no_mirai
      @Kitsu_no_mirai Před 5 lety

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

    • @Cosmos-2022
      @Cosmos-2022 Před 5 lety

      @@Kitsu_no_mirai yes you must.

  • @jasonmhite
    @jasonmhite Před 6 lety

    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  Před 6 lety +1

      Thanks for sharing your experience.

  • @TqSNv9R0iG5Ckxew
    @TqSNv9R0iG5Ckxew Před 6 lety

    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

    Send code for ARM BASED STM32103C8

  • @tranvietlan8832
    @tranvietlan8832 Před 5 lety

    I want to find code

    • @pcbreflux
      @pcbreflux  Před 5 lety

      Example code and more info in the description.

  • @jedandecko5585
    @jedandecko5585 Před 6 lety

    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!

  • @Magic-Smoke
    @Magic-Smoke Před 6 lety +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 Před 6 lety +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.