0% found this document useful (0 votes)
100 views

ESP12S Documentation

The ESP-12S is a WiFi module featuring an ESP8266 SOC with an integrated 32-bit MCU, 10-bit ADC, TCP/IP stack, and support for WiFi 802.11 b/g/n. It has 13 GPIO pins and 4MB flash memory for software updates over-the-air. The module allows adding WiFi to devices simply and at low cost.

Uploaded by

Adroics ebrahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views

ESP12S Documentation

The ESP-12S is a WiFi module featuring an ESP8266 SOC with an integrated 32-bit MCU, 10-bit ADC, TCP/IP stack, and support for WiFi 802.11 b/g/n. It has 13 GPIO pins and 4MB flash memory for software updates over-the-air. The module allows adding WiFi to devices simply and at low cost.

Uploaded by

Adroics ebrahim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

ESP-12S

ESP WIFI Module


Features:
• 802.11 b/g/n

• integrated low power 32-bit MCU

• Integrated 10-bit ADC

• Integrated TCP/IP protocol stack

• Integrated TR switch, balun, LNA, power amplifier


and matching network

• Integrated PLL, regulators, and power


management units

• Supports antenna diversity

• Wi-Fi 2.4 GHz, support WPA/WPA2

• Support STA/AP/STA+AP operation modes

• Support Smart Link Function for both Android and


Description
iOS devices The ESP-12S is a self contained 802.11 b/g/n
WiFi enabled microcontroller featuring the
• SDIO 2.0, (H) SPI, UART, I2C, I2S, IRDA, PWM, ESP8266 SOC.
GPIO
Pin for pin compatible with other boards in
• STBC, 1x1 MIMO, 2x1 MIMO the ESP-12 range but with improved stability
and wireless capability. This board has up to
• A-MPDU & A-MSDU aggregation and 0.4s guard 13 usable GPIO pins (inc 5 dual purpose) and
interval an ADC input. It has 4Mbyte flash memory
and software updates can be rolled out to it
• Deep sleep power <10uA, Power down leakage over-the-air. Use it as a cheap and easy way
current < 5uA to add WiFi to your Arduino / Raspberry Pi
etc, or use it as a powerful standalone WiFi
• Wake up and transmit packets in < 2ms enabled MCU in its own right.

• Standby power consumption of < 1.0mW (DTIM3)

• +20dBm output power in 802.11b mode

• Operating temperature range -40C ~ 85C

DS-ESP-2S-1
ESP-12S

ESP-12S WiFi module is developed by AI-Thinker Co, Ltd, core processor ESP8266 in smaller
sizes of the module encapsulates Tensilica L106 integrates industry-leading ultra low power 32
-bit MCU micro, with the 16-bit short mode, clock speed support 80 MHz, 160 MHz, supports
the RTOS, integrated Wi-Fi MAC/BB/RF/PA/LNA, on-board antennas.
The module supports standard IEEE802.11 b/g/n agreement, complete TCP/IP protocol stack.
Users can use the add modules to an existing device networking, or building a separate network
controller.
ESP8266 is high integration wireless SOCs, designed for space and power constrained mobile
platform designers. It provides unsurpassed ability to embed Wi-Fi capabilities within other
systems, or to function as a standalone application, with the lowest cost, and minimal space
requirement.

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.
Alternately, serving as a Wi-Fi adapter, wireless internet access can be added to any micro
controller based design with simple connectivity (SPI/SDIO or I2C/UART interface).
ESP8266EX is among the most integrated WiFi chip in the industry; it integrates the antenna
switches, RF balun, power amplifier, low noise receive amplifier, filters, power management
modules, it requires minimal external circuitry, and the entire solution, including front-end
module, is designed to occupy minimal PCB area.
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;
codes for such applications are provided in examples in the SDK.

DS-ESP12S-1
ESP-12S
Parameters

The below table describes the major parameters.

Categories Items Values

WiFi Protocols 802.11 b/g/n


WiFi Parameters
Frequency Range 2.4GHz-2.5GHz (2400M-2483.5M)

UART/HSPI/I2C/12S/Ir Remote Control


Peripheral Bus
GPIO/PWM

Operating Voltage 3.3V

Hardware Operating Current Average value: 80mA

Parameters Operating Temperature Range -40°~125°

Ambient Temperature Range Normal temperature

Package Size 18mm*20mm*3mm

External Internal N/A

WiFi-mode Station/softAP/SoftAP+station

Security WPA/WPA2

Encryption WEP/TKIP/AES

UART Download / OTA (Via network) /


Software Firmware Upgrade
download and write firmware via host
Parameters
Supports Cloud Server Development /
Software Development
SDK for custom firmware development

Network Protocols IPv4, TCP/UDP/HTTP/FTP


AT Instruction Set, Cloud Server, An-
User Configuration
droid/iOS APP

DS-ESP12S-1
ESP-12S
Pinout

Pin Number Pin Name Function

1 RST Reset module

2 A/d conversion result. Input voltage range 0~1V, value range:


ADC

3 EN Chip enable pin. Active high

4 GPIO16; can be used to wake up the chipset from deep sleep


GPIO16
mode
5 GPIO14 GPIO14;HSPI_CLK

6 GPIO12 GPIO12;HSPI_MISO

7 GPIO13 GPIO13;HSPI_MOSI; UART0_CTS

8 VCC 3.3V power supply (VDD)

DS-ESP12S-1
ESP-12S
9 GND GND

10 GPIO15 GPI15; MTDO; HSPICS; UARTT0_RTS


11 GPIO2 GPIO2; UART1_TXD

12 GPIO0 GPIO0

13 GPIO4 GPIO4

14 GPIO5 GPIO5

15 RXD0 UARTT0_RXD; GPIO3

16 TXD0 UART0_TXD; GPIO1

Interfaces

Interface Pin Name Description

IO12(MISO),
IO13(MISO) SPI Flash, display screen, and
HSPI MCU can be connected using
IO14(CLK), HSPI interface
IO15(CS)

Currently the PWM interface


has four channels, but users
IO129(R)
can extend the channels
PWM IO15(G), according to their own needs.
PWM interface can be used to
IO13(B)
control LED light, buzzers,
relays, electronic machines,

The functionality of Infrared


remote control interface can
IO14(IR_T), be implemented via software
IR Remote Control programming. NEC coding,
IO5(IR_R) modulation, and demodulation
are used by this interface. The
frequency of modulated carrier

ESP8266EX integrates a 10-


bit analog ADC. It can be used
to test the power supply
voltage of VDD3P3 (Pin3 and
Pin4) and the input power
ADC TOUT voltage of TOUT (Pin6).
However, these two functions
cannot be used
simultaneously. This interface
is typically used in sensor

DS-ESP12S-1
ESP-12S
I2C Interface can be used to
IO14(SCL), connect external sensor
I2C
IO2(SDA) products and display screens,
etc.

Devices with UART interfaces


can be connected with the
module.
Downloading:U0TXD+U0RXD
or GPIO2+U0RXD
Communicating: UART0:
U0TXD,U0RXD, MTDO
UART0: (U0RTS), MTCK (U0CTS)
TXD(U0TXD), Debugging: UART1_TXD
(GPIO2) can be used to print
RXD(U0RXD),
UART
IO15(RTS)
IO13(CTS) By default, UART0 will output
some printed information when
IO2(TXD) the device is powered on and
is boosting up. If this issue
exerts influence on some
specific applications, users
can exchange the inner pins of
UART when initializing, that is
to say, exchange U0TXD,
U0TXD with U0RTS, U0CTS.

I2S Input:
IO12 (I2SI_DATA);
IO13 (I2SI_BCK);
IO14 (I2SI_WS);
I2S interface is mainly used for
I2S collecting, processing and
I2S Output:
transmission of audio data.

IO15 (I2SO_BCK);
IO3 (I2SO_DATA);
IO2 (I2SO_WS).

DS-ESP12S-1
ESP-12S
Pin Mode

Mode GPIO15 GPIO0 GPIO2


UART Low Low High
Flash Boot Low High High

Antenna Interface

ESP-12S Modules through the PIEX interface to connect to external antenna.


The antenna must be in line with the 802.11g/802.11b IEEE standard, and the antenna
parameters are shown in the following table:

Rating Value

Frequency Range 2.4~2.4825GHz

Impedance 5Ω

Package information/installation method

The external size of the ESP-12S is 16mm*17mm*3mm, as is illustrated in figure 4 below:

DS-ESP12S-1
ESP-12S

Length Width Height PAD Size Pin Pitch


(Bottom)
16 mm 17 mm 3 mm 1 mm x 1.2 mm 2 mm

Package
ESP-12S use a half hole patch package, Module PCB Footprint shown in the following figure:

DS-ESP12S-1
ESP-12S
Installation method

Using ESP-12S. modules direction is best with the antenna close to the edge of the board.
When soldering the module, you must not be in a high temperature environment. We
recommend the reflow soldering temperature curve as shown in figure 6:

Absolute Maximum figures

DS-ESP12S-1
ESP-12S
Recommended Operating Conditions

AT Commend Testing

1. Hardware connection
As shown in figure 7, ESP-12S via a USB to TTL Tool connected to the computer, software tool
through the serial port on the computer can be AT instruction test.

AT Command

Espressif AT instruction set functions and methods of use


AT commands set is divided into: Basic AT commands, WiFi related AT commands, TCP / IP AT

DS-ESP12S-1
ESP-12S
Command Description

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. Baudrate = 115200
5. AT Commands has to be capitalized, and end with "/r/n"

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.

Basic
Command Description
AT Test AT Startup
AT + RST Restart module
AT + GMR View version info
AT + GSLP Enter deep-sleep mode
ATE AT commands echo or not
AT + RESTORE Factory rest
AT + UART UART configuration, [@deprecated]
AT + UART_CUR UART current configuration

DS-ESP12S-1
ESP-12S

UART default configuration, save to


AT + UART_DEF

AT + SLEEP Sleep Mode


AT + RFPOWER Set Maximum value of RF TX power
AT + RFVDD Set RF TX Power according to VDD33

AT – Test AT startup
The type of this command is "executed". It's used to test the setup function of your wireless
WiFi module.

AT—Test AT Startup
Response OK
Parameters Null

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 enter this deep sleep mode, i.e., connect
XPD_DCDC with EXT_RSTB via 0R.

DS-ESP12S-1
ESP-12S

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 Esp8266 AT Instruction Set, can be downloaded
to shun official website.

DS-ESP12S-1
ESP-12S
Simplified Declaration of Conformity (RED)
BG - С настоящото RF Solutions Limited декларира, че този тип радиосъоръжение дефинирани в този документ е в съответствие с
Директива 2014/53/ЕС. Цялостният текст на ЕС декларацията за съответствие може да се намери на следния интернет адрес:
www.rfsolutions.co.uk
CS -Tímto RF Solutions Limited prohlašuje, že typ rádiového zařízení definované v tomto dokumentu je v souladu se směrnicí
2014/53/EU. Úplné znění EU prohlášení o shodě je k dispozici na této internetové adrese: www.rfsolutions.co.uk
DA - Hermed erklærer RF Solutions Limited , at radioudstyrstypen defineret i dette dokument er i overensstemmelse med
direktiv 2014/53/EU. EU-overensstemmelseserklæringens fulde tekst kan findes på følgende internetadresse:
www.rfsolutions.co.uk
DE - Hiermit erklärt RF Solutions Limited , dass der Funkanlagentyp in diesem Dokument definiert der Richtlinie 2014/53/EU
entspricht. Der vollständige Text der EU-Konformitätserklärung ist unter der folgenden Internetadresse verfügbar:
www.rfsolutions.co.uk
EL - Με την παρούσα ο/η RF Solutions Limited , δηλώνει ότι ο ραδιοεξοπλισμός ορίζεται σε αυτό το έγγραφο πληροί την οδηγία 2014/53/
ΕΕ. Το πλήρες κείμενο της δήλωσης συμμόρφωσης ΕΕ διατίθεται στην ακόλουθη ιστοσελίδα στο διαδίκτυο: www.rfsolutions.co.uk
EN - Hereby, RF Solutions Limited declares that the radio equipment type defined within this document is in compliance with
Directive 2014/53/EU. The full text of the EU declaration of conformity is available at the following internet address:
www.rfsolutions.co.uk
ES - Por la presente, RF Solutions Limited declara que el tipo de equipo radioeléctrico definido dentro de este documento es
conforme con la Directiva 2014/53/UE. El texto completo de la declaración UE de conformidad está disponible en la dirección
Internet siguiente: www.rfsolutions.co.uk
ET -Käesolevaga deklareerib RF Solutions Limited , et käesolev raadioseadme tüüp määratletud selles dokumendis vastab direk-
tiivi 2014/53/EL nõuetele. ELi vastavusdeklaratsiooni täielik tekst on kättesaadav järgmisel internetiaadressil:
www.rfsolutions.co.uk
FI -RF Solutions Limited vakuuttaa, että radiolaitetyyppi määratletud selles dokumendis on direktiivin 2014/53/EU mukainen. EU
-vaatimustenmukaisuusvakuutuksen täysimittainen teksti on saatavilla seuraavassa internetosoitteessa: www.rfsolutions.co.uk
FR - Le soussigné, RF Solutions Limited , déclare que l'équipement radioélectrique du type défini dans ce document est con-
forme à la directive 2014/53/UE. Le texte complet de la déclaration UE de conformité est disponible à l'adresse internet sui-
vante: www.rfsolutions.co.uk
HR - RF Solutions Limited ovime izjavljuje da je radijska oprema tipa definirani u ovom dokumentu u skladu s Direktivom 2014/53/
EU. Cjeloviti tekst EU izjave o sukladnosti dostupan je na sljedećoj internetskoj adresi: www.rfsolutions.co.uk
HU - RF Solutions Limited igazolja, hogy a dokumentumban meghatározottak szerint típusú rádióberendezés megfelel a
2014/53/EU irányelvnek. Az EU-megfelelőségi nyilatkozat teljes szövege elérhető a következő internetes címen:
www.rfsolutions.co.uk
IT - Il fabbricante, RF Solutions Limited , dichiara che il tipo di apparecchiatura radio definito all'interno di questo documento è
conforme alla direttiva 2014/53/UE. Il testo completo della dichiarazione di conformità UE è disponibile al seguente indirizzo
Internet: www.rfsolutions.co.uk
LT - Aš, RF Solutions Limited , patvirtinu, kad radijo įrenginių tipas apibrėžta šiame dokumente atitinka Direktyvą 2014/53/ES.
Visas ES atitikties deklaracijos tekstas prieinamas šiuo interneto adresu: www.rfsolutions.co.uk
LV - Ar šo RF Solutions Limited deklarē, ka radioiekārta kas definēts šajā dokumentā atbilst Direktīvai 2014/53/ES. Pilns ES
atbilstības deklarācijas teksts ir pieejams šādā interneta vietnē: www.rfsolutions.co.uk
MT - B'dan, RF Solutions Limited , niddikjara li dan it-tip ta' tagħmir tar-radju definit f'dan id-dokument huwa konformi mad-
Direttiva 2014/53/UE. It-test kollu tad-dikjarazzjoni ta' konformità tal-UE huwa disponibbli f'dan l-indirizz tal-Internet li ġej:
www.rfsolutions.co.uk
NL - Hierbij verklaar ik, RF Solutions Limited , dat het type radioapparatuur gedefinieerd in dit document conform is met Richt-
lijn 2014/53/EU. De volledige tekst van de EU-conformiteitsverklaring kan worden geraadpleegd op het volgende internetadres:
www.rfsolutions.co.uk
PL - RF Solutions Limited niniejszym oświadcza, że typ urządzenia radiowego zdefiniowane w tym dokumencie jest zgodny z
dyrektywą 2014/53/UE. Pełny tekst deklaracji zgodności UE jest dostępny pod następującym adresem internetowym:
www.rfsolutions.co.uk
PT - O(a) abaixo assinado(a) RF Solutions Limited declara que o presente tipo de equipamento de rádio definido neste documento
está em conformidade com a Diretiva 2014/53/UE. O texto integral da declaração de conformidade está disponível no seguinte
endereço de Internet: www.rfsolutions.co.uk
RO - Prin prezenta, RF Solutions Limited declară că tipul de echipamente radio definit în acest document este în conformitate
cu Directiva 2014/53/UE. Textul integral al declarației UE de conformitate este disponibil la următoarea adresă internet:
www.rfsolutions.co.uk
SK - RF Solutions Limited týmto vyhlasuje, že rádiové zariadenie typu definované v tomto dokumente je v súlade so smernicou
2014/53/EÚ. Úplné EÚ vyhlásenie o zhode je k dispozícii na tejto internetovej adrese: www.rfsolutions.co.uk
SL - RF Solutions Limited potrjuje, da je tip radijske opreme opredeljeno v tem dokumentu skladen z Direktivo 2014/53/EU. Ce-
lotno besedilo izjave EU o skladnosti je na voljo na naslednjem spletnem naslovu: www.rfsolutions.co.uk
SV - Härmed försäkrar RF Solutions Limited att denna typ av radioutrustning definieras i detta dokument överensstämmer med
direktiv 2014/53/EU. Den fullständiga texten till EU-försäkran om överensstämmelse finns på följande webbadress:
www.rfsolutions.co.uk

DS-ESP12S-1
ESP-12S

Important European compliance information for module datasheets

This RF Solutions radio module meets the essential requirements of the European Radio
Equipment Directive 2014/53/EU and has been tested to European Harmonised Standards and
CE marked where space allows. A copy of the EU Declaration of Conformity can be located on
the RF Solutions Website, www.rfsolutions.co.uk/certification-i59.

When using the module in an end product, continued compliance can only be assured by
incorporating the module in accordance with RF Solutions specific installation instructions and
in accordance with the published information on the RF Solutions product data sheet. The
antenna gain specification must be adhered to at all times.

Article 3.1a and 3.1b of the EU Radio Equipment Directive 2014/53/EU should be assessed in
the final product.

Failure to follow this guidance may result in a non-compliant product being place on the
European Market, for which RF Solutions cannot accept any responsibility.

RF Solutions Ltd. Recycling Notice


Meets the following EC Directives:

DO NOT

Discard with normal waste, please recycle.


ROHS Directive 2011/65/EU and amendment 2015/863/EU
Specifies certain limits for hazardous substances.
WEEE Directive 2012/19/EU

Waste electrical & electronic equipment. This product must be disposed of through a licensed WEEE collection point. RF
Solutions Ltd., fulfils its WEEE obligations by membership of an approved compliance scheme. Environment Agency
Registration Number: WEE/JB0104WV.

Disclaimer
Whilst the information in this document is believed to be correct at the time of issue, RF Solutions Ltd does not accept any liability whatsoever for its accuracy,
adequacy or completeness. No express or implied warranty or representation is given relating to the information contained in this document. RF Solutions Ltd
reserves the right to make changes and improvements to the product(s) described herein without notice. Buyers and other users should determine for them-
selves the suitability of any such information or products for their own particular requirements or specification(s). RF Solutions Ltd shall not be liable for any loss
or damage caused as a result of user’s own determination of how to deploy or use RF Solutions Ltd’s products. Use of RF Solutions Ltd products or components
in life support and/or safety applications is not authorised except with express written approval. No licences are created, implicitly or otherwise, under any of RF
Solutions Ltd’s intellectual property rights. Liability for loss or damage resulting or caused by reliance on the information contained herein or from the use of the
product (including liability resulting from negligence or where RF Solutions Ltd was aware of the possibility of such loss or damage arising) is excluded. This will
not operate to limit or restrict RF Solutions Ltd’s liability for death or personal injury resulting from its negligence.

You might also like