Electronics Projects
Fire & Gas Alarm
Sound an alarm when a flame or gas/smoke is detected.

Overview
A flame sensor and MQ-2 watch for danger; when either trips, a buzzer sounds and a red LED lights.
Build Steps
Wire the sensors
Flame sensor digital output and MQ-2 analog output to the board.
Warm up the gas sensor
Let the MQ-2 heat a few minutes and log normal readings to choose a threshold.
Wire the alarm
Buzzer and a red LED with a 220 Ω resistor.
Write the logic
Flame or gas over threshold sounds the buzzer and lights the LED.
Related Projects
Automatic Plant Watering System
Water plants only when the soil is dry, using a moisture sensor, relay and small pump.
View project →Ultrasonic Distance Meter
Measure distance with an HC-SR04 and show it on a 16×2 LCD.
View project →Motion-Activated Night Light
Switch a light on automatically when a PIR sensor detects movement.
View project →