1 Overview

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

Quantity
UNO R3 board 1
Ethernet Shield W5100 1
USB cable 1
Gas sensor module 1
Jumper wires several
Breadboard 1

3 Hardware connection

Connect the Gas detector sensor with UNO as following diagram:

UNO Board Gas detector sensor
A0 AO
GND GND
5V VCC

4 Add new Device

Log in Cayenne IOT platform, Add new…->Device/Widget

Choose: Sensors->”Generic”

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.

Leave a Reply

WordPress spam blocked by CleanTalk.
Bombax Theme designed by itx