1
\$\begingroup\$

I am using a MQ6 gas sensor and ESP32 dev board. The intent of this circuit is to have gas sensor sense the gas leakage and inform ESP32 to take further action.

Following is how, I am connecting the MQ6 with ESP32 dev board-

MQ6 VCC --> ESP32 VIN MQ6 GND --> ESP32 GND MQ6 A0 ---> ESP32 GPIO34

When I am reading the values at Gas sensor, the values are 1200+, and there is no gas leakage or any such gases around. I am using it for the first time, I do not know if I need to pre-heat the MQ6 and how and for what time?

Attached are the pics of the ESP32 dev board, and MQ6 used. enter

[![MQ6 and ESP32 pics][1]][1]

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

For use with an ESP32, you "must" attach an attenuator ...
because the ADC input can't accept some voltage "more" than 1 V .. 2.45 V (Unless provided on board).

Heating is necessary along the use of MQ6.

MQ6 datasheet

Output voltage between 2.5 and 4 V ...
Preheat time : over 48 h ...

\$\endgroup\$
2
  • \$\begingroup\$ Hi @Antonio51, How to preheat and that too for 48h? \$\endgroup\$ Commented Jul 7 at 6:42
  • \$\begingroup\$ Just power it with 5 V. See §2.3. Readings are allowed after 48h. You need perhaps also a "calibration" in free air and in a known environment "pollued". \$\endgroup\$ Commented Jul 7 at 8:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.