Esp8266 Based Serial Wifi Shield For Arduino User
Esp8266 Based Serial Wifi Shield For Arduino User
Table of Contents
1. Introduction
2. Technical Specifications
3. Dimensions
4. Interface Definition and LED Definition
5. Quick Start
6. Configuration Introduction
7. Sell Link and Technical Services
Introduction
ESP8266-Based Serial WiFi Shield for Arduino is designed and developed by Shenzhen Doctors of Intelligence &
Technology (SZDOIT). The shield is designed based on esp8266 by Espressif Systems, pin-compatible with Arduino
UNO/Mega2560 DevBorad.
The serial wifi shield has the following features:
1WiFi module is industrial-grade chips ESP8266, which is ESP-12E with metal shield, strong anti-interference ability;
2, Shield is pin-compatible with Arduino Uno, Mega2560 and other control board. A voltage converter chip is used to deal
with 3.3V (Esp8266) and 5V (Arduino);
3, Dual DIP switches is used for serial ports so that this module shield can be used alone as an Arduino Uno expansion
board, and also be used as ESP8266 expansion board;
4, Serial data is transported to WiFi device transparently, and vice versa. Arduino program does not need any configuration;
5, WebServer is developed to configure WiFi parameters and serial port parameters;
6, The module shield can be used as an independent ESP8266 development board. for instance, downloading the official
AT commands firmware, NodeMCU open source firmware can be used;
7, The module shield also can be used as stand-alone expansion board for Arduino Uno.
For more references about Doit serial WiFi module expansion board, driver board information, please refer to:
http://www.doit.am or http://www.smartarduino.com.
Introduction
Technical Specifications
802.11 b / g / n wireless standards;
STA / AP modes support ;
TCP / IP protocol stack, One socket;
Supports standard TCP / UDP Server and Client;
Supports serial port baud rate configuration: 1200/2400/4800/9600/19200/38400/57600/74800/115200 bps;
Supports serial data bits: 5/6/7/8 bits;
Supports serial parity: none;
Supports serial stop bits: 1/2 bit;
Pin-compatible with Arduino UNO, Mega;
Arduino Pinout 2/3/4/5/6/7/8/9/10/11/12/13;
ESP8266 GPIO Pinout 0/2/4/5/9/10/12/13/14/15/16 / ADC / EN / * UART TX / UART RX;
KEY button: modes configuration;
Dual-Ports DIP switches: switching Arduino and ESP8266;
WiFi operation current: continuous transmission operation: 70mA (200mA MAX), idle mode: <200uA;
Serial WiFi transmission rate: 110-460800bps;
Temperature: -40 ~ + 125 ;
Humidity: 10%-90% non-condensing;
Weight: about 20g (0.7oz);
Technical Specifications
Dimensions
Dimensions
Interface Definition
This serial WiFi module board provides interface as shown in PCB view. And each pin functions are silk-printed in circuit
board, as follows:
LED definition
ESP8266-Based serial WiFi Shield has two LEDs. Red color LED is donated to power supply. Blue LED is a multi-functional
LED, and its function is described as follows:
This section uses two examples to quickly configure ESP8266-Based serial WiFi shield, so as to achieve Serial WiFi
transparent communication.
Step 2: Open the browser, and enter WiFi IP address: 192.168.4.1. The configuration page is shown as below.
Quick Start
Built-in WebServer in the serial WiFi shield supports serial parameters configuration, network parameter configuration. And
It also supports automatic or manual AP scan.
Step 3: press submit.
After submission, the serial wifi shield will automatically reboot into AP mode, and configure as:
Quick Start
1. void setup()
2. {
3. Serial.begin(9600);
4. }
5. void loop()
6. {
7. delay(1000);
8. Serial.println("hello ESP8266 WiFi"); //output the serial data
9. }
Step3: Switch the dual-port switch to ON position. Now, the ESP8266 is connected with Arduino Uno.
Step4: Find the WiFi signal DoitWiFi_Ser2Net with computer or mobile phone. The WiFi password is 12345678.
Quick Start
Once connection is build successfully, the software shows the transported data from serial WiFi shield every one second.
Therefore, Arduino can send the serial data to the network.
Quick Start
10
Quick Start
11
Step 6: run the TCP/UDP debug software. Establish a TCP Client connection. The destination IP address is
115.29.109.104, Port number is 6533. Local port is configured to Auto.
Quick Start
12
Step 7: the software shows the transported data from serial WiFi shield through the wireless router. Therefore, Arduino can
send the serial data to the network in STA mode.
Quick Start
13
Quick Start
14
If STA mode is chosen, refresh and AP List buttons will be enabled. Refresh may be used to scan other WiFi signal,
and the scanned result will be shown in the AP List.
Configuration Introduction
15
When the serial WiFi shield is in the STA mode, it will always try to connect the specified wireless router till the connection
is built or configuration mode is set.
Network Settings
Network settings can be set as the server (Server) or the client (Client) mode. WiFi expansion module only supports a
Socket at the same time.
When Server mode is set, "Remote IP" is abandoned. And the listening port number should be filled in "Local Port".
When Client mode is set, "Remote IP" is enabled. Remote IP and Remote Port should be filled in.
The Serial WiFi shield supports TCP and UDP wireless protocol.
Factory Default
In WebServer, FactoryDefault is used to reset to default settings. (If serial WiFi shield is in STA mode, please press KEY
button to enter configuration mode.). The default setting is as below:
Configuration Introduction
16
Configuration Introduction
17
18