background image

OLIMEX© 2016

Upgrading ESP8266

CHAPTER 2: REQUIREMENTS

CHAPTER 2: REQUIREMENTS

The minimal connection requires several hardware and software prerequisites. 

2.1 Hardware requirements

2.1 Hardware requirements

You would need: an ESP8266 board; a way to power the ESP8266 board; a USB < - > serial cable with 

level shifter; and a personal computer. Each of these is discussed below.

Note that you might already own some of the necessary hardware pieces listed below. For example, as 
long as you have a fitting 5V power supply unit or USB < - > serial cable there is no need to purchase a 

new one.

2.1.1 ESP8266 board

2.1.1 ESP8266 board

The main component of the setup. During your initial research of the ESP8266EX chip, it is 

highly 

recommended

 to use one of the following three boards, which are suitable for beginners:

ESP8266-EVB

ESP8266-EVB-BAT

ESP8266-EVB-BAT-BOX

You can also use one of the following two boards, but they are harder to power up and you might need 
to cut and solder SMT jumpers in order to change boot modes:

MOD-WIFI-ESP8266

MOD-WIFI-ESP8266-DEV

MOD-WIFI-ESP8266 and MOD-WIFI-ESP8266-DEV are suitable for people already familiar with ESP8266. They are small, 
affordable and fit custom designs perfectly. However, their stand-alone usage might provide a challenge for beginners. The 
main difficulty comes from the hardware adjustments you would need to perform in order to change the boot mode of the 
board. Entering UART mode would require cutting and soldering of SMT jumpers (hardware revision B of MOD-WIFI-ESP8266-
DEV introduces a button for easier access to UART boot mode).

2.1.2 

2.1.2 

Source of p

Source of p

ower

ower

The ESP8266-EVB board gets powered via the barrel power jack named “PWR”. You need to apply exactly
5V DC.

The corresponding power supply plug (or female jack) that fits the DC barrel has 2.1mm inner diameter 

and 5.5mm outer diameter. The length of the male plug should be between 10mm and 14mm.

ESP8266-EVB-BAT and ESP8266-EVB-BAT also have a similar barrel jack named “PWR”, which can be used
for powering the board. These two boards also have a Li-Po battery circuitry – you can also power them 

using the Li-Po battery connector.

Page 5 of 17

Содержание ESP8266 Series

Страница 1: ...This document applies for the following products This document applies for the following products ESP8266 EVB ESP8266 EVB BAT ESP8266 EVB BAT BOX ESP8266 EVB ESP8266 EVB BAT ESP8266 EVB BAT BOX MOD ESP8266 WIFI DEV MOD ESP8266 WIFI MOD ESP8266 WIFI DEV MOD ESP8266 WIFI Document revision A March 2016 All boards produced by Olimex LTD are ROHS compliant ...

Страница 2: ...oducts described in this document are subject to continuous development and improvements All particulars of the products and their use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in th...

Страница 3: ... USB serial cable 6 2 1 4 Personal computer 6 2 2 Software requirements 7 2 2 1 Driver for the USB serial cable 7 2 2 2 ESP FLASH DOWNLOAD TOOLS 7 2 2 3 SUITABLE FIRMWARE 8 CHAPTER 3 HARDWARE SETUP 9 CHAPTER 4 FIRMWARE UPDATE 11 CHAPTER 5 SIMPLE AT COMMAND TEST 14 CHAPTER 6 FURTHER READING 16 CHAPTER 7 ORDERING CODES AND DOCUMENT REVISION 17 7 1 Ordering codes 17 7 2 Document revision 17 Page 3 of...

Страница 4: ...ws applications Experienced ESP8266 users would find this document redundant The document structure is as follows All the required hardware and software for a basic setup is listed in CHAPTER 2 REQUIREMENTS In CHAPTER 3 HARDWARE SETUP there are specific details on how to set the hardware together and then the upgrade procedure The next chapter CHAPTER 4 FIRMWARE UPDATE gives the instruction on how...

Страница 5: ... in order to change boot modes MOD WIFI ESP8266 MOD WIFI ESP8266 DEV MOD WIFI ESP8266 and MOD WIFI ESP8266 DEV are suitable for people already familiar with ESP8266 They are small affordable and fit custom designs perfectly However their stand alone usage might provide a challenge for beginners The main difficulty comes from the hardware adjustments you would need to perform in order to change the...

Страница 6: ... of board s RXD and TXD are lower than the voltage levels of computer s TXD and RXD even if your computer has a native serial port The adapter takes care of the level adjustment most modern computers lack serial port The are two very important considerations to make when selecting the cable that would work for you the cable needs to fit the UART pins of the boards the cable has the proper driver s...

Страница 7: ...ad and extract the latest version of FLASH DOWNLOAD TOOLS from the official Espressif web site The archive is usually located under Tools sub group at the web page with the ESP8266EX resources By the time of writing this document the page with resources can be found at http espressif com en products hardware esp8266ex resources We used FLASH DOWNLOAD TOOLS v2 3 during the preparation of this docum...

Страница 8: ... usually located under the SDKs Demos sub group at the web page with the ESP8266EX resources By the time of writing this document the location is http espressif com en products hardware esp8266ex resources We used ESP8266 NONOS SDK v1 5 0 during the preparation of this document If you want to have the exact same behavior as us use ESP8266 NONOS SDK v1 5 0 You can download it from here https www ol...

Страница 9: ...X RX and GND pins The connections are easier if the board has male UEXT connector like ESP8266 EVB The important part here is to connect the GND of the cable to the GND pin 2 of the UEXT connector Then TXD of the cable to RXD of the UEXT 4 Finally RXD of the cable to TXD of the UEXT 3 For connecting the USB serial cable we are interested only in pins 2 3 and 4 Follow the same idea when you use MOD...

Страница 10: ...OLIMEX 2016 Upgrading ESP8266 Page 10 of 17 ...

Страница 11: ...archive here is named esp8266_nonos_sdk_v1 5 1_16_01_08_0 rar 4 Extract the archive with FLASH DOWNLOAD TOOLS The archive we use here is named flash_download_tools_v2 4_150924 rar 5 Navigate inside the extracted folder and start the executable The one here is ESP_DOWNLOAD_TOOL_V2 4 exe The graphical interface of the tool would launch In case of a problem with the start of the application consider ...

Страница 12: ...mex boards is 2MB 16Mbit and it is suggested to use the 16Mbit C1 option The BAUDRATE is 57600 The COM PORT is different depending on the system The serial cable here gets assigned COM3 so that is what we would assign Refer to the Windows Device Manager to find the COM port number of the cable of your system 8 At this point make sure that the ESP8266 board is in UART bootloader mode as suggested i...

Страница 13: ... you would need to revert the jumpers back to default FLASH mode Else the firmware will not execute upon powering the board it would boot in UART bootloader mode 11 Voila The firmware and the AT command set are now updated We can head to the next chapter where we would test the firmware Page 13 of 17 ...

Страница 14: ...each command By default most terminal programs add only carriage return when you send a string by pressing the keyboard button Enter In this document we would use TeraTerm Restart or power cycle the ESP8266 board in case it is still in UART mode We want the board to be in FLASH mode Connect the USB serial cable between the board and the personal computer Remember the COM port that the operating sy...

Страница 15: ...We can send AT commands to the board now It is important to notice that the AT commands should be capitalized For example type AT and press Enter Then type AT GMR and press Enter You should receive the following response For the full AT command set it is always the best idea to refer to the official documentation released by Espressif Systems Page 15 of 17 ...

Страница 16: ... http bbs espressif com The latest official resources and documentation for ESP8266EX can also be found here http espressif com en products hardware esp8266ex resources The best place to read more about the ESP8266 support for Arduino IDE is this one https github com esp8266 Arduino The custom ESP8266 firmware and examples provided by Olimex can be found here https github com OLIMEX ESP8266 The li...

Страница 17: ...nsion module with ESP8266EX with male UEXT connector can be directly attached to existing Olimex boards with female UEXT MOD WIFI ESP8266 DEV the smallest ESP8266EX Olimex module perfect for embedding in own designs USB Serial Cable F affordable serial to USB cable with female leads SY0605E affordable power supply adapter 5V 1A 50Hz 220V suitable for most European countries You can also find a big...

Отзывы: