1. Introduction
This manual provides comprehensive instructions for the DWEII S2 Mini V1.0.0 WiFi IOT Board, based on the ESP32-S2FN4R2 microcontroller. It covers essential information for setting up, operating, and maintaining your board, along with troubleshooting tips and detailed specifications. This board is designed for Internet of Things (IOT) projects and is compatible with both Arduino and MicroPython development environments.
2. Product Features
- Based on ESP32-S2FN4R2 WiFi IC for robust wireless connectivity.
- Equipped with a Type-C USB port for convenient power and data transfer.
- Features 27 digital input/output pins, all supporting interrupt, PWM, I2C, and one-wire functionalities.
- Includes ADC (Analog-to-Digital Converter), DAC (Digital-to-Analog Converter), I2C, SPI, UART, and USB OTG capabilities.
- Comes with 4MB Flash memory and 2MB PSRAM for ample storage and processing.
- Compatible with MicroPython, often pre-installed as the default firmware.
- Designed to be compatible with LOLIN D1 mini shields, expanding its versatility.
3. Package Contents
The DWEII S2 Mini V1.0.0 package typically includes:
- DWEII S2 Mini V1.0.0 ESP32-S2 WiFi IOT Board(s)
- Pin headers (usually unassembled)

Image 3.1: Contents of the DWEII S2 Mini V1.0.0 package, showing multiple boards and pin headers.
4. Setup
Follow these steps to set up your DWEII S2 Mini V1.0.0 board for development:
4.1. Pin Header Assembly (Optional)
If the pin headers are not pre-soldered, you will need to solder them onto the board. This allows for easy connection to breadboards or other components. Ensure proper soldering techniques are used to avoid short circuits.

Image 4.1: A single DWEII S2 Mini V1.0.0 board with pin headers attached, showing the top-side components.
4.2. Driver Installation
Connect the board to your computer using a USB Type-C cable. For Windows operating systems, you may need to install the appropriate USB-to-serial drivers (e.g., CP210x or CH340G drivers) if the board is not recognized automatically. These drivers are typically available from the chip manufacturer's website or the board's product page.
4.3. Development Environment Setup
The DWEII S2 Mini V1.0.0 is compatible with Arduino IDE and MicroPython. Refer to the official documentation for each environment for detailed installation and configuration instructions:
- Arduino IDE: Install the ESP32 board package. When selecting a board, choose 'LOLIN S2 Mini' or a similar ESP32-S2 based board.
- MicroPython: Use esptool.py to flash the MicroPython firmware onto the board.
4.4. Pinout Diagram
Understanding the pinout is crucial for connecting external components and programming. Refer to the diagram below for pin assignments.

Image 4.2: Detailed pinout diagram of the DWEII S2 Mini V1.0.0 board, indicating the function of each pin.

Image 4.3: Bottom view of the DWEII S2 Mini V1.0.0 board, showing pin labels for reference.
5. Operating
Once your development environment is set up, you can begin programming and operating your DWEII S2 Mini V1.0.0 board.
5.1. Uploading Code
To upload code (sketches for Arduino, scripts for MicroPython), connect the board via USB-C. You may need to put the board into programming mode:
- Press and hold the 'BOOT' (or '0') button.
- While holding 'BOOT', briefly press the 'RESET' (or 'RST') button.
- Release the 'BOOT' button. The board is now in download mode, ready to receive code.
After a sketch or script is successfully uploaded, the board will typically reset and begin executing the new code. Some boards may initially appear in DFU (Device Firmware Upgrade) mode until a program is loaded.
5.2. WiFi Functionality
The ESP32-S2FN4R2 chip provides robust WiFi capabilities. You can program the board to act as a WiFi client, an access point, or both, enabling it to connect to networks or host its own for IOT applications.
6. Maintenance
Proper care ensures the longevity and reliable operation of your DWEII S2 Mini V1.0.0 board.
- Handling: Handle the board by its edges to avoid touching components, especially the main chip, which can be sensitive to static electricity.
- Storage: Store the board in an anti-static bag when not in use, away from dust and moisture.
- Cleaning: If necessary, gently clean the board with a soft, dry brush or compressed air. Avoid using liquids.
- Power Supply: Always use a stable 5V power supply via the USB-C port or the 5V pin. Exceeding the recommended voltage can damage the board.
7. Troubleshooting
If you encounter issues with your DWEII S2 Mini V1.0.0 board, consider the following troubleshooting steps:
- Board Not Detected/Flashing Issues:
- Ensure USB-C cable is fully functional and connected securely.
- Verify that the correct USB-to-serial drivers are installed on your computer.
- Confirm the board is in programming mode (hold BOOT, press RESET, then release BOOT).
- Check your development environment settings (e.g., correct board selection, COM port).
- WiFi Connectivity Problems:
- Review your code for correct WiFi credentials and connection logic.
- Ensure your WiFi router is within range and operating on a compatible frequency (2.4 GHz).
- Check for any physical obstructions or interference.
- Unexpected Behavior/Malfunctions:
- Visually inspect the board for any visible damage, such as solder bridges (especially on the main IC) or bent pins.
- Try a different USB port or computer.
- Re-flash the firmware or a simple test sketch (e.g., a blinking LED program) to rule out software issues.
8. Specifications
| Feature | Detail |
|---|---|
| Microcontroller | ESP32-S2FN4R2 |
| Connectivity | Wi-Fi |
| Flash Memory | 4 MB |
| PSRAM | 2 MB |
| USB Interface | Type-C |
| Digital I/O Pins | 27 (with Interrupt/PWM/I2C/One-Wire support) |
| Analog Capabilities | ADC, DAC |
| Communication Protocols | I2C, SPI, UART, USB OTG |
| Dimensions | Approximately 34.2mm x 25.4mm x 23.6mm (1.34in x 1.0in x 0.93in) |
| Item Weight | 1.13 ounces |

Image 8.1: Physical dimensions of the DWEII S2 Mini V1.0.0 board.
9. Warranty
This product is typically covered by a standard return policy, allowing for returns or replacements within 30 days of purchase. For specific warranty details, including duration and coverage, please refer to the terms provided by your retailer or contact the manufacturer directly.
10. Support
For technical assistance, additional documentation, or inquiries regarding your DWEII S2 Mini V1.0.0 board, please visit the manufacturer's official website or contact their customer support channels. Ensure you have your product model and any relevant purchase information ready when seeking support.





