Gas, Smoke, Temperature and Humidity With Cayenne

by Ida Susanti in Circuits > Microcontrollers

6170 Views, 79 Favorites, 0 Comments

Gas, Smoke, Temperature and Humidity With Cayenne

IMG_1110.JPG
image1.PNG

In this project I will create how to monitor temperature, humidity, and give alert if gas or smoke concentrate above normal.

It's very useful to prevent fire or get poisoned if gas leaking in our room.

Using cayenne app for easier setup.

Hardware and Software

arduino_mega_r3_002_hd.jpg
large_291_W5100Shield-1-1024.jpg
img_2006.png
04_46.jpg

In this step we need hardware and software below :

Arduino Mega 2560

Ethernet shield W5100

DHT22 Module

MQ2 sensor

Arduino IDE and cayenne

Circuit Diagram

MQ CIRCUIT.JPG

The picture tell us how to make connection on the circuit

Upload Sketch

You need to change the value of cayenne token to yours and upload the code.

Setup Cayenne Dashboard

DHT 22 TEMP SET.JPG
DHT 22 HUM SET.JPG
image2.PNG

The next is, set up your cayenne dashboard like on the pictures attached and add widget for MQ2 gas sensor to virtual pin 2.

set the triger for MQ2 gas sensor, if the value above 500 then give you an alert to your mobile phone.

You're almost done and can monitoring temperature, humidit, and also get alert if gas leaking