Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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 APP
First, please insert the ESP8266 wifi Shield into your mainboard,
OSOYOO Basic Board | Gas detector sensor |
A0 | AO |
GND | GND |
5V | VCC |
Software Installation:
Step A) Install latest IDE from https://www.arduino.cc/en/Main/Software?setlang=en. If you have IDE version after 1.1.16, please skip this step).
Step B) Connect the OSOYOO Basic board to computer via USB cable,
Step C) Open the IDE and choose corresponding board type and port type for you project.
Step D)Download the sketch file fromhttps://osoyoo.com/driver/wifi-iot/lesson8/wifi-lesson8.zip
unzip the file and double click the wifi-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 IDE.
STEP A)Open your Serial Monitor, you can see your router will assign an IP address to your IDE as following:![]()
Step B) Open your OSOYOO IOT UDP Robot APP , If you haven’t installed this APP, please read APP installation section in Lesson 2
Now press any Key of your APP, your screen will display something like following picture:
DownLoad Url osoyoo.com