Projects / Ideas / ESP32 gas sniffer page

ESP32 gas sniffer page

IntermediateSafetyIdeaReviewed
In short

How do you build an ESP32 gas sniffer page?

An ESP32 reads an MQ-2 gas module and serves a rough level and a trend graph on a local page. Indicative only, not a gas or smoke alarm: install proper certified alarms for safety, and warm the sensor before reading. You need ESP32 DevKit V1, MQ-2 gas and smoke sensor module, Resistor 1 kΩ, Resistor 4.7 kΩ and Breadboard 830 Tie Points.

Level
Intermediate
Time
About 150 min
Parts
5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Watch a rough gas level from a phone.

How to build it

  1. Divide the 5 V analog output for the ESP32 ADC
  2. Warm the sensor
  3. Record the clean air level
  4. Serve a page with the level
  5. Draw a short trend line

Related projects

Common questions

What parts do I need for the ESP32 gas sniffer page?

ESP32 DevKit V1, MQ-2 gas and smoke sensor module, Resistor 1 kΩ, Resistor 4.7 kΩ and Breadboard 830 Tie Points.

How long does the ESP32 gas sniffer page take to build?

About 150 minutes for a intermediate maker.