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

ESP32-S3-USB-OTG Pinout

37 pins
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_D2PWMsafe-
2434SSSDMMC_D3PWMsafespi
2535MOSISDMMC_CMDPWMsafespi
2636SCKSDMMC_CLKPWMsafespi
2737MISOSDMMC_D0PWMsafespi
2838SDMMC_D1PWMsafe-
2939MTCKPWMstrapping-
3040MTDOPWMstrapping-
3141MTDIPWMstrapping-
3242MTMSPWMstrapping-
3343TXPWMuartuart
3444RXPWMuartuart
3545SDAPWMstrappingi2c
3646SCLstrappingi2c
37-LCD_MISOsafe-
36 GPIOs broken out 18 free · 16 need care · 2 to avoid

Start with these

18 pins with no boot or system involvement
A0GPIO1A1GPIO2LCD_DCGPIO4LCD_CSGPIO5LCD_CLKGPIO6LCD_MOSIGPIO7LCD_RSTGPIO8LED_GREENGPIO15LED_YELLOWGPIO16LIMIT_ENGPIO17USB_HOST_ENGPIO18OVER_CURRENTGPIO21SDMMC_D2GPIO33SSGPIO34MOSIGPIO35SCKGPIO36MISOGPIO37SDMMC_D1GPIO38

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

Fine - with a little care

16 pins · 11 things to know
BUTTON_OKGPIO0 Bootstrapping pin (Chip boot mode selection) Strapping

Must be pulled high (default) or low (to enter UART download mode) at reset. Using it for other functions can interfere with boot mode configuration.

A2GPIO3 Bootstrapping pin (controls JTAG signal source) Strapping

Sampled at reset to select JTAG interface (USB Serial/JTAG controller vs. external pins). Improper use can disable external JTAG or alter debug interface.

LCD_BLGPIO9BUTTON_UPGPIO10BUTTON_DOWNGPIO11DEV_VBUS_ENGPIO12BOOST_ENGPIO13BUTTON_MENUGPIO14 General-purpose SPI2 (FSPI) IO MUX pins Other

IO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet lists it as a priority-2 pin ("can be freely used without restrictions"), so it is only taken if your board wires flash, an SD card or a display to FSPI.

  • LCD_BLGeneral-purpose SPI2 (FSPI) IO MUX pin - hold/data line (FSPIHD)
  • BUTTON_UPGeneral-purpose SPI2 (FSPI) IO MUX pin - chip select (FSPICS0)
  • BUTTON_DOWNGeneral-purpose SPI2 (FSPI) IO MUX pin - data in (FSPID)
  • DEV_VBUS_ENGeneral-purpose SPI2 (FSPI) IO MUX pin - clock (FSPICLK)
  • BOOST_ENGeneral-purpose SPI2 (FSPI) IO MUX pin - data out (FSPIQ)
  • BUTTON_MENUGeneral-purpose SPI2 (FSPI) IO MUX pin - write-protect/data line (FSPIWP)
MTCKGPIO39 JTAG test clock (MTCK); IO MUX alternates CLK_OUT3 and SUBSPICS1 (chip select on the alternative SUBSPI memory bus, unused on standard modules) JTAG

Default JTAG TCK - keep it free if you debug over JTAG. It is not a flash or PSRAM line on standard modules: those sit on GPIO26-37.

MTDOGPIO40 JTAG test data out pin (MTDO) JTAG

Default JTAG TDO output for debugging. Using it as GPIO will interfere with JTAG debugging functionality.

MTDIGPIO41 JTAG test data in pin (MTDI) JTAG

Default JTAG TDI input for debugging. Should be reserved for JTAG or left unused if JTAG is to remain available.

MTMSGPIO42 JTAG test mode select pin (MTMS) JTAG

Default JTAG TMS signal for debugging. Using this pin for other purposes will disable the JTAG interface (unless JTAG is rerouted to USB).

TXGPIO43 UART0 transmit pin (U0TXD), default serial console TX UART

Used for bootloader output and UART console logs. If repurposed, you will lose the default serial output (and programming via UART0).

RXGPIO44 UART0 receive pin (U0RXD), default serial console RX UART

Used for bootloader input (download mode via serial). If repurposed, you cannot use the default UART0 download mode for programming the chip.

SDAGPIO45 Bootstrapping pin (selects VDD_SPI flash voltage) Strapping

Determines 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.

SCLGPIO46 Bootstrapping pin (used with GPIO0 for boot mode; controls ROM log output) Strapping

Must 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.

Only if you know the tricks

2 pins · 1 thing to know
USB_DNGPIO19USB_DPGPIO20 USB OTG differential data pair (D- and D+) USB

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_DNUSB OTG negative differential data line (USB_D-)
  • USB_DPUSB OTG positive differential data line (USB_D+)
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.

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.

16 of the exposed pins carry boot-time or system duties on the ESP32-S3 (BUTTON_OK, A2, LCD_BL and 13 more) - check the guidance above before wiring anything to them. A0, A1, LCD_DC, LCD_CS and 14 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 - shows up as a port right away, no driver needed. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO1 toggles - wire an LED and resistor to it, or change the pin to your board's own LED.
Set these in Tools · leave everything else at default
Arduino IDE 2.x - Tools Copy
Board: "ESP32S3 Dev Module"▸
USB CDC On Boot: "Enabled"▸
Flash Size: "8MB (64Mb)"▸
Flash Mode: "DIO"▸
Partition Scheme: "8M with spiffs (3MB APP/1.5MB SPIFFS)" (default)▸
Upload Speed: "921600"▸
▸ every other Tools option - leave at default
Board: ESP32S3 Dev Module
USB CDC On Boot: Enabled
Flash Size: 8MB (64Mb)
Flash Mode: DIO
Partition Scheme: 8M with spiffs (3MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32S3 Dev Module
blink.ino Copy
// toggle GPIO1 - wire an LED and resistor to it
void setup() {
  pinMode(1, OUTPUT);
}
void loop() {
  digitalWrite(1, HIGH); delay(500);
  digitalWrite(1, LOW);  delay(500);
}
board to selectesp32-s3-devkitc-1⧉ copy
platformio.ini Copy
[env:esp32s3usbotg]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
Find it: PlatformIO Home ▸ Boards, search esp32-s3-devkitc-1 - or type it after board =.
board to selectesp32-s3-devkitc-1⧉ copy
device.yaml Copy
esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  framework:
    type: esp-idf

# blink - GPIO1
output:
  - platform: gpio
    pin: 1
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32-s3-devkitc-1 (same ids as PlatformIO).
esptool doesn't pick board settings - a prebuilt .bin already has them baked in. This is just the raw flash command.
terminal Copy
esptool.py --chip esp32s3 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x0 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
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 · vs other ESP32 chips →
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 · 2
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 $29.

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