# ESP32-S3 Hardware Specifications and Getting Started ```{admonition} Files Referenced in This Article :class: note - [esp32s3/docs/1_hardware/1_2_Technical_parameters.rst](../../../products/mpython-s3/1_hardware/1_2_Technical_parameters.rst) - [esp32s3/docs/1_hardware/1_3_IO.rst](../../../products/mpython-s3/1_hardware/1_3_IO.rst) - [esp32s3/docs/2_software/1_2_vscode.rst](../../../products/mpython-s3/2_software/1_2_vscode.rst) - `esp32s3/firmware/boards/deploy.md` - `esp32s3/firmware/boards/deploy_flashmode.md` - `esp32s3/firmware/boards/mpython_v3/board.json` - `esp32s3/firmware/boards/labplus_Ledong_v2/board.json` ``` ## Product Overview This guide targets the ESP32-S3 series boards (primarily mPython Board 3.0 mpython_v3 and mPython Core 2.0 labplus_Ledong_v2) and focuses on the following goals: - Clarify on-board hardware parameters, pins, and interface capabilities - Provide hands-on steps for driver installation, firmware flashing, and development environment setup - Help beginners quickly complete the full workflow of "install drivers -- configure the environment -- flash firmware -- run examples" Application scenarios: maker education, IoT prototyping, audio/video interaction, sensor data acquisition, BLE/Wi-Fi communication, etc. **Section Sources** - [esp32s3/docs/1_hardware/1_2_Technical_parameters.rst:1-84](../../../products/mpython-s3/1_hardware/1_2_Technical_parameters.rst) ## Core Business Flow The diagram below shows the key path from "preparing tools to running programs", applicable to ESP32-S3 boards: ```text flowchart TD A["Prepare tools"] --> B["Install USB-to-serial driver"] B --> C["Install VSCode and the Python extension"] C --> D["Connect the board and detect the port"] D --> E{"First-time flashing?"} E --> |Yes| F["Enter download mode (BOOT+RESET)"] E --> |No| G["Write firmware directly"] F --> H["Use esptool to write the .bin firmware"] G --> H H --> I["Open the REPL / run examples after reset"] ``` Key points: - On first use or when clearing partitions, erase the Flash before writing new firmware - If automatic detection fails, manually specify the serial port - Some boards require holding the BOOT button and then pressing RESET to enter download mode **Section Sources** - `esp32s3/firmware/boards/deploy.md:5-52` - `esp32s3/firmware/boards/deploy_flashmode.md:1-10` ## Feature Module List - Hardware capabilities - Processor: ESP32-S3 dual-core, 240MHz clock, built-in FPU, supports Wi-Fi and Bluetooth 5 - Storage: 16MB Flash + 8MB PSRAM - Display: 1.47-inch LCD color display (ST7789, 320x172) - Audio: ES8388 decoder chip + NS4150 amplifier, dual microphones, speaker - Sensors: QMI8658C 6-axis, MMC5603 magnetic sensor, LTR-308 light sensor - Input/Output: physical buttons A/B/Reset, touch sensors P/Y/T/H/O/N, 3 RGB LEDs - Power supply: USB 5V or edge connector 3.3V, operating voltage 3.3V, maximum operating current about 700mA - Interface capabilities - Digital I/O: 20 channels (including PWM, TouchPad) - Analog input: 6-channel 12-bit ADC (P0~P4, P6) - Communication: I2C, UART (1 channel, 115200bps), SPI - LCD display: SPI interface (BL/CS/RS/SCK/SDA) - Audio: I2S interface (DOUT/MCLK/DIN/BCK/LRCK) Acceptance points: - Confirm each peripheral can be accessed in MicroPython via standard APIs (Pin/I2C/UART/SPI/ADC/PWM/Touch) - The screen can refresh its display, audio can play/record, and sensor data can be read - Wi-Fi/Bluetooth can establish a connection (depending on firmware configuration) **Section Sources** - [esp32s3/docs/1_hardware/1_2_Technical_parameters.rst:11-61](../../../products/mpython-s3/1_hardware/1_2_Technical_parameters.rst) - [esp32s3/docs/1_hardware/1_3_IO.rst:4-55](../../../products/mpython-s3/1_hardware/1_3_IO.rst) ## Data and State - Board and feature identifiers - Both mpython_v3 and labplus_Ledong_v2 declare mcu as esp32s3 and support BLE, external Flash, external RAM, and Wi-Fi - Build and deployment - Board-level configuration files contain metadata such as features, mcu, and deploy instructions, used to generate/select the corresponding firmware package - Runtime state - Firmware must be re-flashed after first power-on or Flash erasure - In download mode the device enumerates as a serial device, facilitating esptool writing ```text graph TB subgraph "Board configuration" V3["mpython_v3/board.json"] LD["labplus_Ledong_v2/board.json"] end V3 --> |mcu=esp32s3| FW["Firmware image"] LD --> |mcu=esp32s3| FW FW --> |Deploy| DEV["Target device"] ``` **Diagram Sources** - `esp32s3/firmware/boards/mpython_v3/board.json:1-25` - `esp32s3/firmware/boards/labplus_Ledong_v2/board.json:1-25` **Section Sources** - `esp32s3/firmware/boards/mpython_v3/board.json:1-25` - `esp32s3/firmware/boards/labplus_Ledong_v2/board.json:1-25` ## Key Constraints and Boundaries - Drivers and system - Windows/macOS require the CP210x driver to recognize USB-to-serial; if not installed automatically, download it manually - Development and toolchain - VSCode + the Python extension is recommended; the ESP-IDF extension can be combined later for lower-level development - Flashing limitations - After first use or an anomaly, it is recommended to erase the Flash before writing - Download mode requires the BOOT/RESET button combination - Too high a baud rate may cause write failures; downgrade and retry - Hardware boundaries - The power supply limit and load current must meet the design to avoid overcurrent - Some pins are occupied by on-board peripherals (such as the sound/light sensors) and cannot simultaneously serve as general-purpose IO **Section Sources** - [esp32s3/docs/2_software/1_2_vscode.rst:29-55](../../../products/mpython-s3/2_software/1_2_vscode.rst) - `esp32s3/firmware/boards/deploy.md:5-52` - `esp32s3/firmware/boards/deploy_flashmode.md:1-10` - [esp32s3/docs/1_hardware/1_2_Technical_parameters.rst:54-61](../../../products/mpython-s3/1_hardware/1_2_Technical_parameters.rst)