Authorized Online Retailers:

AMAZON
AMAZON-jp
amzuk

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. The voltage that the sensor outputs change according to the smoke/gas level that exists in the atmosphere. The sensor outputs a voltage that is proportional to the concentration of smoke/gas. In other words, the relationship between voltage and gas concentration is as following:

  • The greater the gas concentration,the greater the output voltage
  • The lower the gas concentration,the lower the output voltage

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:

Please Note: If V1 pin was used by other widgets, you can select other pins. and change the VIRTUAL PIN in
sketch to the pin number you have selected.

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