Idea
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.
Parts list
- Development Boards
- Sensors
- Passives
- Passives
- Prototyping
How to build it
- Divide the 5 V analog output for the ESP32 ADC
- Warm the sensor
- Record the clean air level
- Serve a page with the level
- Draw a short trend line
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.
