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 is sensible 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
OSOYOO Basic Board | Gas detector sensor |
A0 | AO |
GND | GND |
5V | VCC |
Software Installation:
Step A) Install the latest IDE from https://www.arduino.cc/en/Main/Software?setlang=en. If you have an IDE version after 1.1.16, please skip this step.
Step B) Connect the OSOYOO Basic board to the computer via a USB cable.
Step C) Open the IDE and choose the corresponding board type and port type for your project.
Step D) Download the sketch file from https://osoyoo.com/driver/wifi-iot/lesson8/wifi-lesson8.zip,
char ssid[] = "******"; // your network SSID (name) char pass[] = "******"; // your network password
Please replace the ****** with your correct wifi SSID and password; otherwise, your project cannot connect to the Internet.
Step E) After changing the above lines, load the sketch into the IDE.
STEP A) Open your Serial Monitor. You can see that your router will assign an IP address to your IDE as follows:
Step B) Open your OSOYOO IOT UDP Robot app. If you haven’t installed this app, please read the APP installation section in Lesson 2.
Now, press any key on your app, and your screen will display something like the following picture.
DownLoad Url osoyoo.com