ESPRESSIF ESP32-S2-SOLO-2U WiFi Module User Manual

June 10, 2024
ESPRESSIF

ESP32-S2-SOLO-2U
User ManualESPRESSIF ESP32-S2-SOLO-2U WiFi Module
- ESP32-S2-SOLO-2U

ESP32-S2-SOLO-2U WiFi Module

2.4 GHz Wi-Fi (802.11 b/g/n) module
Built around ESP32-S2 series of SoC, Xtensa® single-core 32-bit LX7 microprocessor
Flash up to 16 MB, optional 2 MB PSRAM in chip package
36 GPIOs, rich set of peripherals
External antenna connector

Module Overview

ESP32-S2-SOLO-2U is a general-purpose Wi-Fi module. The rich set of peripherals and a small size make this module an ideal choice for smart homes, industrial automation, health care, consumer electronics, etc.

Table 1: ESP32-S2-SOLO-2U Specifications

Categories Parameters Specifications
Wi-Fi Protocols 802.11 b/g/n (up to 150 Mbps)
Frequency range 2412 — 2462 MHz
Hardware Module interfaces GPIO, SPI, 12S, UART, 12C, LED PWM, TWAI®, LCD,

Camera interface, ADC, DAC, touch sensor, temperature sensor, USB OTG
Integrated crystal| 40 MHz crystal
Integrated SPI flash| 4 MB
Operating voltage/Power supply| 3.0 V — 3.6 V
Operating current| Average: 80 mA
Minimum current delivered by power supply| 500 mA
Ambient temperature| -40 °C — +85 °C/105 °C
Moisture sensitivity level (MSL)| Level 3

Pin Definitions

2.1 Pin Layout
The pin diagram below shows the approximate location of pins on the module.

ESPRESSIF ESP32-S2-SOLO-2U WiFi Module - ESPRESSIF ESP32-S2-SOLO-2U WiFi
Module

2.2 Pin Description
The module has 41 pins. See pin definitions in Table 2.
For peripheral pin configurations, please refer to ESP32-S2 Series Datasheet.

Table 2: Pin Definitions

Name No. Type¹ Function
GND 1 P Ground
3V3 2 P Power supply
EN 3 I High: on, enables the chip.

Low: off, the chip powers off.
Note: Do not leave the EN pin floating.
104| 4| I/O/T| RTC_GPIO4, GPIO4, TOUCH4, ADC1_CH3
105| 5| I/O/T| RTC_GPIO5, GPIO5, TOUGHS, ADC1_CH4
106| 6| I/O/T| RTC_GPIO6, GPIO6, TOUCH6, ADC1 _CH5
107| 7| I/O/T| RTC_GPIO7, GP107, TOUCH7, ADC1_CH6
1015| 8| I/O/T| RTC_GPI015, GPI015, UORTS, ADC2_CH4, XTAL_32K_P
1016| 9| I/O/T| RTC_GPI016, GPIO16, UOCTS, ADC2_CH5, XTAL_32K_N
1017| 10| I/O/T| RTC_GPIO17, GPIO17, U1TXD, ADC2_CH6, DAC_1
1018| 11| I/O/T| RTC_GPIO18, GPI018, U1RXD, ADC2_CH7, DAC_2, CLK_OUT3
108| 12| I/O/T| RTC_GPIO8, GPIO8, TOUCH8, ADC1_CH7
1019| 13| I/O/T| RTC_GPI019, GPIO19, U1RTS, ADC2_CH8, CLK_OUT2, USB_D-
1020| 14| I/O/T| RTC_GPIO20, GPIO20, U1 CTS, ADC2_CH9, CLK_OUT1, USB_D+
103| 15| I/O/T| RTC_GPIO3, GPI03, TOUCH3, ADC1_CH2
1046| 16| I| GPI046
109| 17| I/O/T| RTC_GPIO9, GPIO9, TOUCH9, ADC1_CH8, FSPIHD
1010| 18| I/O/T| RTC_GPIO10, GPI010, TOUCH10, ADC1_CH9, FSPICSO, FSPIIO4
1011| 19| I/O/T| RTC_GPI011, GPI011, TOUCH11, ADC2_CHO, FSPID, FSPI105
1012| 20| I/O/T| RTC_GPIO12, GPIO12, TOUCH12, ADC2_CH1, FSPICLK, FSPIIO6
1013| 21| I/O/T| RTC_GPIO13, GPIO13, TOUCH13, ADC2_CH2, FSPIQ, FSPIIO7
1014| 22| I/O/T| RTC_GPIO14, GPIO14, TOUCH14, ADC2_CH3, FSPIWP, FSPIDQS
1021| 23| I/O/T| RTC_GPIO21, GPIO21
1033| 24| I/O/T| SPIIO4, GPI033, FSPIHD
1034| 25| I/O/T| SPIIOS, GPI034, FSPICSO
1045| 26| I/O/T| GPI045
100| 27| I/O/T| RTC_GPIOO, GP100
1035| 28| I/O/T| SPIIO6, GPI035, FSPID
1036| 29| I/O/T| SPIIO7, GPI036, FSPICLK
1037| 30| I/O/T| SPIDQS, GP1037, FSPIQ
1038| 31| I/O/T| GPI038, FSPIWP
1039| 32| I/O/T| MTCK, GPI039, CLK_OUT3
1040| 33| I/O/T| MTDO, GPI040, CLK_OUT2
1041| 34| I/O/T| MTDI, GPIO41, CLK_OUT1
1042| 35| I/O/T| MTMS, GP1042
RXDO| 36| I/O/T| UORXD, GPI044, CLK_OUT2
TXDO| 37| I/O/T| UOTXD, GPI043, CLK_OUT1
102| 38| I/O/T| RTC_GPIO2, GPIO2, TOUCH2, ADC1_CH1
101| 39| I/O/T| RTC_GPIO1, GPI01, TOUCH1, ADC1 _CHO
GND| 40| P| Ground
EPAD| 41| P| Ground

1 P: power supply; I: input; O: output; T: high impedance.

Get Started

3.1 What You Need
To develop applications for module you need:

  • 1 x ESP32-S2-SOLO-2U
  • 1 x Espressif RF testing board
  • 1 x USB-to-Serial board
  • 1 x Micro-USB cable
  • 1 x PC running Linux

In this user guide, we take Linux operating system as an example. For more information about the configuration on Windows and macOS, please refer to ESP- IDF Programming Guide.

3.2 Hardware Connection

  1. Solder the ESP32-S2-SOLO-2U module to the RF testing board as shown in Figure 2.ESPRESSIF ESP32-S2-SOLO-2U WiFi Module - fig 1
  2. Connect the RF testing board to the USB-to-Serial board via TXD, RXD, and GND.
  3. Connect the USB-to-Serial board to the PC.
  4. Connect the RF testing board to the PC or a power adapter to enable 5 V power supply, via the Micro-USB cable.
  5. During download, connect IO0 to GND via a jumper. Then, turn ”ON” the testing board.
  6. Download firmware into flash. For details, see the sections below.
  7. After download, remove the jumper on IO0 and GND.
  8. Power up the RF testing board again. The module will switch to working mode. The chip will read programs from flash upon initialization.

Note:
IO0 is internally logic high. If IO0 is set to pull-up, the Boot mode is selected. If this pin is pull-down or left floating, the Download mode is selected. For more information on ESP32-S2-SOLO-2U, please refer to ESP32-S2 Series Datasheet.

3.3 Set up Development Environment
The Espressif IoT Development Framework (ESP-IDF for short) is a framework for developing applications based on the Espressif SoCs. Users can develop applications with ESP32-S2 in Windows/Linux/macOS based on ESP-IDF. Here we take Linux operating system as an example.

3.3.1 Install Prerequisites
To compile with ESP-IDF you need to get the following packages:

  • CentOS 7 & 8:
    1 sudo yum -y update && sudo yum install git wget flex bison gperf python3 python3- pip
    2 python3-setuptools cmake ninja-build ccache dfu-util libusbx

  • Ubuntu and Debian:
    1 sudo apt-get install git wget flex bison gperf python3 python3-pip python3- setuptools
    2 cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0

  • Arch:
    1 sudo pacman -S –needed gcc git make flex bison gperf python-pip cmake ninja ccache
    2 dfu-util libusb

Note:

  • This guide uses the directory ~/esp on Linux as an installation folder for ESP-IDF.
  • Keep in mind that ESP-IDF does not support spaces in paths.

3.3.2 Get ESP-IDF
To build applications for ESP32-S2-SOLO-2U module, you need the software libraries provided by Espressif in ESP-IDF repository.
To get ESP-IDF, create an installation directory (~/esp) to download ESP-IDF to and clone the repository with ‘git clone’:

  1. mkdir -p ~/esp
  2. cd ~/esp
  3.  Lgit clone –recursive https://github.com/espressif/esp-idf.git

ESP-IDF will be downloaded into ~/esp/esp-idf. Consult ESP-IDF Versions for information about which ESP-IDF version to use in a given situation.

3.3.3 Set up Tools
Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the compiler, debugger, Python packages, etc. ESP-IDF provides a script named ’install.sh’ to help set up the tools in one go.

  1. cd ~/esp/esp-idf
  2. ./install.sh

3.3.4 Set up Environment Variables
The installed tools are not yet added to the PATH environment variable. To make the tools usable from the command line, some environment variables must be set. ESP-IDF provides another script ’export.sh’ which does that. In the terminal where you are going to use ESP-IDF, run:

  • . $HOME/esp/esp-idf/export.sh

Now everything is ready, you can build your first project on ESP32-S2-SOLO-2U module.

3.4 Create Your First Project
3.4.1 Start a Project
Now you are ready to prepare your application for ESP32-S2-SOLO-2U module. You can start with get-started/hello_world project from examples directory in ESP- IDF.
Copy get-started/hello_world to ~/esp directory:

  1. cd ~/esp
  2. cp -r $IDF_PATH/examples/get-started/hello_world .

There is a range of example projects in the examples directory in ESP-IDF. You can copy any project in the same way as presented above and run it. It is also possible to build examples in-place, without copying them first.

3.4.2 Connect Your Device
Now connect your module to the computer and check under what serial port the module is visible. Serial ports in Linux start with ‘/dev/tty’ in their names. Run the command below two times, first with the board unplugged, then with plugged in. The port which appears the second time is the one you need:

  1. ls /dev/tty*

Note:
Keep the port name handy as you will need it in the next steps.

3.4.3 Configure
Navigate to your ‘hello_world’ directory from Step 3.4.1. Start a Project, set ESP32-S2 chip as the target and run the project configuration utility ‘menuconfig’.

  1. cd ~/esp/hello_world
  2. idf.py set-target esp32s2
  3. idf.py menuconfig

Setting the target with ‘idf.py set-target ESP32-S2’ should be done once, after opening a new project. If the project contains some existing builds and configuration, they will be cleared and initialized. The target may be saved in environment variable to skip this step at all. See Selecting the Target for additional information. If the previous steps have been done correctly, the following menu appears:

ESPRESSIF ESP32-S2-SOLO-2U WiFi Module - fig 2

You are using this menu to set up project specific variables, e.g. Wi-Fi network name and password, the processor speed, etc. Setting up the project with menuconfig may be skipped for “hello_word”. This example will run with default configuration
The colors of the menu could be different in your terminal. You can change the appearance with the option ‘- -style’ . Please run ‘idf.py menuconfig – -help’ for further information.

3.4.4 Build the Project
Build the project by running:

  1. idf.py build

This command will compile the application and all ESP-IDF components, then it will generate the bootloader, partition table, and application binaries.

  1. $ idf.py build
  2. Running cmake in directory /path/to/hello_world/build
  3. Executing ”cmake -G Ninja –warn-uninitialized /path/to/hello_world”…
  4. Warn about uninitialized values.
  5. — Found Git: /usr/bin/git (found version ”2.17.0”)
  6. — Building empty aws_iot component due to configuration
  7. — Component names: …
  8. — Component paths: …
    1. … (more lines of build system output)
    1. [527/527] Generating hello_world.bin
  9. esptool.py v2.3.1
    1. Project build complete. To flash, run this command:
  10. ../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600
  11. write_flash –flash_mode dio –flash_size detect –flash_freq 40m
  12. 0x10000 build/hello_world.bin build 0x1000 build/bootloader/bootloader.bin 0x8000
  13. build/partition_table/partition-table.bin
  14. or run ’idf.py -p PORT flash’

If there are no errors, the build will finish by generating the firmware binary .bin file.

3.4.5 Flash onto the Device
Flash the binaries that you just built onto your module by running:

  1. idf.py -p PORT [-b BAUD] flash

Replace PORT with your ESP32-S2 board’s serial port name from Step: Connect Your Device.
You can also change the flasher baud rate by replacing BAUD with the baud rate you need. The default baud  rate is 460800.
For more information on idf.py arguments, see idf.py.

Note:
The option ‘flash‘ automatically builds and flashes the project, so running ‘idf.py build‘ is not necessary.

When flashing, you will see the output log similar to the following:

  1. esptool.py esp32s2 -p /dev/ttyUSB0 -b 460800 –before=default_reset –after=hard_reset
  2. write_flash –flash_mode dio –flash_freq 80m –flash_size 4 MB 0x0 bootloader/bootloader. bin
  3. 0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin
  4. esptool.py v3.2-dev
  5. Serial port /dev/ttyUSB0
  6. Connecting….
  7. Chip is ESP32-S2
  8. Features: WiFi
  9. Crystal is 40MHz
  10. MAC: 7c:df:a1:e0:00:64
  11. Uploading stub…
  12. Running stub…
  13. Stub running…
  14. Changing baud rate to 460800
  15. Changed.
  16. Configuring flash size…
  17. Flash will be erased from 0x00000000 to 0x00004fff…
  18. Flash will be erased from 0x00010000 to 0x00039fff…
  19. Flash will be erased from 0x00008000 to 0x00008fff…
  20. Compressed 18896 bytes to 11758…
  21. Writing at 0x00000000… (100 %)
  22. Wrote 18896 bytes (11758 compressed) at 0x00000000 in 0.5 seconds (effective 279.9 kbit/s) …
  23. Hash of data verified.
  24. Compressed 168208 bytes to 88178…
  25. Writing at 0x00010000… (16 %)
  26. Writing at 0x0001a80f… (33 %)
  27. Writing at 0x000201f1… (50 %)
  28. Writing at 0x00025dcf… (66 %)
  29. Writing at 0x0002d0be… (83 %)
  30. Writing at 0x00036c07… (100 %)
  31. Wrote 168208 bytes (88178 compressed) at 0x00010000 in 2.4 seconds (effective 569.2 kbit/s )…
  32. Hash of data verified.
  33. Compressed 3072 bytes to 103…
  34. Writing at 0x00008000… (100 %)
  35. Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 478.9 kbit/s)…
  36. Hash of data verified.
    1. Leaving…
  37. Hard resetting via RTS pin…
  38. Done

If there are no issues by the end of the flash process, the board will reboot and start up the “hello_world” application.

3.4.6 Monitor
To check if “hello_world” is indeed running, type ‘idf.py -p PORT monitor‘ (Do not forget to replace PORT with your serial port name).
This command launches the IDF Monitor application:

  1. $ idf.py -p /dev/ttyUSB0 monitor
  2. Running idf_monitor in directory […]/esp/hello_world/build
  3. Executing ”python […]/esp-idf/tools/idf_monitor.py -b 115200
  4. […]/esp/hello_world/build/hello-world.elf”…
  5. — idf_monitor on /dev/ttyUSB0 115200 —
  6. — Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H —
  7. ets Jun 8 2016 00:22:57
    1. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  8. ets Jun 8 2016 00:22:57

After startup and diagnostic logs scroll up, you should see “Hello world!” printed out by the application.

  1. Hello world!
  2. Restarting in 10 seconds…
  3. This is esp32s2 chip with 1 CPU core, WiFi,
  4. silicon revision 1
  5. Minimum free heap size: 390684 bytes
  6. Restarting in 9 seconds…
  7. Restarting in 8 seconds…
  8. Restarting in 7 seconds…

To exit IDF monitor use the shortcut Ctrl+].
That’s all what you need to get started with ESP32-S2-SOLO-2U module! Now you are ready to try some other examples in ESP-IDF, or go right to developing your own applications.

U.S. FCC Statement

The device complies with KDB 996369 D03 OEM Manual v01. Below are integration instructions for host product manufacturers according to the KDB 996369 D03 OEM Manual v01.

List of Applicable FCC Rules
FCC Part 15 Subpart C 15.247

Specific Operational Use Conditions
The module has WiFi functions.

  • Operation Frequency:
    – WiFi: 2412 ~ 2462 MHz

  • Number of Channel:
    – WiFi: 11

  • Modulation:
    – WiFi: DSSS; OFDM

  • Type: External antenna connector

  • Gain: 2.33 dBi Max

The module can be used for IoT applications with a maximum 2.33 dBi antenna. The host manufacturer installing this module into their product must ensure that the final composit product complies with the FCC requirements by a technical assessment or evaluation to the FCC rules, including the transmitter operation. The host manufacturer has to be aware not to provide information to the end user regarding how to install or remove this RF module in the user’s manual of the end product which integrates this module. The end user manual shall include all required regulatory information/warning as show in this manual.

Limited Module Procedures
Not applicable. The module is a single module and complies with the requirement of FCC Part 15.212.
Trace Antenna Designs
Not applicable. The module has its own antenna, and does not need a host’s printed board microstrip trace antenna, etc.
RF Exposure Considerations
The module must be installed in the host equipment such that at least 20cm is maintained between the antenna and users’ body; and if RF exposure statement or module layout is changed, then the host product manufacturer required to take responsibility of the module through a change in FCC ID or new application. The FCC ID of the module cannot be used on the final product. In these circumstances, the host manufacturer will be responsible for re- evaluating the end product (including the transmitter) and obtaining a separate FCC authorization.

Antennas
Antenna specification are as follows:

  • Type: External antenna connector
  • Gain: 2.33 dBi

This device is intended only for host manufacturers under the following conditions:

  • The transmitter module may not be co-located with any other transmitter or antenna.
  • The module shall be only used with the external antenna(s) that has been originally tested and certified with this module.
  • The antenna must be either permanently attached or employ a ‘unique’ antenna coupler.

As long as the conditions above are met, further transmitter test will not be required. However, the host manufacturer is still responsible for testing their end-product for any additional compliance requirements required with this module installed (for example, digital device emissions, PC peripheral requirements, etc.).

Label and Compliance Information
Host product manufacturers need to provide a physical or e-label stating “Contains FCC ID: 2AC7Z-ESPS2SOLO2U” with their finished product.

Information on test modes and additional testing requirements

  • Operation Frequency:
    – WiFi: 2412 ~ 2462 MHz

  • Number of Channel:
    – WiFi: 11

  • Modulation:
    – WiFi: DSSS; OFDM

Host manufacturer must perform test of radiated and conducted emission and spurious emission, etc., according to the actual test modes for a stand-alone modular transmitter in a host, as well as for multiple simultaneously transmitting modules or other transmitters in a host product. Only when all the test results of test modes comply with FCC requirements, then the end product can be sold legally.

Additional testing, Part 15 Subpart B compliant
The modular transmitter is only FCC authorized for FCC Part 15 Subpart C 15.247 and that the host product manufacturer is responsible for compliance to any other FCC rules that apply to the host not covered by the modular transmitter grant of certification. If the grantee markets their product as being Part 15 Subpart B compliant (when it also contains unintentional- radiator digital circuity), then the grantee shall provide a notice stating that the final host product still requires Part 15 Subpart B compliance testing with the modular transmitter installed.
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.

However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one of the following measures:

  • Reorient or relocate the receiving antenna.

  • Increase the separation between the equipment and receiver.

  • Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.

  • Consult the dealer or an experienced radio/TV technician for help.
    This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:

  • This device may not cause harmful interference.

  • This device must accept any interference received, including interference that may cause undesired operation.

Caution:
Any changes or modifications not expressly approved by the party responsible for compliance could void the user’s  authority to operate the equipment.

This equipment complies with FCC RF radiation exposure limits set forth for an uncontrolled environment. This device and its antenna must not be co-located or operating in conjunction with any other antenna or transmitter.
The antennas used for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co- located or operating in conjunction with any other antenna or transmitter.

OEM Integration Instructions
This device is intended only for OEM integrators under the following conditions:

  • The transmitter module may not be co-located with any other transmitter or antenna.
  • The module shall be only used with the external antenna(s) that has been originally tested and certified with this module.

As long as the conditions above are met, further transmitter test will not be required. However, the OEM integrator is still responsible for testing their end-product for any additional compliance requirements required with this module installed (for example, digital device emissions, PC peripheral requirements, etc.).
Validity of Using the Module Certification
In the event that these conditions cannot be met (for example certain laptop configurations or co-location with another transmitter), then the FCC authorization for this module in combination with the host equipment is no longer considered valid and the FCC ID of the module cannot be used on the final product. In these circumstances, the OEM integrator will be responsible for re-evaluating the end product (including the transmitter) and obtaining a separate FCC authorization.

End Product Labeling
The final end product must be labeled in a visible area with the following: “Contains Transmitter Module FCC ID: 2AC7Z-ESPS2SOLO2U”.

Related Documentation and Resources

Related Documentation

Developer Zone

Products

Contact Us

Revision History

Date Version Release notes
9/1/2022 v0.5 Preliminary release

Disclaimer and Copyright Notice
Information in this document, including URL references, is subject to change without notice.
ALL THIRD PARTY’S INFORMATION IN THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES TO ITS AUTHENTICITY AND ACCURACY.
NO WARRANTY IS PROVIDED TO THIS DOCUMENT FOR ITS MERCHANTABILITY, NON- INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, NOR DOES ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE.
All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein.
The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG.
All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged.
Copyright © 2022 Espressif Systems (Shanghai) Co., Ltd. All rights reserved.

www.espressif.com
Version 0.5
Espressif Systems
Copyright © 2022

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals