2.2.6. External Resistor 12K ....................2.3. Layout Design ........................ 2.3.1. ESP-WROOM Module Design ..................2.3.2. ESP8266EX as Slave Device ..................2.3.3. FAQ On Hardware Design .................... ESP-LAUNCHER Development Board ..............3.1. Instructions on the Use of ESP-LAUNCHER Development Board ........
Page 4
Part 2: 5V Power ........................Part 3: Test Board ........................ 6.2. Schematics of ESP-LAUNCHER Test Board ..............6.3. Schematics of ESP-WROOM Serial WiFi Modules ............6.4. Schematics of ESP8266EX as SDIO/SPI Slave Device ..........Espressif Systems 4 48 Jun 1, 2015...
ESP8266EX offers a complete and self-contained Wi-Fi networking solution; it can be used to host the application or to offload Wi-Fi networking functions from another application processor. When ESP8266EX hosts the application, it boots up directly from an external flash. In has integrated cache to improve the performance of the system in such applications.
Espressif Systems Hardware User Guide ESP8266EX also integrates an enhanced version of Tensilica’s L106 Diamond series 32-bit processor, with on-chip SRAM, besides the Wi-Fi functionalities. ESP8266EX is often integrated with external sensors and other application specific devices through its GPIOs; sample codes for such applications are provided in the software development kit (SDK).
Software AT Instruction Set, Cloud Server, Android/ User Configuration Parameters iOS App Table 1 Parameters of ESP8266EX 1.4. Major Applications Major fields of ESP8266EX applications to Internet-of-Things include: • Home Appliances • Home Automation • Smart Plug and lights •...
ESP8266EX Espressif Systems Hardware User Guide Hardware Overview 2.1. Terminal Configuration and Functions The pin assignments for 32-pin QFN package is illustrated in Fig. 2. Figure 2 Pin Assignments Table 2 below presents an overview on the general pin attributes and the functions of each pin.
Page 10
ESP8266EX Espressif Systems Hardware User Guide Name Type Function VDDA Analog Power 3.0 ~3.6V RF Antenna Interface, Chip Output Impedance=50Ω No matching required but we recommend that the π-type matching network is retained. VDD3P3 Amplifier Power 3.0~3.6V VDD3P3 Amplifier Power 3.0~3.6V VDD_RTC NC(1.1V)
Page 11
ESP8266EX Espressif Systems Hardware User Guide Name Type Function GPIO5 GPIO5 U0RXD UART Rx during flash programming; GPIO3 U0TXD UART Tx during flash progamming; GPIO1; SPI_CS1 Connect to crystal oscillator output, can be used to provide BT XTAL_OUT clock input...
High integration level of this chipset tremendously decreases the number of components used in peripheral circuit design. Beside ESP8266EX, only a number of less than 10 resistors and capacitors, one crystal oscillator, and one SPI Flash is needed to make a complete module with wireless communication capability.
Power-supply Pins Digital Power-supply Pins ESP8266EX has only two digital power-supply pins (abbreviated as VDDPST in the circuit diagram), Pin11 and Pin17. In digital power supply, there is no need to add additional filter capacitors. The operating voltage range of digital power-supply pins is between 1.8V and 3.3V.
Note: If the power management IC is connected with the power-on enable pin CHIP_EN, it can control the power on-and-off of ESP8266EX by output high and low voltage through its GPIOs. However, pulsed current might be produced at the same time. In order to delay the transmission of pulsed signal and avoid unstable current of CHIP_EN, a RC time-delay circuit (R=1kΩ, C=100nF) is needed.
The enable pin CH_EN (pin 7) can also serve as a reset pin. If voltage for CH_EN pin is low, the chipset ESP8266EX will power off. Note that this pin cannot be dangled. 2.2.3.
Page 16
C1 and C2 are 10pF<C1, C2<22pF if the crystal oscillator frequency is 40MHz. Figure 7 ESP8266EX Crystal oscillators Note: Defects in the craftsmanship of the crystal oscillators (for example, high frequency deviation, unstable working temperature) may lead to the malfunction of ESP8266EX, resulting in the decrease of overall performance. 2.2.5.
2.3. Layout Design PCB layout design of products using chipset ESP8266EX is demonstrated in this part. Hereto we mainly focus on two kinds of designs, one is ESP-WROOM serial to WiFi modules, and the other is main board mounted with ESP8266EX WiFi module.
Page 18
Before the power line reaches the analog power-supply pins (including Pin 1, 3, 4, 28, 29) of ESP8266EX, a 10uF capacitor with 0603 or 0805 package needs to be added, as is illustrated in Fig. 10. C6, which is the capacitor, should be placed adjacent to the analog power-supply pins of the chipset.
Page 19
Magnetic components, such as high current inductors, should not be placed near to crystal oscillator, a sensitive component. Figure 11 ESP8266EX Crystal Oscillators PCB Layout • On design of the RF part The characteristic impedance that RF lines should control is 50Ω, in order to ensure the complete...
2.3.2. ESP8266EX as Slave Device When ESP8266EX is matched with CPU as a slave unit, information integrity in layout design is more important than that in analogue design. Due to the system accountability, the increasing high frequency signals would result in interference in ESP8266EX.
Page 21
Therefore, the following points should be noted in system designs: • As shown in Fig.4, ESP8266EX is on the edge of PCB and far away from CPU and DDR(the noise source CPU+DDR). The increase in distance will decrease the interference distance and would reduce the coupling noise;...
(when over ±40PPM, the ESP8266EX will not be able to work properly and the performance will get worse accordingly); or the crystal has been interfered with...
Page 23
UART TX and RX conducts through RF trace lines. If ESP8266EX serves as slave, there will be quite a number of high frequency interference. Therefore, signal interference depends on board design.
Hardware User Guide ESP-LAUNCHER Development Board Espressif Systems provides ESP8266EX development board for quick evaluation and familiarisation of products and for secondary development for customers. The size of the demo board is 46mm*78.5mm. Functional components on the demo board are illustrated in the Figure 14 below.
ESP8266EX Espressif Systems Hardware User Guide 3.1. Instructions on the Use of ESP-LAUNCHER Development Board Users can connect the development board to a PC using USB interface or WiFi wireless connection interface, then configure and test the demo board. Functional descriptions of components on the development board is illustrated in Table 3 below.
Page 26
ESP8266EX Espressif Systems Hardware User Guide Name Functional Description There are two USB interfaces, one is used for 5V power supply, the other one is used for serial communication. (Refer to Part 1 in Fig. 14) Micro USB Interface Please pay attention to the notice on Page 25.
Page 27
Flash2 (the one mounted on the baseboard): Flash2 is connected to the chipset using HSPI interface. HSPI is mainly used in SIP mode, in this application, ESP8266EX chipset is used as slave device, and is connected to the host MCU using the SPI interface that is defined in standard SDIO interface.
ESP8266EX Espressif Systems Hardware User Guide 3.2. Pin Definitions of ESP-LAUNCHER Development Board There are altogether 32 pins on the demo board, which are illustrated in Figure 15 below. Definition of each pin can be found in Table 2. Figure 15 Illustration of Pin Definitions of ESP-LAUNCHER Table 4 below describes the functions of several interfaces of the development board.
Page 29
The frequency of modulated carrier signal is 38KHz. ESP8266EX is embedded with a 10-bit precision SARADC. ADC_IN interface is used to test the power supply voltage of VDD3P3 (Pin 3 and Pin 4), as well as the input voltage of TOUT (Pin 6). It can be used in sensors.
Page 30
ESP8266EX Espressif Systems Hardware User Guide Basic steps on how to use the development board: Connect the development board using two USB data lines, one is used to supply 5V Step 1 power, one is used to communicate via USB UART interface.
ESP8266EX Espressif Systems Hardware User Guide 3.3. Typical Applications Using ESP-LAUNCHER 3.3.1. ESP-LAUNCHER Test Board There is one test board on each ESP-LAUNCHER development board, which is shown in Fig. 16 below. The external size of the test board is 20mm*31mm. An 2DBi SMA antenna or other testing equipment can be connected with the test board via the SMA antenna connector.
Page 32
ESP8266EX Espressif Systems Hardware User Guide Figure 18 Dimensions of ESP-WROOM-02 WiIF Module There are altogether 18 pin-outs, the distribution and definitions of which are listed in Table 5 below: Espressif Systems 32 48 Jun 1, 2015...
Page 33
ESP8266EX Espressif Systems Hardware User Guide Pin Name Function 3.3V power supply (VDD) Chip enable pin. Active high. IO14 GPIO14; HSPI_CLK IO12 GPIO12; HSPI_MISO IO13 GPIO13; HSPI_MOSI; UART0_CTS IO15 GPIO15; MTDO; HSPICS; UART0_RTS GPIO2; UART1_TXD GPIO0 GPIO4 UART0_RXD; GPIO3 UART0_TXD; GPIO1...
Page 34
ESP8266EX Espressif Systems Hardware User Guide Before the module is powered on, pin GND RXD TXD should be lead out, and be connected with USB to TTL serial cable (FT232 is suggested) so as to download, print log and communicate.
ESP8266EX Espressif Systems Hardware User Guide 3.3.3. DIP Module ESP-WROOM-01 The DPI type module - ESP-WROOM-01 is illustrated in Figure 18 below. Figure 18 DIP Module ESP-WROOM-01 The size of the module is 18*19mm, the Flash type applied is a SPI flash packed in SOP8-150mil, the antenna used is a 1 DBi metal antenna.
ESP8266EX Espressif Systems Hardware User Guide Compiling, Downloading, and Debugging 4.1. Set Up the Compiling Environment The current compiling environment is set up in Lubuntu System, and is entirely merged into a virtual box. Please refer to the post on Espressif BBS for the downloading of compiling environment: http:// bbs.espressif.com/viewtopic.php?f=5&t=2...
Page 37
ESP8266EX Espressif Systems Hardware User Guide Figure 20 Command • Copy files in subfolder and paste them in folder esp_iot_sdk\examples esp_iot_sdk\app compiling. Figure 21 Example Codes • Compiling command: “ ” . Parameters can be compiled according to specific ./gen_misc.sh needs.
ESP8266EX Espressif Systems Hardware User Guide Figure 22 Options during Compiling 4.2. Download Firmware When entering the UART download mode, set , after downloading MTDO(IO15):IO0:IO2 0:0:1 successfully, switch to the Flash boot mode 0:1:1 Figure 23 below shows how to use Flash Download Tool.
Page 39
ESP8266EX Espressif Systems Hardware User Guide Figure 24 Configuration of UART Serial Port Debugging Tool 2. TCP/UDP debugging via the internet Figure 25 TCP/UDP Debugging Espressif Systems 39 48 Jun 1, 2015...
5.3. Smart light ESP8266EX can be used to develop smart home products such as smart LED lights which use PWM interfaces and infrared interfaces. The 3 PWM interfaces control the red, blue, green LED lights respectively. Theoretically speaking, the minimal PWM duty ratio can reach 1/256, thus supporting 256*256*256 types of colors.
5.4. Smart plug ESP8266EX can be used to develop smart home products such as smart plugs which use ordinary GPIO interfaces. GPIO interfaces allow control over high and low levels as well as connection and disconnection of relay, thus allowing smart control over plug on/off. This application is mainly comprised of 3 modules which are: 220V to 5V power module, ESP8266EX WiFi module and relay control module. ...
ESP8266EX Espressif Systems Hardware User Guide Part 2: 5V Power Part 3: Test Board 6.2. Schematics of ESP-LAUNCHER Test Board Espressif Systems 46 48 Jun 1, 2015...
Need help?
Do you have a question about the ESP8266EX and is the answer not in the manual?
Questions and answers