Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
In this lesson, we will show how to use the OSOYOO ESP8266 WiFi Shield and the OSOYOO Basic Board (fully compatible with Arduino UNO) to work as a web server and display the message “Hello World!” in a browser.
Simply insert the OSOYOO ESP8266 WiFi Shield into the OSOYOO Basic Board and use a jumper cap to connect E_TX to D4 and E_RX to D5, as shown in the following picture.
Note: If you want to use the above WiFi Shield on a Leonardo Board instead of the OSOYOO Basic Board, you will have to remove the jumper cap between D4 and E-TX. Then use a jumper wire to connect E-TX to D8 pin on the Leonardo Board. You will also need to set the SoftwareSerial RX pin to D8 instead of D4 in your sketch code.
Download the Fritzing Part file from the following link
https://osoyoo.com/driver/Esp8266_Arduino_IOT/OSOYOO-WiFI-shield-V1.3.fzz
Software IDE:
Step A) Install latest IDE (If you have IDE version after 1.1.16, please skip this step).
Download IDE from https://www.arduino.cc/en/Main/Software?setlang=en, then install the software.
Step B)WifiESP Library is required to run OSOYOO ESP8266 shield sketch code. If you have installed this library, please skip this step.
WifiESP library can be downloaded from following link:
https://osoyoo.com/driver/WiFiEsp-master.zip
then in your IDE ->Sketch->Include Library->Add .ZIP Library and select the WiFiEsp-master.zip file you just downloaded, and upload it to IDE.
Step C)Download and Edit esp8266-lesson1.ino file
Please download sketch from https://osoyoo.com/driver/wifi-iot/lesson1/esp8266-lesson1.zip and unzip the file and double click esp8266-lesson1.ino file, you can edit this file in IDE.
Step D) Connect the OSOYOO Basic board to computer via USB cable,
Step E) Open the IDE and choose corresponding board type and port type for you project.
Step F) IDE: Click file -> click Open -> choose code “esp8266-lesson1”, load up the sketch onto your IDE.
In the sketch, 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. not connect to Internet.
After loading the sketch to IDE, open the serial monitor in the upper-right corner of IDE
You will see following message:
From the serial monitor , you can see the IP address of your OSOYOO Basic board in the read circle (in above picture, 192.168.50.116).
Then use your browser to visit the website http://192.168.50.116, you will see following result:
DownLoad Url osoyoo.com