Posted on Leave a comment

ESP8266 Serial–WIFI Wireless

introduction
Yue Xin intelligent high performance wireless connectivity platform –ESCP SOC, designers bring the Gospel to the mobile platform, it At the lowest cost to provide maximum usability for WiFi capabilities embedded in other systems offer unlimited possibilities.

Technical Overview
ESP8266 is a complete and self-contained Wi-Fi network solutions that can carry software
applications, or through Another application processor uninstall all Wi-Fi networking capabilities.
ESP8266 when the device is mounted and as the only application of the application processor,
the flash memory can be started directly from an external Move. Built-in cache memory will help improve system performance and reduce memory requirements. Another situation is when
wireless Internet access assume the task of Wi-Fi adapter, you can add it to any microcontroller-based design, the connection is simple, just by SPI / SDIO interface or central
processor AHB bridge interface. Processing and storage capacity on ESP8266 powerful piece, it
can be integrated via GPIO ports sensors and other applications specific equipment to achieve
the lowest early in the development and operation of at least occupy system resources. The
ESP8266 highly integrated chip, including antenna switch balun, power management converter,
so with minimal external circuitry, and includes front-end module, including the entire solution designed to minimize the space occupied by PCB. The system is equipped with ESP8266
manifested leading features are: energy saving VoIP quickly switch between the sleep / wake
patterns, with low-power operation adaptive radio bias, front-end signal processing functions,troubleshooting and radio systems coexist characteristics eliminate cellular / Bluetooth / DDR /LVDS / LCD interference.

Characteristics
802.11 b / g / n
Wi-Fi Direct (P2P), soft-AP
Built-in TCP / IP protocol stack
Built-in TR switch, balun, LNA, power amplifier and matching network
Built-in PLL, voltage regulator and power management components
802.11b mode + 19.5dBm output power
Built-in temperature sensor
Support antenna diversity
off leakage current is less than 10uA
Built-in low-power 32-bit CPU: can double as an application processor
SDIO 2.0, SPI, UART
STBC, 1×1 MIMO, 2×1 MIMO
A-MPDU, A-MSDU aggregation and the 0.4 Within wake
2ms, connect and transfer data packets
standby power consumption of less than 1.0mW (DTIM3)

Ultra-low power technology
ESP8266 specifically for mobile devices, wearable electronics and networking applications design and make the machine to achieve the lowest energy consumption, together with several other patented technology. This energy-efficient construction in three modes: active mode, sleep mode and deep sleep mode type. When ESP8266 using high-end power management technology and logic systems to reduce non-essential functions of the power conversion regulate sleep patterns and work modes, in sleep mode, it consumes less than the current 12uA, is connected, it consumes less power to 1.0mW (DTIM = 3) or 0.5mW (DTIM = 10). Sleep mode, only calibrated
real-time clock and watchdog in working condition. Real-time clock can be programmed to wake
ESP8266 within a specific period of time. Through programming, ESP8266 will automatically wake up when detected certain to happen. ESP8266 automatic wake-up in the shortest time, this
feature can be applied to the SOC for mobile devices, so before you turn Wi- Fi SOC are in a
low-power standby mode. To meet the power requirements of mobile devices and wearable
electronics products, ESP8266 at close range when the PA output power can be reduced through
software programming to reduce overall power consumption in order to adapt to different
applications.

Maximum integration
ESP8266 integrates the most critical components on the board, including power management
components, TR switch, RF balun, a peak power of + 25dBm of PA, therefore, ESP8266 only
guarantee the lowest BOM cost, and easy to be embedded in any system. ESP8266 BOM is the
only external resistors, capacitors, and crystal.
ESP8266 application subject
Smart Power Plug
Home Automation
mesh network
industrial wireless control
Baby Monitor
Network Camera
sensor networks
wearable electronics
wireless location-aware devices
Security ID tag
wireless positioning system signals
Specifications Power
The following data are based on a 3.3V power supply, ambient temperature 25C and use the
internal regulator measured. All measurements are made in the absence of the SAW filter, the antenna interface is completed. all transmit data based on 90% duty cycle, continuous
transmission mode in the measured.

CPU and memory
CPU Interface
The chip embedded in an ultra-low-power 32-bit micro-CPU, with 16 compact mode. Can be
connected to the CPU via the following interfaces:
connecting storage controllers can also be used to access external code memory RAM / ROM
interface (iBus)
Also attached storage controller data RAM interface (dBus)
Access Register of AHB interface
JTAG debug interface
Storage Controller
Storage controller contains ROM and SRAM. CPU can iBus, dBus and AHB interface to access the
storage controller. Any one of these interfaces can apply for access to ROM or RAM cells, memory arbiter to determine the running order in the order of arrival.

AHB and AHB module
AHB module acts as arbiter, through the MAC, and SDIO host CPU control AHB interface. Since
sending Address different, AHB data requests may arrive the following two slaves in one: APB
module, or flash memory controller (usually in the case of off-line applications) to the received request is a high speed memory controllers often request, APB module receives register access is often Request. APB module acts as a decoder, but only you can access the ESP8266 main module programmable registers. Since the sending address different, APB request may reach the radio receiver, SI / SPI, hosts SDIO, GPIO, UART, real-time clock (RTC), MAC or digital baseband.

Interface
ESP 8266 contains multiple analog and digital interfaces, as follows:
Main SI / SPI control (optional)
Main Serial Interface (SI) can run at two, three, four-wire bus configuration, is used to control the EEPROM or other I2C / SPI devices. Multiple devices share the two-wire I2C bus. Multiple SPI devices to share the clock and data signals, and according to the chip select, each controlled by software alone GPIO pins. SPI can be used to control external devices, such as serial flash, audio CODEC or other slave devices, installation, effectively giving it three different pins, making it the standard master SPI device.
SPI_EN0
SPI_EN1
SPI_EN2
SPI slave is used as the primary interface, giving SPI master and slave SPI support. In the built-in applications, SPI_EN0 is used as an enable signal, the role of external serial flash, download firmware and / or MIB data to baseband. In host-based applications, the firmware and you can choose one MIB data downloaded via the host interface both. This pin is active low when not should be left unconnected. SPI_EN1 often used for user applications, such as controlling the built-in applications or external audio codec sensor ADC. This pin is active low when not should be left unconnected. SPI_EN2 often used to control the EEPROM, storing individual data (individual data), such as MIB information, MAC address, and calibration data, or for general purposes. This pin is active low when not should be left unconnected.

General Purpose IO
A total of up to 16 GPIO pins. The firmware can assign them different functions. Each GPIO can be configured internal pullup / pulldown resistors available software registers sampled input,triggering edge or level CPU interrupt input, trigger level wake-up interrupt input, open-drain or complementary push-pull output drivers, software register output source or sigma-delta PWM DAC. These pins are multiplexed with other functions, such as the main interface, UART, SI, Bluetooth co-existence and so on.

Digital IO pins
Digital IO pad is two-way, three states. It includes a three-state control input and output buffers.
In addition, for low-power operation, IO can be set to hold state. For example, when we reduce the chip’s power consumption, all the output enable signal can be set to maintain a low-power state. Hold function can be selectively implanted IO in need. When the IO help internal and external circuit driving, hold function can be used to hold last state. Hold function to pin introduce some positive feedback. Therefore, the external drive pin must be stronger than the positive feedback. However, the required driving force size is still small, in the 5uA of.

ESP8266 Pin Configuration

Pin NumberPin NameAlternate NameNormally used forAlternate purpose
1GroundConnected to the ground of the circuit
2TXGPIO – 1Connected to Rx pin of programmer/uC  to upload programCan act as a General purpose Input/output pin when not used as TX
3GPIO-2General purpose Input/output pin
4CH_ENChip Enable – Active high
5GPIO – 0FlashGeneral purpose Input/output pinTakes module into serial programming when held low during start up
6ResetResets the module
7RXGPIO – 3General purpose Input/output pinCan act as a General purpose Input/output pin when not used as RX
8VccConnect to +3.3V only 

ESP8266-01 Features

  • Low cost, compact and powerful Wi-Fi Module
  • Power Supply: +3.3V only
  • Current Consumption: 100mA
  • I/O Voltage:  3.6V (max)
  • I/O source current: 12mA (max)
  • Built-in low power 32-bit MCU @ 80MHz
  • 512kB Flash Memory
  • Can be used as Station or Access Point or both combined
  • Supports Deep sleep (<10uA)
  • Supports serial communication hence compatible with many development platform like Arduino
  • Can be programmed using Arduino IDE or AT-commands or Lua Script

ESP8266 Equivalents

ESP-12 (Has more GPIO pins that support ADC, PWM, SPI etc)

Alternative for ESP8266-01

ESP32 (more powerful and standalone module)

ESP8266-01 Boot Option

GPIO – 0GPIO – 2ModeUsed For
HighHighFlash ModeRun the program that is already uploaded to the module
LowHighUART ModeProgramming mode- to program using Arduino or any serial communication

Where to use ESP8266-01

The ESP8266 is a very user friendly and low cost device to provide internet connectivity to your projects. The module can work both as a Access point (can create hotspot) and as a station (can connect to Wi-Fi), hence it can easily fetch data and upload it to the internet making Internet of Things as easy as possible. It can also fetch data from internet using API’s hence your project could access any information that is available in the internet, thus making it smarter. Another exciting feature of this module is that it can be programmed using the Arduino IDE which makes it a lot more user friendly. However this version of the module has only 2 GPIO pins (you can hack it to use upto 4) so you have to use it along with another microcontroller like Arduino, else you can look onto the more standalone ESP-12 or ESP-32 versions. So if you are looking for a module to get started with IOT or to provide internet connectivity to your project then this module is the right choice for you.

How to use the ESP8266 Module

There are so many methods and IDEs available to with ESP modules, but the most commonly used on is the Arduino IDE. So let us discuss only about that further below.

The ESP8266 module works with 3.3V only, anything more than 3.7V would kill the module hence be cautions with your circuits. The best way to program an ESP-01 is by using the FTDI board that supports 3.3V programming. If you don’t have one it is recommended to buy one or for time being you can also use an Arduino board. One commonly problem that every one faces with ESP-01 is the powering up problem. The module is a bit power hungry while programming and hence you can power it with a 3.3V pin on Arduino or just use a potential divider. So it is important to make a small voltage regulator for 3.31v that could supply a minimum of 500mA. One recommended regulator is the LM317 which could handle the job easily. A simplified circuit diagram for using the ESP8266-01 module is given below

ESP8266-Example-Circuit
ESP8266-Example-Circuit

The switch SW2 (Programming Switch) should be held pressed to hold the GPIO-0 pin to ground. This way we can enter into the programming mode and upload the code. Once the code is released the switch can be released.

Applications

  • IOT Projects
  • Access Point Portals
  • Wireless Data logging
  • Smart Home Automation
  • Learn basics of networking
  • Portable Electronics
  • Smart bulbs and Sockets

2D – Model

ESP8266 dimesion
Advertisements
Leave a Reply

Your email address will not be published.