Back to all projects
Ages
9–12
Length
3 sessions
Level
Intermediate

Gas leak alarm

Sounds a buzzer and flashes a light when the sensor detects gas, and sends an alert to a phone.

What it does

An MQ-2 sensor measures flammable gas and smoke in the air. Kids choose the alarm level themselves. When the reading goes past it, the ESP32 turns on a buzzer and a red light and sends a notification. The teacher tests it with a tiny, controlled gas sample.

This is a learning project, not a certified safety device. Homes should still have a certified gas detector.

Parts we use

  • ESP32 development board
  • MQ-2 gas sensor
  • Active buzzer
  • Red and green LEDs
  • Resistors

What kids learn

  • Reading analog values and calibrating a sensor
  • Choosing an alarm level, and why false alarms happen
  • Sending a notification from a device to a phone
Ask about this project

Build it at home

These kits include every part for this project.

  • Sensor Lab Kit

    Everything in the Starter Kit plus six sensors and actuators, enough to build five of our ESP32 projects.

    ¥7,980tax incl.