unPhone 8

An ESP32-S3 handheld in the unPhone series with a 3.5-inch touchscreen and LoRaWAN radio, for IoT teaching and prototyping.

USB-C Native USB
unPhone 8 board
ESP32-S3
MCU
240MHz
clock
8MB
flash
512KB
SRAM
24· 18 ADC
GPIO
BLE 5.0+ WiFi
radio
On this page

unPhone 8 Pinout

24 pins
PinGPIOLabelsStatusCapabilitiesNotes
11SDAA0PWMsafeadc · i2c
22SCLA1T1PWMsafeadc · touch · i2c
33SSPWMstrappingspi
45A4T4PWMsafeadc · touch
56A5T5PWMsafeadc · touch
67A7T7PWMsafeadc · touch
78A2T2PWMsafeadc · touch
89A3T3PWMstrappingadc · touch
912A11T11PWMstrappingadc · touch
1013LED_BUILTINA12T12PWMstrappingadc · touch
1114A6A13T6T13PWMstrappingadc · touch
1215A8A14T8T14PWMsafeadc · touch
1316A15PWMsafeadc
1417A16PWMsafeadc
1518A17PWMsafeadc
1619A18PWMuartadc
1720A19PWMuartadc
1827A10T10PWMstrappingadc · touch
1933A9T9PWMsafeadc · touch
2036RXPWMuartuart
2137TXPWMuartuart
2238SCKPWMsafespi
2339MOSIPWMstrappingspi
2440MISOPWMstrappingspi
24 GPIOs broken out 14 free · 7 need care · 3 to avoid

Start with these

14 pins with no boot or system involvement
SDAGPIO1SCLGPIO2A4GPIO5A5GPIO6A7GPIO7A2GPIO8A8GPIO15A15GPIO16A16GPIO17A17GPIO18A9GPIO33RXGPIO36TXGPIO37SCKGPIO38

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

Fine - with a little care

7 pins · 4 things to know
SSGPIO3 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.

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

  • A3General-purpose SPI2 (FSPI) IO MUX pin - hold/data line (FSPIHD)
  • A11General-purpose SPI2 (FSPI) IO MUX pin - clock (FSPICLK)
  • LED_BUILTINGeneral-purpose SPI2 (FSPI) IO MUX pin - data out (FSPIQ)
  • A6General-purpose SPI2 (FSPI) IO MUX pin - write-protect/data line (FSPIWP)
MOSIGPIO39 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.

MISOGPIO40 JTAG test data out pin (MTDO) JTAG

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

Only if you know the tricks

3 pins · 2 things to know
A18GPIO19A19GPIO20 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.

  • A18USB OTG negative differential data line (USB_D-)
  • A19USB OTG positive differential data line (USB_D+)
A10GPIO27 SPI0/1 memory-bus hold/data line (SPIHD; DQ3 in 8-line mode) Flash

Part of the SPI0/1 bus that runs the in-package flash and PSRAM, listed by the datasheet as "already allocated or not recommended for use". Modules keep these lines internal, so the pin is not available as GPIO.

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.

All 24 pins on the unPhone 8 are usable GPIO.

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

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

7 of the exposed pins carry boot-time or system duties on the ESP32-S3 (SS, A3, A11 and 4 more) - check the guidance above before wiring anything to them. SDA, SCL, A4, A5 and 10 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"▸
PSRAM: "QSPI PSRAM"▸
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
PSRAM: QSPI PSRAM
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:unphone8]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.arduino.memory_type = qio_qspi
build_flags = -DBOARD_HAS_PSRAM
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
psram:
  mode: quad
  speed: 80MHz

# 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 8323072 B · data 2424832 B · DIO

Specifications

ESP32-S3 · vs other ESP32 chips →
Compute
MCU
ESP32-S3
Clock
240 MHz
SRAM · Flash
512 KB · 8MB · 8MB (QSPI) PSRAM
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
5.0 LE
Antenna
PCB
I/O
GPIO · ADC
24 · 18
UART · I²C · SPI
3 · 2 · 2
PWM
8 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x0
Electrical
Input
5V USB-C · 3.7V LiPo
Consumption
-
Regulator
-
Display
Screen
TFT · 3.5" · 320x480
Driver
HX8357D
Touch
XPT2046
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
7.94 MB · 2.31 MB
The unPhone 8 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 7.94 MB with 2.31 MB available for data.

About this board

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

Around the module: 8MB (QSPI) PSRAM, a TFT 3.5" 320x480 display with touch, a microSD slot, LoRa (RFM95W), an IMU, an IR transceiver, battery charging (BQ24295) and Button 1/Button 2/Button 3/Reset buttons.

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

  • TCA9555 16-bit I²C GPIO expander
  • Vibration motor
  • 3 discrete indicator LEDs (red / green / blue)
  • Hardware power on/off switch
  • Bundled backplane with two FeatherWing sockets & prototyping area

Resources

Similar boards