Ai-Thinker ESP8266EVB User manual

1/ 32
ESP8266 EVB
User Manual

2/ 32
Introduction:
ESP8266EVB isthe evaluation board for ESP12S or ESP07Swhich are
developed byEASY-NETCO., LTD. ESP8266 WiFi module has different F/W :
When user uses the standard AT command f/w, MCU ca/n do the data
communication by sending the AT commands through serial. User also can
use ESP8266SDK for his F/W customization.
Feature Identification
Notice:The Peripherals of Relay on EVB are just optional. So, EVB is
provided without any soldering in Relay part as default.

3/ 32
Button Description:
S1
RETSET
Through this button, user can restart ESP8266 module.
S2
FLASH
With this button, user can reload a bin file in the boot mode.
In order to enter the boot mode, user should power on while
pushing this button.
Pin Description:
Power
Input
Alternative choice for 5V power supply
UART IO
With the pin, user can test the module with the highest baud rate
P1 P2 GPIO
Through this pin, user can use GPIO signal controlled by his own bin
file
Interface Description:
Power Input
This provides powers supply
USB Interface
This provides power supply & Serial interface
Default serial information:
♦Baud rate : 115200
♦Data rate : 8
♦Stop bits : 1
♦Parity : None
♦Flow control : None

4/ 32
Dimensions:

5/ 32
Schematic:

6/ 32
Quick Start Guide:
1. Connect Micro USB cable
Use Micro USB cable to connect between PC and ESP8266EVB,and
download and install the driver of USB to TTL chip (CH340).
http://www.wch.cn/download/CH341SER_EXE.html
Check the COM port of the ESP8266 by referring the device management in
WINDOWS.
Refer to AT command user manual for testing the AT commands. Please,
notice that CH340 only supports the maximum baud rate at 2Mbps. If user
needs higher baud rate(ESP8266 module can support up to 4Mbps), please
connect the external serial debug device to the external serial pinand remove
the debug resister RP1, which can support such a high baud rate.
2. F/W 업데이트 방법
2-1. EVB 의FLASH 버튼을 누른 채로 USB 케이블을 컴퓨터에 연결한다.
2-2. 만약 CH340 의드라이버가 없다면 아래 링크에서 다운 받은 후
설치 한다. http://www.wch.cn/download/CH341SER_EXE.html
2-3. 제공된 ESPFlashDownloadTool_v3.4.9.2.EXE 를실행 시킨다.
ESP8266downloadtool Tap 을클릭하면 다음 그림과 같이 CMD Window 와
프로그램 UI 가동시에 실행된다.

7/ 32
2-4. SDK 에있는 F/W 를download 할때는 아래 그림과 똑같이
setting 하여야 한다.

8/ 32
2-4-1. 기본 F/W 는제공된 SDK 에포함되어 있는
esp8266_nonos_sdk_v1.5.4\ESP8266_NONOS_SDK\bin 안의 5 개파일을
사용한다. 5개파일은 다음과 같다.
①Boot_v1.5.bin
②user1.1024.new.2.bin(AT/512+512 폴더안)
③user2.1024.new.2.bin(AT/512+512 폴더안)
④esp_init_data_default.bin
⑤blank.bin
5개의 파일을 등록하고, 레지스트리 주소를 기입한다. 또한, 맨앞
항목란을 반드시 체크해야 한다.
2-4-2. SPI parameter setting
SPI SPEED 40MHZ, SIP MODE DIO
2-4-3. FLASH SIZE setting 8Mbit
2-4-4. Serial Setting
COM PORT 는사용 가능한 Port 를확인하여 선택하고, baud rate 는
115200 으로 설정
2-4-5. F/W downloading
START 버튼을 누르면 F/W 다운로딩이 진행이 된다. Progress bar 가모두
차면 다운로딩이 완료. 다시 EVB 를재부팅.
2-4-6. F/W downloading 성공 여부 확인
재부팅 후허큘리스 등의 CONSOLE 프로그램을 이용하여 AT+GMR 로제대로

9/ 32
F/W 가다운로딩이 되었는지 확인
2-4-7. 주의 사항
최초에 FLASH버튼을 누르지 않고, POWER ON을하면 CMD 창에 아래와 같은
메시지가 뜸
Parameter setting 완료 후재부팅 시에는 FLASH 버튼을 누르지 않음

10 / 32
4. AT command
Espressif is providing you with AT command set functions and methods of using AT commands set.
AT commands set is divided into three main parts such as Basic AT commands, WiFi related AT
commands and TCP / IP AT commands.
4.1 AT Command Description
Each Command set is composed of four types of AT commands.
Notes:
1. Not all AT Command has four commands.
2. [] = default value, not required or may not appear
3. String values require double quotation marks, for example :
AT+CWSAP="ESP756290","21030826",1,4
4. Baud rate = 115200 or 9600
5. At Command has to be capitalized, and end with “r/n”

11 / 32
4.2 Basic AT Command Set
The ESP8266 wireless WiFi modules can be driven via the serial interface using the standard AT
commands. Here is a list of some basic AT commands that can be used.
AT –Test AT startup
The type of this command is "executed". It's used to test the setup function of your wireless WiFi
module.

12 / 32
AT+RST –Restart module
The type of this command is "executed". It’s used to restart the module.
AT+GMR –View version info
This AT command is used to check the version of AT commands and SDK that you are using, the
type of which is "executed".
AT+GSLP –Enter deep-sleep mode
This command is used to invoke the deep-sleep mode of the module, the type of which is "set". A
minor adjustment has to be made before the module enters this deep sleep mode, i.e., connect
XPD_DCDC with EXT_RSTB via 0R.

13 / 32
ATE –AT commands echo
This command ATE is an AT trigger command echo. It means that entered commands can be
echoed back to the sender when ATE command is used. Two parameters are possible. The
command returns "OK" in normal cases and "ERROR" when a parameter other than 0 or 1 was
specified.
AT+RESTORE –Factory reset
This command is used to reset all parameters saved in flash (according to appendix), restore the
factory default settings of the module. The chip will be restarted when this command is
executed.
Detailed instruction test, please refer to the Espressif ESP8266 official AT command Set list.

14 / 32
Actual practice:
The operation method of client mode:
All of AT command should be written by capital letter.
1. Input AT command for startup.
Ex> AT

15 / 32
2. Set of working mode(1 Client(station) mode, 2 Server(Soft AP) mode, 3 bot
h(station + Soft AP mode))
Ex> AT+CWMODE=1(Client(station) mode)

16 / 32
3. Set of UART(the default baud rate would be 9600 or 115200, when you change the
baud rate, you need to reconnect COM port)
Ex> AT+UART=9600,8,1,0,0

17 / 32
4. Set of MAC address
Ex>AT+CIPSTAMAC="00:08:dc:00:11:12"

18 / 32
5. Set of IP address
Ex) AT+CIPSTA="192.168.0.30","192.168.0.1","255.255.255.0"

19 / 32

20 / 32
6. Connection to AP(Access Point)
Ex) AT+CWJAP="easy-net","66795252"
Table of contents
Other Ai-Thinker Motherboard manuals