MQ-2-gas detector

szpuszi·MQ-2-gas-detector·hardware/gas_detector.kicad_pcb

MQ-2-gas detector PCB layout, top view — open source AVR/Arduino board by szpuszi

About the MQ-2-gas detector PCB

MQ-2-gas detector is an open source AVR/Arduino PCB design by szpuszi, published on GitHub under the MIT license. It is a 2-layer board measuring 65.8 × 68 mm, with 15 components from 9 distinct parts.

Its main chip is the ATMEGA328P-P, from the AVR/Arduino family. By type, the board carries 6 capacitors, 4 resistors, 2 connectors and 1 IC.

From the project

just a gas detector lol

I made this because I wanted to practice making PCBs and create a practical safety device. I use it by letting it sit and monitor gas levels in my room to ensure I'm in a safe environment.

MQ-2-gas detector, from the project README
From the project README

Main components on the MQ-2-gas detector

MQ-2-gas detector bill of materials (BOM)

15 components, 9 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
ATMEGA328P-P
ATmega328P-P
U1
1
ISP
J1
1
CONN_01X08
Conn_01x08
J2
1
16MHz
HC-49
1
MQ-2
MQ-2
4
100NF
100nF
C1, C2, C5, C6
2
22PF
22pF
C3, C4
3
220R
R1, R2, R3
1
10K
R4

MQ-2-gas detector design files

The KiCad project lives in the szpuszi/MQ-2-gas-detector repository on GitHub; these links point at the commit this page was built from.

MQ-2-gas detector: common questions

What microcontroller does the MQ-2-gas detector use?

The MQ-2-gas detector is built around the ATMEGA328P-P, from the AVR/Arduino family.

How big is the MQ-2-gas detector PCB?

The MQ-2-gas detector measures 65.8 × 68 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the MQ-2-gas detector?

15 components, from 9 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the MQ-2-gas detector design files?

From the szpuszi/MQ-2-gas-detector repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the MQ-2-gas detector design in my own project?

Yes, under the terms of its MIT license, which szpuszi chose for the repository.

Can I test firmware for the MQ-2-gas detector without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.

Similar boards