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:

In this DIY Lesson, we’ll learn how to monitor the smoke detector from remote browser

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) Software Installation:

Download the sketch file from https://osoyoo.com/driver/ethernet_iot/lesson9/w5100-lesson9.zip

unzip the file and double click the w5100-lesson9.ino file, load the sketch into Arduino IDE.

Open your Serial Monitor, you can see your router will assign an IP address to your Arduino   as following:

In above example, 10.0.0.45 is the IP address of my Arduino.
Now use another computer or your cell phone’s  browser to visit url : http://10.0.0.45
Your browser will show following result: