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
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
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
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
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