# Looking for MQ-2 Gas Sensor

**URL:** <https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231>\
**Category:** parts help\
**Created:** [April 22, 2025, 4:19pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231 "2025-04-22T16:19:16Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdjh](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sdjh](https://forum.fritzing.org/u/sdjh)\
**Post date:** [April 22, 2025, 4:19pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/1 "2025-04-22T16:19:16Z")

</div>

![265](https://forum.fritzing.org/uploads/default/original/3X/5/d/5d7209a4640aeedb7ae17da1e85b0c95fd290fff.jpeg)

This is the relevant picture. Thank you all!

---

<div class="post-metadata">

**Author:** ![sdjh](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sdjh](https://forum.fritzing.org/u/sdjh)\
**Post date:** [April 22, 2025, 4:19pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/2 "2025-04-22T16:19:41Z")

</div>

![264](https://forum.fritzing.org/uploads/default/original/3X/2/4/248dff7e02cb258faa06dda8eb29733d8e30ea2a.jpeg)

---

<div class="post-metadata">

**Author:** ![RAPTOR7762](https://forum.fritzing.org/user_avatar/forum.fritzing.org/raptor7762/32/22620_2.png) [@RAPTOR7762](https://forum.fritzing.org/u/RAPTOR7762)\
**Post date:** [April 22, 2025, 4:23pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/3 "2025-04-22T16:23:54Z")

</div>

> [@MQ-4 Sensor Part](https://forum.fritzing.org/t/mq-4-sensor-part/6035/9):
>
> This should do the job. The mounting holes and module size in pcb may be incorrect as it is from a random MQ type module which may not be the same as yours. If you want mounting holes in pcb you need to drag a hole over the circle in silkscreen (by default the mounting holes are only on silkscreen, they are not drilled.) The gas sensor in breadboard isn’t quite right, but I;m not a good enough graphic artist to correct it. [MQ-5.fzpz](https://forum.fritzing.org/uploads/short-url/uJSdfI49Eb6z6aRXrcuuo5msxPf.fzpz) (31.9 KB) Peter

---

<div class="post-metadata">

**Author:** ![RAPTOR7762](https://forum.fritzing.org/user_avatar/forum.fritzing.org/raptor7762/32/22620_2.png) [@RAPTOR7762](https://forum.fritzing.org/u/RAPTOR7762)\
**Post date:** [April 22, 2025, 4:25pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/4 "2025-04-22T16:25:15Z")

</div>

@sdjh your topic has been shifted to the #parts help category. All part requests topics go there. As well the title of the topic has been changed

---

<div class="post-metadata">

**Author:** ![sdjh](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sdjh](https://forum.fritzing.org/u/sdjh)\
**Post date:** [April 22, 2025, 4:30pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/5 "2025-04-22T16:30:33Z")

</div>

Hello, it’s the MQ-2 component.

---

<div class="post-metadata">

**Author:** ![RAPTOR7762](https://forum.fritzing.org/user_avatar/forum.fritzing.org/raptor7762/32/22620_2.png) [@RAPTOR7762](https://forum.fritzing.org/u/RAPTOR7762)\
**Post date:** [April 22, 2025, 4:34pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/6 "2025-04-22T16:34:18Z")

</div>

Check if the connectors are the same

Bye for now. It’s 12 midnight here. @vanepp can you help me reply him if he asks anything?

---

<div class="post-metadata">

**Author:** ![sdjh](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sdjh](https://forum.fritzing.org/u/sdjh)\
**Post date:** [April 22, 2025, 4:37pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/7 "2025-04-22T16:37:35Z")

</div>

Hello, it seems to be a similar connector. May I ask a small question? Can the name be changed to MQ - 2?

---

<div class="post-metadata">

**Author:** ![RAPTOR7762](https://forum.fritzing.org/user_avatar/forum.fritzing.org/raptor7762/32/22620_2.png) [@RAPTOR7762](https://forum.fritzing.org/u/RAPTOR7762)\
**Post date:** [April 22, 2025, 4:38pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/8 "2025-04-22T16:38:26Z")

</div>

Can is can.

You have to modify the SVG.

---

<div class="post-metadata">

**Author:** ![sdjh](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sdjh](https://forum.fritzing.org/u/sdjh)\
**Post date:** [April 22, 2025, 4:39pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/9 "2025-04-22T16:39:49Z")

</div>

How do I modify it? I don’t quite understand. I’m really sorry.

---

<div class="post-metadata">

**Author:** ![sdjh](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sdjh](https://forum.fritzing.org/u/sdjh)\
**Post date:** [April 22, 2025, 4:40pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/10 "2025-04-22T16:40:49Z")

</div>

If he still needs it, I will try my best to answer him.

---

<div class="post-metadata">

**Author:** ![RAPTOR7762](https://forum.fritzing.org/user_avatar/forum.fritzing.org/raptor7762/32/22620_2.png) [@RAPTOR7762](https://forum.fritzing.org/u/RAPTOR7762)\
**Post date:** [April 22, 2025, 4:46pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/11 "2025-04-22T16:46:21Z")

</div>

@sdjh here: [MQ-2 breakout.fzpz](https://forum.fritzing.org/uploads/short-url/70wems8A73gqZ9jufsFJ3JXZBTP.fzpz) (48.1 KB)

Open the SVG with a text editor and change this section

```auto
    <text
      font-size="60"
      y="162.64647"
      x="355.77576"
      id="label"
      font-family="'Droid Sans'"
      text-anchor="middle"
      fill="#000000">MQ-5</text>

```

to

```auto
    <text
      font-size="60"
      y="162.64647"
      x="355.77576"
      id="label"
      font-family="'Droid Sans'"
      text-anchor="middle"
      fill="#000000">MQ-2</text>

```

Save the file.

Then right-click the part → edit

 ![image](https://forum.fritzing.org/uploads/default/original/3X/d/6/d6a89ca7709a44d151436ec3d69ce04923c33f25.png)

load image for view

 ![image](https://forum.fritzing.org/uploads/default/original/3X/e/d/edd06be05b1509fa668e7d7514265355dc3e11ef.png)

 ![image](https://forum.fritzing.org/uploads/default/original/3X/4/3/43afc4e81380ff6a2c9d5cfbed7b0676340e59a5.png)

then go to metadata and change from

 ![image](https://forum.fritzing.org/uploads/default/original/3X/e/0/e001a260401c943ae9949772f70f0a2180b33b08.png)

to

 ![image](https://forum.fritzing.org/uploads/default/original/3X/2/4/24c8bd8c695eb84942d990958a7d8b6ae2a7293e.png)

file → save as new part

---

<div class="post-metadata">

**Author:** ![sdjh](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/s/71e660/32.png) [@sdjh](https://forum.fritzing.org/u/sdjh)\
**Post date:** [April 23, 2025, 1:20pm UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/12 "2025-04-23T13:20:24Z")

</div>

I’m really grateful to you for helping me finish the revision! Thank you so much!

---

<div class="post-metadata">

**Author:** ![Ashreyna](https://forum.fritzing.org/user_avatar/forum.fritzing.org/ashreyna/32/27818_2.png) [@Ashreyna](https://forum.fritzing.org/u/Ashreyna)\
**Post date:** [May 17, 2026, 8:06am UTC](https://forum.fritzing.org/t/looking-for-mq-2-gas-sensor/28231/13 "2026-05-17T08:06:09Z")

</div>

Do you have the libraries for MQ-6 MQ-2 and MQ-135.  
I am using these sensors for a project, I have found the MQ- 4 and MQ-7 libraries but I can’t find these sensors libraries(MQ-2, Mq-6 and Mq-135). If anyone is looking for the libraries for MQ-4 and MQ-7, just reply to this message and I will send it to you.  
Thank you
