Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | Buy from JP |
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
First, please insert the ESP8266 wifi Shield into your UNO board,
UNO Board | Gas detector sensor |
A0 | AO |
GND | GND |
5V | VCC |
Software Installation:
Step A)Install latest Arduino IDE (If you have Arduino IDE version after 1.1.16, please skip this step).Download Arduino IDE from https://www.arduino.cc/en/Main/Software?setlang=en, then install the software.
Step B) Connect the Arduino UNO board to computer via USB cable,
Step C) Open the Arduino IDE and choose corresponding board type and port type for you project.
Step D)Download the sketch file fromhttps://osoyoo.com/driver/Esp8266_Arduino_IOT/lesson8/esp8266-lesson8.zip
unzip the file and double click the esp8266-lesson8.ino file, find following lines:
char ssid[] = "******"; // your network SSID (name) char pass[] = "******"; // your network password
please replace the ****** with your correct wifi SSID and password, otherwise your project can not connect to Internet.
Step E) After change above lines, 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, 192.168.50.116 is the IP address of my Arduino. Now use another computer or your cell phone’s browser to visit url : http://192.168.50.116
DownLoad Url osoyoo.com