Smoke Detectors are very useful in detecting smoke or fire in buildings, and so are the important safety parameters. It sensible to to flammable gas: Alcohol, and Methane etc. In this DIY Lesson, we’ll learn how to monitor the smoke detector remotely.
2 Hardware Preparation
|UNO R3 board||1|
|Ethernet Shield W5100||1|
|Gas sensor module||1|
3 Hardware connection
Connect the Gas detector sensor with UNO as following diagram:
|UNO Board||Gas detector sensor|
4 Add new Device
Log in Cayenne IOT platform, Add new…->Device/Widget
Click Analog Input, setting the datasheet as followed:
In your dashboard, click “Step 1:Sketch File”, the sample sketch will be displayed, in this example,we creat a new sketch, please download from:http://osoyoo.com/driver/smoke_sensor.txt
Copy and paste the sketch into Arduino IDE ,please remember to use your own authentication token. Upload to your Uno board, then click “Setp 2 :Add Sensor”, you will find the smoke sensors was added on your dashboad:
Once the smoke sensor detected any smoke the value will change.