Comments on: Guide for MQ-2 Gas/Smoke Sensor with Arduino https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 22 Jun 2024 19:13:16 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: jimswen https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-929210 Sat, 22 Jun 2024 19:13:16 +0000 http://randomnerdtutorials.com/?p=20126#comment-929210 In reply to mKwene.

I don’t really know what “bottle” you have, or whether the gas inside it is a liquid. But I am interested in your project. My situation would be an outdoor barbeque, with a rather fat, almost spherical, propane tank. One can’t ever put anything inside that tank, so the “noninvasive” idea is very absolute. Recommended proceedure is to pour hot water down one side of tank, and measure resulting temperatures over time after the pour. The liquid does strong cooling, especially at its top surface. You want to never get the tank wall hot enough to ignite a propane-air mixture inside or thermally-stress the tank. So, always less than 100c. Using lots of electric power is inconvenient and dangerous, so invent reductions of resistor-heating time, test rate, and area. Make your “thermal-capacity/thermal-resistance” test sensitive to the minimum temp.-rise that clearly tells presence/absence of liquid content, covering only one spot on the shell, low on the tank, with thermal insulation over and around the heater-spot. With luck the sensor could be one 5-cm foam-rubber patch glued to the shell. A small separate electronic board with indicator LED, “test now” button, and power supply (battery?). You decide where you want that board to live. 2-4
thin wires between sensor & board. That is what I would like to imagine.

]]>
By: jimswen https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-929200 Sat, 22 Jun 2024 18:40:15 +0000 http://randomnerdtutorials.com/?p=20126#comment-929200 In reply to Jürgen.

Please read the whole thread above. Potentiometer influences only threshold of D0 pin. The A0 pin is analog out. A0 ignores the potentiometer setting; it gives a variable voltage output from the sensor. Yes you can read both simultaneously. It is probably smarter to do so. The digital pin is, in many senses, less powerful than the analog pin. D0 cannot give you the full-range data A0 gives you. So use A0 for sure. D0 is only a shortcut for simpler systems that don’t interpret A0.

]]>
By: mKwene https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-913474 Tue, 07 May 2024 16:14:27 +0000 http://randomnerdtutorials.com/?p=20126#comment-913474 Hello RUI, I am working on building gas liquid level detector which solves the problem of not knowing when the gas in a cylinder(cooking gas) is about to finish, any ideas will greatly assist, my initial idea is that it must be non invasive, something that contains a magnet that can be put on the body or beneath the bottle.

]]>
By: Jürgen https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-878323 Sun, 17 Dec 2023 10:47:35 +0000 http://randomnerdtutorials.com/?p=20126#comment-878323 Can I set the threshold value via potentiometer and read it out digitally at the same time? Can I do both via the digital pin?

]]>
By: Terry https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-859360 Fri, 08 Sep 2023 22:55:59 +0000 http://randomnerdtutorials.com/?p=20126#comment-859360 In reply to Damien.

We assume you fixed your error

]]>
By: Terry https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-859358 Fri, 08 Sep 2023 22:48:23 +0000 http://randomnerdtutorials.com/?p=20126#comment-859358 In reply to Marc.

I wondered about the power consumption from the arduino myself. These are quite power hungry. My device said to burn in as well.
These are not for battery operated systems.

]]>
By: basja https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-834996 Wed, 17 May 2023 00:39:46 +0000 http://randomnerdtutorials.com/?p=20126#comment-834996 please where did you do the simulation?

]]>
By: rezk mattar https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-784674 Tue, 20 Sep 2022 05:32:00 +0000 http://randomnerdtutorials.com/?p=20126#comment-784674 Which sensor is more sensitive to smoke of fire?
MQ-2 or MQ-7 or MQ-135 or ….????

]]>
By: rezk mattar https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-784485 Mon, 19 Sep 2022 12:11:30 +0000 http://randomnerdtutorials.com/?p=20126#comment-784485 Can I replace the buzzer with a 5vdc relay ?
This is to be able to connect a louder remote 220vac alarm & red LEDs.

]]>
By: TechnoElectronics44 https://randomnerdtutorials.com/guide-for-mq-2-gas-smoke-sensor-with-arduino/#comment-600395 Mon, 03 May 2021 16:39:46 +0000 http://randomnerdtutorials.com/?p=20126#comment-600395 In reply to Kussoy.

connect sensor data pin to analog pin of the controller, then corresponding to input gases analog readings will change

]]>