ESP8266 Serial WIFI Wireless Transceiver Module, LWIP, AP+STA Arduino, IOT

Description

This amazing tiny WIFI Module has attracted the maker’s attention in the last several months.

The ESP8266 is a highly integrated chip designed for the needs of a new connected world. It offers a complete and self-contained Wi-Fi networking solution, allowing it to either host the application or to offload all Wi-Fi networking functions from another application processor.

The ESP8266 has powerful on-board processing and storage capabilities that allow it to be integrated with the sensors and other application specific devices through its GPIOs with minimal development up-front and minimal loading during runtime. Its high degree of on-chip integration allows for minimal external circuitry, and the entire solution, including front-end module, is designed to occupy minimal PCB area.

Features

  • Default Baud Rate: 115200
  • 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
  • Supports 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)
  • Compact size with only 24.8*14.3mm

 

Tutorial & useful links

 

Warning:

  • The power supply of this module is 3.3V and cannot tolerate 5V voltage. Connecting RX and TX on a 5V Arduino will destroy this module. A logic level converter must be employed for 5V Arduino.
  • The power supply (3.3V) of this module should be 300mA or higher and you should make sure your power supply is sufficient.

Schematic

Pin definition

Name

Description

GND

Ground

UTXD

serial transmit (idle high)

URXD

serial receive (idle high)

VCC

3.3VDC

CH_PD

Pull high or just connect to VCC

RST

Pull high or just connect to VCC

GPIO0

Pull high or just connect to VCC

GPIO2

Pull high or just connect to VCC

 

AT commands

Command

Description

AT

Attention

AT+RST

Soft reset

AT+GMR

Retrieve firmware version

AT+CWMODE

Operation mode selection

AT+CWJAP

Join network

AT+CWLAP

Available network listing

AT+CWQAP

Exit network

AT+ CWSAP

Setup network name, password, radio channel and security scheme

AT+ CWLIF

Listing connected stations

AT+ CIPSTATUS

Connection listing

AT+CIPSTART

Initiating connection

AT+CIPSEND

Sending data

AT+CIPCLOSE

Closing connection

AT+CIFSR

Displaying IP from access point

AT+CIPMUX

Single or multiple connection selection

AT+CIPSERVER

Socket server on/off

AT+CIPMODE

Serial port transparent or connecdtion based data output selection

AT+CIPSTO

Socket server automatic connection timeout setting

AT+IPD

Serial port connection based data output

Notes:

CH_PD, RST, GPIO0 and GPIO2 are used for firmware update and future expansion purposes. For the time being, they must be pulled up to have the serial module ESP-01 running normally.

The ESP-01 is a serial device at TTL level (3.3V) not RS232 level. If you need to connect the ESP-01 to a RS232 serial port, you will need have a RS232 level converter with MAX232 or compatible device.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>