AEDIKO ESP32 S2 Mini V1.0.0

AEDIKO ESP32 S2 Mini V1.0.0 WiFi IOT Board User Manual

Model: ESP32 S2 Mini V1.0.0

1. Introduction

The AEDIKO ESP32 S2 Mini V1.0.0 is a compact and powerful Wi-Fi Internet of Things (IOT) development board. It is based on the ESP32-S2FN4R2 chip, offering integrated Wi-Fi connectivity, a Type-C USB interface, and a rich set of peripherals. This board is designed for various IOT applications, embedded systems, and rapid prototyping, with default support for MicroPython firmware.

2. Product Overview

2.1 Key Features

  • Integrated ESP32-S2FN4R2 Wi-Fi IC for robust wireless connectivity.
  • Modern Type-C USB interface for power and data communication.
  • 27 Digital Input/Output (GPIO) pins, each supporting Interrupt, PWM, I2C, and One-Wire functionalities.
  • Supports various communication protocols including ADC, DAC, I2C, SPI, UART, and USB OTG.
  • Equipped with 4MB Flash memory and 2MB PSRAM for ample storage and processing capabilities.
  • Pre-installed with MicroPython firmware for ease of programming.

2.2 Board Components

Front view of the ESP32 S2 Mini V1.0.0 board with header pins

Figure 1: Front View with Header Pins. This image displays the top side of the ESP32 S2 Mini board, showing the ESP32-S2 chip, Type-C USB port, reset button, and the pre-soldered header pins for easy integration into breadboards or custom PCBs.

Back view of the ESP32 S2 Mini V1.0.0 board showing pinout diagram

Figure 2: Back View with Pinout. This image illustrates the underside of the board, detailing the pin assignments and their corresponding functions, crucial for connecting external components and sensors.

Dimensions of the ESP32 S2 Mini V1.0.0 board

Figure 3: Board Dimensions. This image provides the physical measurements of the ESP32 S2 Mini, showing its compact size of approximately 34mm x 25mm (1.34 inches x 0.99 inches).

Angled view of the ESP32 S2 Mini V1.0.0 board

Figure 4: Angled View. A perspective view of the board, highlighting the Type-C USB port and the overall layout of components from an elevated angle.

3. Specifications

FeatureSpecification
Model NameESP32 S2 Mini V1.0.0
Main ICESP32-S2FN4R2
ConnectivityWi-Fi, USB Type-C
Flash Memory4 MB
PSRAM2 MB
Digital I/O Pins27 (Interrupt/PWM/I2C/One-Wire Supported)
PeripheralsADC, DAC, I2C, SPI, UART, USB OTG
Default FirmwareMicroPython
Package Dimensions2 x 2 x 0.2 inches (approx.)
Item Weight2 ounces (approx.)

4. Setup Guide

4.1 Initial Connection

  1. Connect to Computer: Use a Type-C USB cable to connect the ESP32 S2 Mini board to your computer. The board should power on, indicated by an LED (if present).
  2. Driver Installation: Your operating system may automatically install necessary USB-to-serial drivers. If not, you might need to manually install drivers for the USB-to-serial chip (often CP210x or CH340 series, though ESP32-S2 has native USB). Refer to the ESP32-S2 documentation for specific driver requirements.
  3. Identify COM Port: Open your computer's Device Manager (Windows), /dev/ directory (Linux), or System Information (macOS) to identify the assigned COM port (serial port) for the ESP32 S2 Mini.

4.2 Development Environment Setup

The ESP32 S2 Mini comes with MicroPython firmware pre-installed. To program it, you can use various Integrated Development Environments (IDEs) or tools:

  • MicroPython: For MicroPython development, tools like Thonny IDE are recommended. Download and install Thonny from its official website. Configure Thonny to connect to your ESP32 S2 Mini via the identified COM port.
  • Arduino IDE: To use the Arduino IDE, you will need to add ESP32 board support. Install the ESP32 board package through the Arduino IDE's Board Manager. Select the appropriate ESP32-S2 board model (e.g., ESP32S2 Dev Module) and COM port.
  • ESP-IDF: For advanced development in C/C++, Espressif's IoT Development Framework (ESP-IDF) can be used. Follow the official ESP-IDF documentation for installation and setup.

5. Operating Instructions

5.1 Basic MicroPython Usage

If using MicroPython, you can interact with the board via a serial terminal or Thonny IDE's REPL (Read-Eval-Print Loop).

  1. Access REPL: Connect to the board using Thonny or a serial terminal (e.g., PuTTY, CoolTerm) at 115200 baud rate. Press Enter to get the MicroPython prompt (>>>).
  2. Run Simple Code: You can type MicroPython commands directly. For example, to blink an LED (assuming an LED is connected to a specific GPIO pin):
    from machine import Pin, Timer
    led = Pin(15, Pin.OUT) # Assuming GPIO 15 has an LED
    timer = Timer(-1)
    timer.init(period=500, mode=Timer.PERIODIC, callback=lambda t: led.value(not led.value()))
  3. Upload Scripts: In Thonny, you can write Python scripts and upload them to the ESP32 S2 Mini's filesystem. Save your script as main.py to have it run automatically on boot.

5.2 Wi-Fi Connectivity

To connect the ESP32 S2 Mini to a Wi-Fi network using MicroPython:

import network
import time

ssid = 'YOUR_WIFI_SSID'
password = 'YOUR_WIFI_PASSWORD'

station = network.WLAN(network.STA_IF)
station.active(True)
station.connect(ssid, password)

while not station.isconnected():
    print('Waiting for connection...')
    time.sleep(1)

print('Connected to Wi-Fi!')
print('Network config:', station.ifconfig())

Replace 'YOUR_WIFI_SSID' and 'YOUR_WIFI_PASSWORD' with your actual Wi-Fi credentials.

6. Maintenance

  • Handle with Care: Electronic components are sensitive. Avoid dropping the board or subjecting it to excessive force.
  • Static Discharge: Always handle the board in a static-safe environment to prevent damage from electrostatic discharge (ESD).
  • Power Supply: Ensure you use a stable 5V power supply via the Type-C USB port. Do not exceed the recommended voltage.
  • Storage: Store the board in a dry, cool environment, away from direct sunlight and moisture.
  • Cleaning: If necessary, gently clean the board with a soft, dry brush or compressed air. Avoid using liquids.

7. Troubleshooting

7.1 Board Not Detected by Computer

  • Check USB Cable: Ensure the Type-C USB cable is functional and properly connected to both the board and the computer. Try a different cable.
  • Driver Issues: Verify that the correct USB-to-serial drivers are installed for your operating system. Reinstall if necessary.
  • Different USB Port: Try connecting the board to a different USB port on your computer.

7.2 Firmware Upload Failure

  • Correct COM Port: Ensure the correct COM port is selected in your IDE (Thonny, Arduino IDE, etc.).
  • Baud Rate: Verify that the baud rate for flashing is correctly set (usually 115200 or 460800).
  • Boot Mode: For some ESP32 boards, you might need to manually put the board into bootloader mode by holding down the BOOT button (often labeled '0' or 'IO0') while pressing and releasing the RESET button (often labeled 'RST' or 'EN'), then releasing the BOOT button.
  • Power Supply: Insufficient power can cause upload issues. Ensure a stable power source.
  • Busy Port: Close any other applications that might be using the serial port.

7.3 Wi-Fi Connection Problems

  • SSID/Password: Double-check that the Wi-Fi SSID and password in your code are correct.
  • Signal Strength: Ensure the board is within range of your Wi-Fi router and has adequate signal strength.
  • Router Settings: Some routers may have settings (e.g., MAC address filtering, specific Wi-Fi modes) that prevent connection. Temporarily disable these or configure them to allow the ESP32.
  • Firmware: Ensure your firmware supports Wi-Fi functionality and is not corrupted.

8. Warranty and Support

This product is covered by a standard manufacturer's warranty against defects in materials and workmanship. For specific warranty terms, duration, and to obtain technical support, please refer to the AEDIKO official website or contact your retailer. Keep your proof of purchase for warranty claims.

© 2024 AEDIKO. All rights reserved.

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.