2 open source boards using the MQ-2
Real designs built with the MQ-2, from public GitHub projects: a quick way to see how others power, decouple and connect it. Each board comes with its KiCad files, full parts list and a render — and you can simulate its firmware on HardLabs.
ESP32
Smart light socket for fire prevention
JhanqueliX
68.1 × 75 mm113 parts4LNo license1ESP8266
WeatherStation
aleksul
87.9 × 71.4 mm163 parts2LMIT0
The MQ-2 in open source designs
The gallery holds 2 open source boards using the MQ-2 from 2 GitHub repositories; a typical one measures about 78 × 73.2 mm and carries around 138 components.
50% are two-layer designs, the rest use four layers or more, and 50% carry an open source license.
The most starred is Smart light socket for fire prevention by JhanqueliX.
MQ-2: common questions
Where can I find a MQ-2 reference design?
Each of the 2 boards on this page is a real design using the MQ-2. Open one to see how it is wired up, with the full BOM, a render of the layout and links to its KiCad files.
Which microcontrollers do boards using the MQ-2 use?
Most are built on ESP32 (1) and ESP8266 (1).
How big is a typical board using the MQ-2?
The median is 78 × 73.2 mm, and 50% are two-layer designs.
What is the most popular open source board using the MQ-2?
By GitHub stars, Smart light socket for fire prevention by JhanqueliX, with 1 stars.
Can I simulate one of these boards using the MQ-2 before building it?
Yes. HardLabs turns a board's netlist and BOM into a working simulation, so you can boot and test firmware against it with no hardware on your desk.