ESP32-S3-USB-OTG

A development board by Espressif focusing on USB-OTG functionality, suitable for applications like video streaming over Wi-Fi and connecting to wireless USB devices.

Micro-USB Native USB
ESP32-S3-USB-OTG board
ESP32-S3
MCU
240MHz
clock
8MB
flash
512KB
SRAM
36· 3 ADC
GPIO
BLE 5.0+ WiFi
radio
On this page

Pinout

37 pins
View:
ESP32-S3-USB-OTG pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
10BUTTON_OKstrapping-
21A0HOST_VOLTSPWMsafeadc
32A1BAT_VOLTSPWMsafeadc
43A2T3PWMstrappingadc · touch
54LCD_DCPWMsafe-
65LCD_CSPWMsafe-
76LCD_CLKPWMsafe-
87LCD_MOSIPWMsafe-
98LCD_RSTPWMsafe-
109LCD_BLPWMstrapping-
1110BUTTON_UPPWMstrapping-
1211BUTTON_DOWNPWMstrapping-
1312DEV_VBUS_ENPWMstrapping-
1413BOOST_ENPWMstrapping-
1514BUTTON_MENUPWMstrapping-
1615LED_GREENPWMsafe-
1716LED_YELLOWPWMsafe-
1817LIMIT_ENPWMsafe-
1918USB_HOST_ENPWMsafe-
2019USB_DNPWMuart-
2120USB_DPPWMuart-
2221OVER_CURRENTPWMsafe-
2333SDMMC_D2PWMstrapping-
2434SSSDMMC_D3PWMstrappingspi
2535MOSISDMMC_CMDPWMstrappingspi
2636SCKSDMMC_CLKPWMstrappingspi
2737MISOSDMMC_D0PWMstrappingspi
2838SDMMC_D1PWMstrapping-
2939MTCKPWMstrapping-
3040MTDOPWMstrapping-
3141MTDIPWMstrapping-
3242MTMSPWMstrapping-
3343TXPWMstrappinguart
3444RXPWMstrappinguart
3545SDAPWMstrappingi2c
3646SCLstrappingi2c
37-LCD_MISOsafe-

Start with these

12 pins with no boot or system involvement
A0HOST_VOLTSA1BAT_VOLTSLCD_DCPWMLCD_CSPWMLCD_CLKPWMLCD_MOSIPWMLCD_RSTPWMLED_GREENPWMLED_YELLOWPWMLIMIT_ENPWMUSB_HOST_ENPWMOVER_CURRENTPWM

Freely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.

Fine - with a little care

sampled at boot or shared with debug/serial
PinLabelWhat to knowRole
BUTTON_OKGPIO0Must be pulled high (default) or low (to enter UART download mode) at reset. Using it for other functions can interfere with boot mode configuration.Strapping
A2GPIO3Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface.Strapping
MTCKMTCK (GPIO39)Default JTAG debugging TCK pin. If JTAG is needed, this pin must be free; it may also be used internally for PSRAM chip select on certain modules, so avoid repurposing it.Other
MTDOMTDO (GPIO40)Default JTAG TDO output for debugging. Using it as GPIO will interfere with JTAG debugging functionality.Other
MTDIMTDI (GPIO41)Default JTAG TDI input for debugging. Should be reserved for JTAG or left unused if JTAG is to remain available.Other
MTMSMTMS (GPIO42)Default JTAG TMS signal for debugging. Using this pin for other purposes will disable the JTAG interface (unless JTAG is rerouted to USB).Other
TXU0TXD (GPIO43)Used for bootloader output and UART console logs. If repurposed, you will lose the default serial output (and programming via UART0).Other
RXU0RXD (GPIO44)Used for bootloader input (download mode via serial). If repurposed, you cannot use the default UART0 download mode for programming the chip.Other
SDAGPIO45Determines flash/PSRAM power voltage (3.3 V vs 1.8 V) at boot. Must match hardware configuration; using as GPIO can upset flash supply setting.Strapping
SCLGPIO46Must be at a defined level during reset (with GPIO0) to select normal or download boot and UART/USB print mode. This pin is input-only (no output drive), so it should be left for its intended strapping function.Strapping

Only if you know the tricks

wired to flash or USB - expect a fight
PinLabelWhat to knowRole
LCD_BLFSPIHDConnected to external flash (data/hold signal) on most modules. Not recommended for use as GPIO, since it must remain dedicated to flash communication.Flash
BUTTON_UPFSPICS0Used to select the external flash chip. It is required for flash access and cannot be repurposed without losing flash connectivityFlash
BUTTON_DOWNFSPIDUsed as a data line for flash (and in-package PSRAM). It should not be used as GPIO when the flash/PSRAM is in use.Flash
DEV_VBUS_ENFSPICLKDrives the flash (and PSRAM) clock. This critical signal must be reserved for memory and not used as general GPIO.Flash
BOOST_ENFSPIQUsed as a data line for flash/PSRAM transfers. Not available for other uses when flash/PSRAM is connected.Flash
BUTTON_MENUFSPIWPConnected to external flash (data/write-protect signal). Not recommended as GPIO because it’s reserved for flash operations.Flash
USB_DNUSB_D-By default connected to the on-chip USB Serial/JTAG controller. Using it as general GPIO without reconfiguring IO MUX will interfere with USB functionality.USB
USB_DPUSB_D+By default connected to the on-chip USB Serial/JTAG controller. Using it as general GPIO without reconfiguring IO MUX will interfere with USB functionality.USB
SDMMC_D2FSPIHDOn chips/modules with integrated flash, this IO is wired to the flash hold pin internally. It cannot be reassigned to GPIO without breaking flash access.Flash
SSFSPICS0Wired to the chip select of the internal flash in flash-equipped variants. It must remain low during flash operation, so it’s not available for other use.Flash
MOSIFSPID / PSRAM_D0In modules with octal PSRAM, this pin is connected to the PSRAM data line. It is reserved for memory interface and not free for general GPIO when flash/PSRAM is present.Flash
SCKFSPICLK / PSRAM_CLKIn modules with octal PSRAM, this pin drives the PSRAM clock. It must be dedicated to the memory interface, not used as a regular GPIO when that interface is in use.Flash
MISOFSPIQ / PSRAM_DQSIn modules with octal PSRAM, this pin is connected to the PSRAM’s DQS signal. It cannot be repurposed without disrupting the PSRAM/flash communication.Flash
SDMMC_D1FSPIWPOn flash-equipped chips, this pin is tied to the flash’s WP# (or D3) line. It should be avoided for other use, as it’s needed for flash operations.Flash
These are recommendations, not hard rules - with the right pull-ups, timing and boot-state awareness most pins can be made to work. When in doubt, start green.
Pinout notes The ESP32-S3-USB-OTG breaks out 37 pins in total: 36 GPIO for your project. Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO45 and SCL on…

The ESP32-S3-USB-OTG breaks out 37 pins in total: 36 GPIO for your project.

Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO45 and SCL on GPIO46; the SPI bus (MOSI, MISO, SCK, SS) is broken out in full; TX/RX on GPIO43 and GPIO44 cover serial logging and flashing.

Beyond plain digital I/O you get 3 ADC-capable pins for sensors and battery monitoring and 1 capacitive-touch inputs.

10 of the exposed pins carry boot-time or system duties on the ESP32-S3 (BUTTON_OK, A2, MTCK and 7 more) - check the guidance above before wiring anything to them. A0, A1, LCD_DC, LCD_CS and 8 more are free of any such role - the safest first picks.

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Native USB - no driver, no serial chip. Not detected? Hold BOOT while plugging in.
2
Flash with your tool
Arduino IDE, PlatformIO, ESPHome or esptool - copy the settings on the right.
3
Verify it runs
The blink example uses GPIO1 - swap for your board's LED pin if different.
Tools → Board settings Copy
Board:            Esp32 S3 Usb Otg
USB CDC On Boot:  Enabled
Flash Size:       8MB · DIO
Upload Speed:     921600

// blink
pinMode(1, OUTPUT);
digitalWrite(1, LOW);   // on (often inverted)
platformio.ini Copy
[env:esp32s3usbotg]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
device.yaml Copy
esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3usbotg
  framework:
    type: esp-idf

# blink - GPIO1
output:
  - platform: gpio
    pin: 1
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
shell Copy
esptool.py --chip esp32s3 --port /dev/ttyACM0 \
  write_flash 0x0 firmware.bin
Build details: sketch space 1310720 B · data 327680 B · DIO

Good to know

board-specific quirks worth 60 seconds
ESP32-S3-USB-OTG illustration

Specifications

ESP32-S3
Compute
MCU
ESP32-S3
Clock
240 MHz
SRAM · Flash
512 KB · 8MB
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
5.0 LE
Antenna
PCB
I/O
GPIO · ADC
36 · 3
UART · I²C · SPI
3 · 2 · 4
PWM
8 channels
Power
USB
Micro-USB
Serial
Native (CDC)
Boot address
0x0
Display
Screen
LCD · 1.3" · 240x240
Driver
ST7789
Touch
No
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB
The ESP32-S3-USB-OTG uses esptool_py for firmware uploads, esp_ota for over-the-air (OTA) updates. Flash mode is DIO with QIO boot mode. The maximum sketch size is 1.25 MB with 320 KB available for data.

About this board

Inside sits the ESP32-S3 - a dual-core Xtensa with vector extensions suited to AI workloads.

At $35.00 it's on the expensive side for an ESP32-S3 board - most land around $30.

With 36 GPIO broken out, you get more pins to play with than most ESP32-S3 boards offer.

Around the module: an LCD 1.3" 240x240 display, a microSD slot, status LEDs (Green (GPIO15), Yellow (GPIO16), Charge) and Menu/Up/Down/Boot/Reset buttons.

It flashes over native USB - no serial-converter driver needed, which isn't a given among ESP32-S3 boards.

  • USB-A female HOST port + USB-A male DEV port for USB-OTG host/device demos
  • ESP32-S3-MINI-1-N8 (8MB flash, no PSRAM)

Where to buy

prices are typical street prices
ESP32-S3-USB-OTG
ESP32-S3-USB-OTG
$35.00per unit, typical

Resources

Similar boards