Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Water level data detection is very commonly used in agriculture and manufacturing industry. In this lesson, we’ll learn how to read the water sensor to web browser .
First, please insert the ESP8266 wifi Shield into your mainboard,
OSOYOO Basic Board | water sensor module |
A0 | S |
GND | – |
5V | + |
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 UNO 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 from :
https://osoyoo.com/driver/wifi-iot/lesson7/wifi-lesson7.zip
Unzip the file and double click the wifi-lesson7.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.
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
Step C)Make sure your Cell phone is in the same Local Network of Arduino. Open the APP, click Settings, enter your Arduino IP address from Step F and Port to 8888 in settings:
Now press any Key of your APP, your screen will display something like following picture:
DownLoad Url osoyoo.com