Adafruit FunHouse

ESP32-S2 board with sensors, screen, and buttons - ideal for smart home control panels and STEM projects.

USB-C Native USB
Adafruit FunHouse board
85 × 56 mm
ESP32-S2
MCU
240MHz
clock
4MB
flash
320KB
SRAM
31· 4 ADC
GPIO
Wi-Fi
radio
On this page

Pinout

31 pins
View:
Adafruit FunHouse pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
10PIN_BUTTON4strapping-
21A2PWMsafeadc
32A1PWMsafeadc
43PIN_BUTTON1PWMsafe-
54PIN_BUTTON2PWMsafe-
65PIN_BUTTON3PWMsafe-
76T6PWMsafetouch
87T7PWMsafetouch
98T8PWMsafetouch
109T9PWMstrappingtouch
1110T10PWMstrappingtouch
1211T11PWMstrappingtouch
1312T12PWMstrappingtouch
1413T13PWMstrappingtouch
1514PIN_DOTSTAR_DATAPWMstrapping-
1615PIN_DOTSTAR_CLOCKPWMstrapping-
1716SENSOR_PIRPWMstrapping-
1817A0DAC1PWMsafeadc · dac
1918SENSOR_LIGHTA3DAC2PWMsafeadc · dac
2021TFT_BACKLIGHTPWMsafe-
2133SCLPWMstrappingi2c
2234SDAPWMstrappingi2c
2335MOSIPWMstrappingspi
2436SCKPWMstrappingspi
2537LED_BUILTINMISOPWMstrappingspi
2639TFT_DCPWMstrapping-
2740TFT_CSSSPWMstrappingspi
2841TFT_RESETPWMstrapping-
2942SPEAKERPWMstrapping-
3043TXPWMuartuart
3144RXPWMuartuart

Start with these

13 pins with no boot or system involvement
A2PWMA1PWMPIN_BUTTON1PWMPIN_BUTTON2PWMPIN_BUTTON3PWMT6PWMT7PWMT8PWMA0DAC1SENSOR_LIGHTA3TFT_BACKLIGHTPWMTXPWMRXPWM

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
PIN_BUTTON4GPIO0Must be pulled high for normal boot; pulling low at reset enters bootloader (download mode). Also serves as SPI flash data-in (SPID) line when using external flash memory.Strapping
T9FSPIHDIO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet does not restrict it, so it is only taken if your board wires flash, an SD card or a display to FSPI.Other
T10FSPICS0IO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet does not restrict it, so it is only taken if your board wires flash, an SD card or a display to FSPI.Other
T11FSPIDIO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet does not restrict it, so it is only taken if your board wires flash, an SD card or a display to FSPI.Other
T12FSPICLKIO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet does not restrict it, so it is only taken if your board wires flash, an SD card or a display to FSPI.Other
T13FSPIQIO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet does not restrict it, so it is only taken if your board wires flash, an SD card or a display to FSPI.Other
PIN_DOTSTAR_DATAFSPIWPIO MUX pin of the general-purpose SPI2 (FSPI) bus, not of the in-package flash - that sits on GPIO26-32. The datasheet does not restrict it, so it is only taken if your board wires flash, an SD card or a display to FSPI.Other
PIN_DOTSTAR_CLOCKXTAL_32K_PIf an external 32 kHz crystal is used for RTC, this pin is dedicated to the crystal and cannot be used as GPIO.Other
SENSOR_PIRXTAL_32K_NIf using an external 32 kHz crystal, this pin is connected to the crystal and should not be used as general I/O.Other
TFT_DCMTCKUsed for JTAG debugging interface; using this pin for other purposes will disable JTAG clock input.Other
TFT_CSMTDOPart of JTAG interface (TDO); should be avoided as GPIO if JTAG debugging is needed.Other
TFT_RESETMTDIPart of JTAG interface (TDI); avoid using as GPIO to retain ability for JTAG debug.Other
SPEAKERMTMSJTAG TMS pin; should not be repurposed if JTAG debugging or programming via JTAG is required.Other

Only if you know the tricks

wired to flash or USB - expect a fight
PinLabelWhat to knowRole
SCLSPIIO4 (GPIO33)The datasheet keeps GPIO33-37 for "the higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode". Quad-SPI parts leave it free.Flash
SDASPIIO5 (GPIO34)The datasheet keeps GPIO33-37 for "the higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode". Quad-SPI parts leave it free.Flash
MOSISPIIO6 (GPIO35)The datasheet keeps GPIO33-37 for "the higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode". Quad-SPI parts leave it free.Flash
SCKSPIIO7 (GPIO36)The datasheet keeps GPIO33-37 for "the higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode". Quad-SPI parts leave it free.Flash
LED_BUILTINSPIDQS (GPIO37)The datasheet keeps GPIO33-37 for "the higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode". Quad-SPI parts leave it free.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 All 31 pins on the Adafruit FunHouse are usable GPIO. Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO34 and SCL on GPIO33; the SPI bus…

All 31 pins on the Adafruit FunHouse are usable GPIO.

Peripheral wiring is straightforward: I²C is mapped to SDA on GPIO34 and SCL on GPIO33; 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 4 ADC-capable pins for sensors and battery monitoring, 8 capacitive-touch inputs and 2 true DAC outputs.

13 of the exposed pins carry boot-time or system duties on the ESP32-S2 (PIN_BUTTON4, T9, T10 and 10 more) - check the guidance above before wiring anything to them. A2, A1, PIN_BUTTON1, PIN_BUTTON2 and 9 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: "ESP32S2 Dev Module"
USB CDC On Boot: "Enabled"
Flash Size: "4MB (32Mb)"
Flash Mode: "DIO"
PSRAM: "QSPI PSRAM"
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)" (default)
Upload Speed: "921600"
▸ every other Tools option - leave at default
Board: ESP32S2 Dev Module
USB CDC On Boot: Enabled
Flash Size: 4MB (32Mb)
Flash Mode: DIO
PSRAM: QSPI PSRAM
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32S2 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-s2-saola-1⧉ copy
platformio.ini Copy
[env:adafruit_funhouse_esp32s2]
platform = espressif32
board = esp32-s2-saola-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-s2-saola-1 - or type it after board =.
board to selectesp32-s2-saola-1⧉ copy
device.yaml Copy
esp32:
  board: esp32-s2-saola-1
  variant: esp32s2
  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-s2-saola-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 esp32s2 --port /dev/ttyACM0 \
  --baud 921600 write_flash 0x1000 firmware.bin
--port = your /dev/tty* (macOS/Linux) or COMx (Windows).
Build details: sketch space 1310720 B · data 327680 B · DIO

Specifications

ESP32-S2 · 85 × 56 mm · vs other ESP32 chips →
Compute
MCU
ESP32-S2
Clock
240 MHz
SRAM · Flash
320 KB · 4MB · 2MB (QSPI) PSRAM
Radio
Wi-Fi
802.11 b/g/n 2.4 GHz
Bluetooth
-
Antenna
PCB
I/O
GPIO · ADC
31 · 4
UART · I²C · SPI
2 · 2 · 2
PWM
8 channels
Power
USB
USB-C
Serial
Native (CDC)
Boot address
0x1000
Electrical
Input
5V USB-C
Consumption
-
Regulator
-
Display
Screen
TFT · 1.54" · 240x240
Driver
ST7789
Touch
No
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB
56 mm85 mm
85 × 56 mm
The Adafruit FunHouse 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-S2 - a single-core Xtensa with native USB-OTG and no Bluetooth.

At $34.95 it's on the expensive side for an ESP32-S2 board - most land around $20.

Around the module: 2MB (QSPI) PSRAM, a TFT 1.54" 240x240 display, a STEMMA QT connector, a speaker, an addressable RGB LED (GPIO14), an environmental sensor (AHT20), an ambient-light sensor and Up/Down/Select/Boot/Reset buttons.

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

  • DPS310 barometric pressure and temperature sensor (I2C 0x77)
  • Five DotStar RGB LEDs (data GPIO14, clock GPIO15)
  • PIR motion sensor socket on GPIO16 (Mini PIR not included)
  • Three STEMMA 3-pin JST I/O ports for NeoPixels, servos, relays or speaker
  • Capacitive touch - three pads plus a five-segment slider

Where to buy

prices are typical street prices
Adafruit FunHouse
Adafruit FunHouse
$34.95per unit, typical

Resources

Similar boards