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
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.
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??
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%).
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 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
@@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.
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
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
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
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
@@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.
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.
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.
@@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.
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.
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;)
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 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.
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.
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.
@@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?
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.
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.
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.
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.
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
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
@@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
@@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/
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
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.
@@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?
@@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.
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.
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?
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
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?
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.
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.
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.
@@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 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.
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.
@@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?
@@ambientsoda106 it is tricky, if the temperature is significantly below and above the ambient room temperature some adjustments of the data might be required.
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💜
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
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.
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.
@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
@@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.
@@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
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
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 😂
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.
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.
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...
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.
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 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.
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
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.
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.
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.
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.
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,?
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
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
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 😊
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.
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.
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
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.
@@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
@@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.
@@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?
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.
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.
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.
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.
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.
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 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.
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.
@@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.
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.
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
Glad you like the video! The main components on the board is ESP8266 ESP-12E WIFI module from Ai-Thinker.
Great content! You're very diligent in the comment section as well!
I appreciate that! Thanks for the positive feedback.
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?
MQ-135 should be turned on. Otherwise it want warm up.
@@LeonAnavi Thank you!
is there any sensor that can give me a concentration value? please recommend me one
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.
Thanks we used this video for a project of ours
Nice! I am happy to hear the video was useful for your project :) Thank you for the feedback.
Thanks for share this amazing proyects! greetings from argentina
You are welcome! Greetings from Plovdiv, Bulgaria :)
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??
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%).
@@LeonAnavi thankyou brother 🙂
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?
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.
@@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
@@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.
@@LeonAnavi the option is both side of a resistor connected to A0 and gnd pins
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
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
Whether the code can be customized to communicate with Home Assistant / ESPHome or SMART HOUSE programs?
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
Hey leon great explanation.Can you send the link of led screen or tell the name.
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
Leon, any sensor for water instead of air? Thanks.
Interesting topic. What would you like to measure in water?
Is there any sensor available ,which can be used for detecting ammonia concentration in water
MQ-137 is an ammonia gas sensor for air and there are pH probe sensors for water.
@@LeonAnavi thank you sir ,howc an we ph probes to find the ammonia can you please share some reference vedio
@@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.
@@LeonAnavi Thank you sir 🙂
could it this sensor available detect h2s/so2 gas ?, please let me know how it work, thanks
MQ-135 is suitable for detecting of NH3, NOx, alcohol, Benzene, smoke, CO2. You will need a different sensor for other gases.
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.
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.
@@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.
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.
❤ I will! Thank you!
So the pre-heating is a one time thing?? Thank you.
Yes, the so called "burn-in" procedure should be done initially and only once.
Do mq135 detect SO2, and what is the name of this screen that displays the concentration?
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.
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;)
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.
How can I detect individually nictric oxide, benzene, smoke, and co2 in there? I want to sense that separately, ideas?
Good questions: you will need different sensors capable of measuring concentration. For CO2 have a look at MH-Z19, CCS811, SCD30.
@@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?
@@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.
@@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?
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.
Hi! Thanks for sharing the video. Wonder if other sensors e.g. C2H4 sensor (ethylene) can be used with this PCB?
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.
@@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?
Thanks for the nice demonstration, and is there any sensor which can detect SO2 gas, if please let me know
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.
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.
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.
@@LeonAnavi Thanks man!
very well explained. thank you
Glad it was helpful! Thanks for the feedback!
helloooo is it also capable of detecting alcohol coming from disinfectants (ethyl)?
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.
Can I ask if I can use this to measure car exhaust?? Would it be too hot for sensor?
Thank you thankyou in Advance
Particularly, for car exhaust probably MQ-7 gas sensor is more suitable because it has higher sensitivity to carbon monoxide (CO).
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
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
@@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
@@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/
Can I measure room air quality through this sensor ?
Yes, absolutely, MQ-135 is for monitoring indoor air quality.
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.
Please for this use case have a look at MQ-4 methane gas sensor.
Thanks this was very helpful im using an MQ-135 for a wearable air quality sensor
Nice 👍 I'm glad you enjoyed the video!
Hello sir. About the diagram, can you share it with me?
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
Can i find the concentration of oxygen alone inside the room using this sensor ?
No, it is suitable for detecting specific dangerous gases but not measuring exact concentration.
@@LeonAnavi so if I need to measure only the concentration of oxygen inside various ventilated rooms what sensors can I use ?? Please reply
Can I use AO-03 for measuring the concentration of oxygen inside the room using Arduino nano ??? Please reply
I recommend you to have a look at Grove - Oxygen Sensor Pro(GGC2330-O2)
@@LeonAnavi it's currently unavailable could u suggest me any other oxygen sensor
Does MQ-135 can detect body odor, bad breath, and poop? If yes, please explain thank you in advance.
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.
@@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?
@@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.
hello, is this viable to be used for outdoor purposes such as in streets? thank you!
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.
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?
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
My Mq135 is constantly showing a high value and doesn't decrease below 200. What's wrong?
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?
@@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
@@rutvikjere6392 Cool! well done for debugging and fixing the formula in your source code.
Is there any way to make mq135 gas sensor to only sense the ammonia(NH3) level?
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.
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 ?
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.
What kind of digital filter do you recommend for the sensor output? Thanks
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.
Is there any sensor for detecting ozone gas
yes, for detecting ozone have a look at MQ-131 sensor.
@@LeonAnavi thank you 🙏
What sensor can I use to calculate air quality index in the range 0 - 500
What unit do you have in mind for this range 0 - 500?
@@LeonAnavi Air quality index is the unit for measuring the air quality. It can have values from 0-500
@@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.
@@LeonAnavi Okay thanks, any smaller size alternative?
@@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.
Which one detect toxic gas from burned garbage?
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.
Awesome work! I wonder does this detect cigar smoke?
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.
hi what display is that?
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.
@@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?
@@ambientsoda106 it is tricky, if the temperature is significantly below and above the ambient room temperature some adjustments of the data might be required.
great demo! thank you. please mention what the traditional drink of bulgaria is. i missed it.:)
Thank you. The traditional alcohol drink in Bulgaria is rakia :) Here are some details: en.m.wikipedia.org/wiki/Rakia
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💜
Also can I do a model using aurdino instead of the board u used??
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
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.
Is this compatible with ATmega 32?
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.
yes, the Arduino sketch is available here: github.com/anavitechnology/anavi-gas-detector-sw
@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
@@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.
@@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
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
how many time requires to warm up?
The "burn-in" on first boot requires at least 24h. After that several minutes after boot (depending on the environment temperature and humidity).
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 😂
Thank you the feedback! It is great that you find the video useful :)
which ports is the display connected?
There is a dedicated I2C slot on the board for the mini OLED SSD1306 display.
@@LeonAnavithanks
Great content sir! But a small doubt, how to preheat the sensor? Just leave it in room temperature for 24 hrs?
Even after 24 hours the resistance values are changing continuously
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.
@@LeonAnavi thank you so much!
what is the maximum distance (in meters) sensitivity of the mq-135 sensor?
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.
Hello. Great demonstrations.
I wanted to know if I can measure concentrations of two or more gases (say NO2 and CO) simultaneously?
Thank you
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.
then which sensor will give excat gas detection
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...
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.
so it seems like you cant differentiate between the types of gasses and just get one output for all the different kinds
Yes, it is just a low-cost sensor that works as a detector.
What is the difference between MQ-135 and PMS5003 ? They do the same function ?
I am a layman !
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.
@@LeonAnavi Thanks. MQ-135 does the same ???
@@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.
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
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.
Please create a video on mq3 and raspberry pi 3b+ to detect fruit ripeness detection
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.
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?
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.
На платката пишеше Made in Bulgaria, Plovdiv. Може ли контакт?
NVM, found it here www.anavi.org/about/
Да, платките са "майна" по произход :) Тук са контактите и повече информация: anavi.technology/
hi sir did coding mq137 and mq135 both arecsame?
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.
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,?
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
does humidity affect it?
Yes, MQ-135 depends on temperature and humidity. The datasheet contains a figure with sensitivity characteristics of MQ-135.
Can it measure Different types of Gases at a time
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.
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.
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
can you provide the complete code as well?
Sure, it is available at GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw
hello sir it was awesome project and i love it ! may i know how to get the coding ?
The source code is available at GitHub as an Arduino sketch: github.com/anavitechnology/anavi-gas-detector-sw
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 😊
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.
very good tutorial, thank you
hey, thank you very much for the feedback! Glad you enjoyed it.
Can it detect nerve gas?
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.
if you are close to svilengran I will give you some tsipouro that is produced in North Greece
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 :)
please provide the data sheet as well
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
Can i use mq135 for outdoor surface
No, MQ-135 is used in air quality control equipment for buildings and offices. It is not suitable for outdoor use.
Which one is good for outdoor.
@@srijsri6738 most commonly particulate matter (PM) sensors are used for outdoor.
@@LeonAnavi thank you for ur response
do you have the script for this project ?
yes, it is all open source and available at GitHub: github.com/AnaviTechnology/anavi-gas-detector-sw
@@LeonAnavi aww hello. thanks a lot
@@akbaradiprabowo6385 you are welcome :)
how do you heat it up?
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.
@@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
@@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.
@@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?
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.
Heythere,that was some good stuffs.
Can u please provide me the library file of MQ-135 for proteus 8.8.
I am glad you find the video useful. I don't use Proteus and I cannot help with it.
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.
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.
thanks for video
Why didnt you test CARBON DIOXIDE?
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.
Great thanks
You are welcome :) Thanks for the feedback!
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?
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.
Nice Description
Thanks! Glad you like it.
i am greek i got really exited with tsipouro man XD
Cheers from Bulgaria! :) :) :) Thanks for watching my video.
How to calibrate??
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.
@@LeonAnavi how can i burn it?
@@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.
Ok ty
Only on first boot?
great
Thank you.
You're welcome :)
Disclaimer, those sensors have toxic metals in them
Thanks for watching the video and for adding this information.
Пускай видеото с ракията
Хехе :) В такива тежки времена бива ли ракия да се хаби за видео клипчета? ;) :) :)
Carbon dioxide is not a dangerous gas. Do not confuse it with carbon monooxide. Do not fall to trap of laymen and Gretas.
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.
@@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.
Can I use mq135 sensor to detect fire?
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.