Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit Feather ESP32-S2: Examples, Pinouts, and Specs

Image of Adafruit Feather ESP32-S2
Cirkit Designer LogoDesign with Adafruit Feather ESP32-S2 in Cirkit Designer

Introduction

The Adafruit Feather ESP32-S2 (Manufacturer Part ID: 5000) is a compact and versatile microcontroller board designed for IoT and wireless applications. Powered by the ESP32-S2 chip, it features built-in Wi-Fi capabilities, making it an excellent choice for projects requiring wireless connectivity. Its small form factor and compatibility with the Feather ecosystem allow for seamless integration with a wide range of peripherals and accessories.

Explore Projects Built with Adafruit Feather ESP32-S2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered ESP32 Temperature Monitoring System
Image of Temp Sensor: A project utilizing Adafruit Feather ESP32-S2 in a practical application
This circuit consists of an Adafruit HUZZAH32 ESP32 Feather microcontroller, a temperature sensor, and a battery. The ESP32 reads temperature data from the sensor and is powered by the battery, enabling wireless temperature monitoring.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Force Measurement System with LSM303AGR Sensor
Image of final circuit diagram: A project utilizing Adafruit Feather ESP32-S2 in a practical application
This circuit features an Adafruit HUZZAH32 ESP32 Feather microcontroller connected to an Adafruit LSM303AGR sensor via I2C communication lines (SCL and SDA), a force sensing resistor (FSR) interfaced through an analog input with a pull-up resistor, and powered by a 3xAA battery pack. The LSM303AGR sensor provides acceleration and magnetic field measurements, while the FSR detects applied force. The ESP32 processes these inputs and can be programmed to respond to sensor data for applications such as motion tracking and force measurement.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Multi-Sensor Monitoring System
Image of ESP32 SENSOR CONNECT: A project utilizing Adafruit Feather ESP32-S2 in a practical application
This circuit features an ESP32 microcontroller connected to various sensors: an MQ-2 gas sensor, a KY-038 sound sensor, a DHT22 temperature and humidity sensor, and an SHT113 flame sensor. The ESP32 reads analog signals from the MQ-2, KY-038, and SHT113 sensors, and digital signals from the MQ-2, KY-038, SHT113, and DHT22 sensors. Additionally, there is a red LED that can be controlled by the ESP32, likely for indicating status or alerts.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Weather Station with Wi-Fi Connectivity
Image of flowchart 3D: A project utilizing Adafruit Feather ESP32-S2 in a practical application
This circuit features an ESP32 microcontroller interfacing with various sensors and modules, including a DHT22 temperature and humidity sensor, an ESP32 CAM for image capture, an I2C LCD screen for display, a load cell with an HX711 interface for weight measurement, and a buzzer for audio alerts. The ESP32 handles data acquisition, processing, and communication with these peripherals to create a multi-functional monitoring and alert system.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit Feather ESP32-S2

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Temp Sensor: A project utilizing Adafruit Feather ESP32-S2 in a practical application
Battery-Powered ESP32 Temperature Monitoring System
This circuit consists of an Adafruit HUZZAH32 ESP32 Feather microcontroller, a temperature sensor, and a battery. The ESP32 reads temperature data from the sensor and is powered by the battery, enabling wireless temperature monitoring.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of final circuit diagram: A project utilizing Adafruit Feather ESP32-S2 in a practical application
ESP32-Based Force Measurement System with LSM303AGR Sensor
This circuit features an Adafruit HUZZAH32 ESP32 Feather microcontroller connected to an Adafruit LSM303AGR sensor via I2C communication lines (SCL and SDA), a force sensing resistor (FSR) interfaced through an analog input with a pull-up resistor, and powered by a 3xAA battery pack. The LSM303AGR sensor provides acceleration and magnetic field measurements, while the FSR detects applied force. The ESP32 processes these inputs and can be programmed to respond to sensor data for applications such as motion tracking and force measurement.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ESP32 SENSOR CONNECT: A project utilizing Adafruit Feather ESP32-S2 in a practical application
ESP32-Based Multi-Sensor Monitoring System
This circuit features an ESP32 microcontroller connected to various sensors: an MQ-2 gas sensor, a KY-038 sound sensor, a DHT22 temperature and humidity sensor, and an SHT113 flame sensor. The ESP32 reads analog signals from the MQ-2, KY-038, and SHT113 sensors, and digital signals from the MQ-2, KY-038, SHT113, and DHT22 sensors. Additionally, there is a red LED that can be controlled by the ESP32, likely for indicating status or alerts.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of flowchart 3D: A project utilizing Adafruit Feather ESP32-S2 in a practical application
ESP32-Based Smart Weather Station with Wi-Fi Connectivity
This circuit features an ESP32 microcontroller interfacing with various sensors and modules, including a DHT22 temperature and humidity sensor, an ESP32 CAM for image capture, an I2C LCD screen for display, a load cell with an HX711 interface for weight measurement, and a buzzer for audio alerts. The ESP32 handles data acquisition, processing, and communication with these peripherals to create a multi-functional monitoring and alert system.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • IoT devices and smart home automation
  • Wireless sensor networks
  • Data logging and remote monitoring
  • Prototyping and development of Wi-Fi-enabled projects
  • Wearable electronics

Technical Specifications

The following table outlines the key technical details of the Adafruit Feather ESP32-S2:

Specification Details
Microcontroller ESP32-S2 (Xtensa® 32-bit LX7 processor)
Clock Speed 240 MHz
Flash Memory 4 MB (QSPI)
RAM 320 KB SRAM
Wi-Fi 802.11 b/g/n (2.4 GHz)
Bluetooth Not supported
USB Interface USB Type-C
Operating Voltage 3.3V
Input Voltage Range 3.3V to 6V
GPIO Pins 21 GPIO pins
ADC Channels 14-bit ADC with multiple channels
I2C, SPI, UART Supported
Power Options USB Type-C or LiPo battery (via JST connector)
Dimensions 51mm x 23mm x 8mm
Weight 5.5 grams

Pin Configuration and Descriptions

The Adafruit Feather ESP32-S2 features a standard Feather pinout. Below is the pin configuration:

Pin Name Description
1 USB USB power input (5V)
2 GND Ground
3 3V3 3.3V regulated output
4 EN Enable pin (active high)
5 GPIO0 General-purpose I/O, also used for boot mode selection
6 GPIO1 General-purpose I/O
7 SDA I2C data line
8 SCL I2C clock line
9 RX UART receive
10 TX UART transmit
11 A0-A5 Analog input pins (ADC capable)
12 D0-D13 Digital I/O pins
13 BAT LiPo battery input
14 RST Reset pin

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board:

    • Connect the board to a USB Type-C cable for power and programming.
    • Alternatively, connect a 3.7V LiPo battery to the JST connector for portable applications.
  2. Programming the Board:

    • Install the ESP32-S2 board support package in the Arduino IDE or CircuitPython.
    • Select "Adafruit Feather ESP32-S2" as the target board in the IDE.
    • Use the USB Type-C connection to upload your code.
  3. Connecting Peripherals:

    • Use the GPIO pins for digital and analog input/output.
    • Connect I2C devices to the SDA and SCL pins.
    • Use the UART pins (RX/TX) for serial communication.

Important Considerations and Best Practices

  • Ensure the input voltage does not exceed 6V to avoid damaging the board.
  • Use level shifters when interfacing with 5V logic devices, as the board operates at 3.3V logic.
  • Avoid shorting the GPIO pins to ground or power to prevent damage.
  • For battery-powered applications, monitor the battery voltage using the BAT pin.

Example Code for Arduino UNO Integration

Below is an example of how to blink an LED connected to GPIO5 on the Adafruit Feather ESP32-S2:

// Example: Blink an LED on GPIO5 (D5)

// Define the LED pin
#define LED_PIN 5

void setup() {
  // Set the LED pin as an output
  pinMode(LED_PIN, OUTPUT);
}

void loop() {
  // Turn the LED on
  digitalWrite(LED_PIN, HIGH);
  delay(1000); // Wait for 1 second

  // Turn the LED off
  digitalWrite(LED_PIN, LOW);
  delay(1000); // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Board Not Detected by Computer:

    • Ensure the USB cable is data-capable (not just for charging).
    • Check that the correct board and port are selected in the Arduino IDE.
    • Try pressing the reset button on the board.
  2. Code Upload Fails:

    • Verify that the ESP32-S2 board support package is installed in the IDE.
    • Hold the BOOT button while pressing the RESET button to enter bootloader mode.
  3. Wi-Fi Connection Issues:

    • Double-check the SSID and password in your code.
    • Ensure the Wi-Fi network is 2.4 GHz, as the ESP32-S2 does not support 5 GHz networks.
  4. Battery Not Charging:

    • Confirm that the LiPo battery is properly connected to the JST connector.
    • Check the USB power source for sufficient current (at least 500mA).

FAQs

Q: Can I use CircuitPython with this board?
A: Yes, the Adafruit Feather ESP32-S2 is fully compatible with CircuitPython. You can install CircuitPython firmware and use it for rapid prototyping.

Q: Does the board support Bluetooth?
A: No, the ESP32-S2 chip does not include Bluetooth functionality. For Bluetooth-enabled projects, consider using the ESP32 or ESP32-S3 boards.

Q: What is the maximum current output of the 3.3V pin?
A: The 3.3V pin can supply up to 500mA, depending on the input power source.

Q: Can I use this board with a 5V sensor?
A: Yes, but you will need a level shifter to safely interface the 5V sensor with the 3.3V logic of the board.