Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
In Lesson 3, we learned how to read remote Photoresistor sensor data to your browser. As farmer or agriculture scientist, in addition to get the brightness data of your greenhouse, you also need to know the temperature/humidity of your plant field.
In this lesson, we will use a DHT 11 sensor to read remote environment temperature and humidity data through OSOYOO IoT APP.
OSOYOO Basic board x 1
OSOYOO ESP8266 WIFI Shield x 1
DHT11 sensor Module x 1
USB cable x 1
Jumper wires several
First, please insert the ESP8266 wifi Shield into your OSOYOO Basic board,
OSOYOO Basic Board | DHT11 sensor module |
D2 | S |
GND | – |
5V | + |
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 E) Download sample code from https://osoyoo.com/driver/wifi-iot/lesson4/wifi-lesson4.zip, unzip the file and double click the wifi-lesson4.ino file.
Step F) IDE: Click file -> click Open -> choose code “wifi-lesson4”, load up the sketch onto your IDE.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.
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
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