Authorized Online Retailers:

Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

Authorized Online Retailers:

AMAZON
AMAZON-jp
amzuk

1 Overview

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 .

2 Hardware connection

Quantity
OSOYOO Basic board 1
Ethernet Shield W5100 1
USB Cable 1
Water detector sensor module 1
Jumper wires several
Breadboard 1

3 Hardware connection

Connect the water sensor module with OSOYOO Basic board  as following diagram.

OSOYOO Basic board water sensor module
A0 S
GND
5V +

4)Software Installation:

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

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

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

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