Skip to content
All projects
IoTApr 2023

IoT Smoke Detector & Alert System

A connected smoke detector that sends an SMS, an email and a dashboard alert the moment it senses smoke, built from cheap hardware and cloud services.

IoT Smoke Detector & Alert System
Year
Apr 2023
Timeline
3 months
Type
IoT
Status
Completed

<5s

From smoke detected to SMS, email and dashboard alert, wherever you are.

01

Overview

A regular smoke alarm is useless if you're not home to hear it. This project closes that gap: an MQ-2 sensor on an Arduino watches the air, an ESP8266 streams readings to the cloud, and when smoke crosses a threshold it sends SMS and email alerts and updates a live web dashboard. It is a small end-to-end IoT system, from sensor to phone.

02

The hard parts

  1. 01

    Getting reliable, timely communication from a tiny sensor up to a backend server.

  2. 02

    Staying sensitive to real smoke while avoiding false alarms that train people to ignore it.

  3. 03

    Delivering alerts across several channels (SMS, email and web) at once.

  4. 04

    Building a dashboard simple enough to glance at and trust.

03

The approach

An MQ-2 sensor feeds an Arduino, and an ESP8266 relays readings wirelessly to a Node/Express backend that evaluates them against a threshold. When smoke is detected it triggers instant alerts through the Twilio API and Firebase Cloud Messaging, while a React dashboard shows live status and alert history for later review.

04

Outcome

The system turns a passive alarm into an active one: detection within seconds, alerts pushed to your phone wherever you are, and a history you can look back on. It shows that useful safety tech can be built from cheap parts connected to the cloud.

05

What I'd do differently

A single threshold is brittle, and it false-alarms on shower steam and cooking. I would add a second signal (temperature or CO) and a rolling average or small on-device model to confirm a real event before alerting, plus a local battery-backed buzzer so safety doesn't depend on Wi-Fi.

06

Stack

frontend
React
backend
Node.jsExpress
database
Firebase
other
ArduinoESP8266Twilio API

Like what you see?

Let's build the next one.

Hiring, or have a problem that needs this kind of engineering? I read every message myself.