Introduction: 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.
Step 1: Hardware and Software
In this step we need hardware and software below :
Arduino Mega 2560
Ethernet shield W5100
Arduino IDE and cayenne
Step 2: Circuit Diagram
The picture tell us how to make connection on the circuit
Step 3: Upload Sketch
You need to change the value of cayenne token to yours and upload the code.
Step 4: 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