Instructables

DIY Temperature & Humidity & Smoke Detector Alarm System Based on Arduino

Featured
Picture of DIY Temperature & Humidity & Smoke Detector Alarm System Based on Arduino

ICStation team introduce you how to DIY this temperature & humidity & smoke alarm system based on ICStation Mega 2560 compatible with Arduino.The working voltage of this system is DC5V.It can measure the current temperature, humidity and smoke. It can display real-time data by the 1602 LCD and can realize the sound and light alarm when in the dangerous temperature and humidity. It is a simply and easily to operate monitoring alarm system about temperature humidity and smoke.

Functions

1.When connect to the power supply, after the initialization of hardware, the1602 LCDwill display the current temperature,humidity and smoke volume

2.When we press the NO.1 key, the1602 LCD will turn the page and enter the dangerous temperature setting page.At this time, press NO.2 key once, the dangerous temperature will add one. If the actual temperature is higher than the setting value, the gree LED will light, at the same time the buzzer will alarm. When the actual temperature is lower than the dangerous temperature, the LED will go out and the buzzer will stop alarm.

3.When the 1602LCD display stays on the second page , we press the NO.1 key, you will see the 1602LCD will turn page to the third page and enter the dangerous humidity setting page.At this time, press the NO.3 key, the dangerous humidity will add one.If the actual humidity is higher than the setting value, the red LED will light,at the same time the buzzer alarms. When the actual humidity is lower than the dangerous humidity, the LED will go out and buzzer stop alarming.

 
Remove these adsRemove these ads by Signing Up

Step 2: Schematic Diagram

Picture of Schematic Diagram

Step 3: Hardware Wiring Program

Picture of Hardware Wiring Program

Step 4: Introduce in power supply wire and GND wire

Picture of Introduce in power supply wire and GND wire

From ICStation Mega development board, introduce the 5V power supply and GND to the bread board. The red one as power supply wire and black one as the GND wire.

Step 5: Put in MQ-2 Gas Sensor Module

Picture of Put in MQ-2 Gas Sensor Module

Connect MQ-2 Gas Sensor Module to the ICStation Mega development board,power supply and GND.

Step 6: Put in 1602 LCD

Picture of Put in 1602 LCD

Plug in the LCD 1602 and potentiometer to the bread board and connect it to the power supply and GND

Step 7: Put in DHT11 temperature and temperature sensor

Picture of  Put in DHT11 temperature and temperature sensor

Plug in the DHT11 humidity and temperature sensor module to the bread board and connect to the ICStation Mega development board, power supply and GND

Step 8: Put in active buzzer module

Picture of Put in active buzzer module

Plug in the active buzzer module to the bread board and connect it to the ICStation Mega development board and power supply and GND

Step 9: Put in switches and resistor

Picture of Put in switches and resistor

Plug in the switch, resistor to the bread board and connect it to the ICStation Mega development board and GND

Step 10: Put in LED light emitting diode

Picture of Put in LED light emitting diode

Plug in the LED light emitting diode to the bread board and connect it to the ICStation Mega development board ,power supply and GND

Step 11: Provide Code and experimental effect

Code for your reference:

http://www.icstation.com/newsletter/eMarketing/alarm system code.txt

The experimental effect:

First, connect to the power supply,the LCD will display the first page of current temperature ,humidity and smoke volume.When we press the NO.1 key, the LCD will turn the page and enter the dangerous temperature setting page.At this time, press NO.2 key once, the dangerous temperature will add one.When we at the dangerous temperature setting page, we press the NO.1 key again, you will see the LCD will turn to the first page,at this time use your hand to touch DHT11 humidity and temperature sensor module,you can observe that the temperature and humidity increase gradually( Because the humidity and temperature of hand is higher than the air. When the temperature is higher than the temperature we set, the green LED will light and the buzzer will alarm. When the humidity is larger than the dangerous humidity we set, the red LED will light and the buzzer will alarm.

Step 12: Video to show the effect

Please follow ICStaon Instructables to see more wonderful projects related Arduino!

inezandmoere2 months ago

the lcd is lighting up but its not displaying anything. help

inezandmoere2 months ago

the lcd is lighting up but its not displaying anything. help

jrenos2 months ago

I like it but can i make it only smoke detector only? How? Please I need it.

skyimaging6 months ago

ok so what if i wanted a controller that measures light,temp,humitiy and be able to control the environment i could care less for smoke detection... all new to this and whaling to expand my mind