CYD ESP32-2432S032

ESP32 with 3.2" touchscreen display - great for touch-based controls, settings panels, and data visualization.

USB-C
CYD ESP32-2432S032 board
93.7 × 55 mm
ESP32
MCU
240MHz
clock
4MB
flash
520KB
SRAM
24· 1 ADC
GPIO
BLE 4.2+ WiFi
radio
On this page

CYD ESP32-2432S032 Pinout

28 pins
CYD ESP32-2432S032 pinout diagram
PinGPIOLabelsStatusCapabilitiesNotes
1-VIN5Vpower-P1 power/serial socket pin 1 - 5V input, switched onto the 5V rail through Q1 (AO3401)
2-3V33.3Vpower-CN1 socket pin 1 - 3.3V output
3-GNDground-Ground - present on the P1, P3 and CN1 sockets
40BOOTIO0GPIO0controladc · touch · pwmBOOT button - GPIO0 strapping pin (hold low at reset to enter bootloader); on no socket
51IO1TXGPIO1uartuartP1 socket pin 2 - U0TXD through a 100 ohm resistor, shared with the CH340C USB-serial bridge
63IO3RXGPIO3uartuartP1 socket pin 3 - U0RXD through a 100 ohm resistor, shared with the CH340C USB-serial bridge
721IO21GPIO21safei2c · pwmOn both P3 (pin 1) and CN1 (pin 2, with a 10k pull-up to 3.3V for a DHT11). On the capacitive (C) variant it is also the GT911 touch interrupt, so it is not free there
822IO22GPIO22safei2c · pwmOn both P3 (pin 2) and CN1 (pin 3) - the same net
935IO35GPIO35strappingadcP3 socket pin 3 - input-only (ADC1, no output/PWM/DAC/internal pull-ups)
1014strapping-TFT SCK (HSPI) on the ST7789 display, also the XPT2046 touch clock; not free
1113strapping-TFT MOSI (HSPI) on the ST7789 display, also the XPT2046 touch data in; not free
1212strapping-TFT MISO (HSPI, through a 0 ohm link), also the XPT2046 touch data out; not free, and a strapping pin
1315strapping-TFT chip select on the ST7789 display; not free, and a strapping pin
142strapping-TFT data/command (DC) on the ST7789 display; not free, and a strapping pin
1527safe-TFT backlight enable through the AO3402 MOSFET (Q2); PWM it to dim. Not on any socket
1633safe-Touch chip select on the XPT2046 (R variant); GT911 SDA on the capacitive (C) variant. Not free
1736strapping-Touch interrupt (PENIRQ) on the XPT2046 (R variant); input-only
1832safe-GT911 SCL on the capacitive (C) variant, with a 4.7k pull-up; on the R and N boards it only reaches the TP-C touch socket
1925safe-GT911 reset on the capacitive (C) variant; on the R and N boards it only reaches the TP-C touch socket
205strapping-microSD chip select (VSPI); free only when the card slot is unused, and a strapping pin
2118safe-microSD clock (VSPI); free only when the card slot is unused
2219safe-microSD MISO (VSPI); free only when the card slot is unused
2323safe-microSD MOSI (VSPI); free only when the card slot is unused
244safe-Red leg of the onboard RGB LED (front face); drives it LOW (common anode)
2516safe-Green leg of the onboard RGB LED (front face); drives it LOW (common anode)
2617safe-Blue leg of the onboard RGB LED (front face); drives it LOW (common anode)
2726safe-Speaker output; drives the FM8002A amplifier feeding the P4 socket (DAC2)
2834strapping-LDR light sensor (front face, 1M/1M divider); input-only (ADC1)
25 GPIOs broken out 2 free · 16 need care · 7 to avoid

Start with these

2 pins with no boot or system involvement
IO21IO22

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

Fine - with a little care

16 pins · 10 things to know
BOOTGPIO0 Bootstrapping pin (enter bootloader when low); internal pull-up. Strapping

Must be HIGH during boot for normal startup; if held LOW on reset, forces flash programming mode.

IO1 Default UART0 TX pin for USB-serial programming and console. UART

Connected to on-board USB-UART for uploading and logs; drives serial output at boot, so using as GPIO can disrupt programming or console.

IO3 Default UART0 RX pin for USB-serial programming (console input). UART

Used for receiving data from USB-UART (programming); also pulled HIGH at boot for console communication, so using as GPIO can disrupt uploads.

IO35 Input-only GPIO (no output driver); ADC1 channel 7. Other

Cannot be used as output; only suitable for input.

GPIO27 TFT backlight enable through the AO3402 MOSFET (Q2); PWM it to dim. Not on any socket onboard hardware

Wired to the display backlight on this board. The pin is yours if you give that up, but nothing else can share it.

GPIO32GPIO25 Used by the capacitive touch controller (GT911, C variant) onboard hardware

Wired to the capacitive touch controller (GT911, C variant) on this board. The pin is yours if you give that up, but nothing else can share it.

  • GT911 SCL on the capacitive (C) variant, with a 4.7k pull-up; on the R and N boards it only reaches the TP-C touch socket
  • GT911 reset on the capacitive (C) variant; on the R and N boards it only reaches the TP-C touch socket
GPIO5GPIO18GPIO19GPIO23 Used by the microSD card slot onboard hardware

Wired to the microSD card slot on this board. The pin is yours if you give that up, but nothing else can share it.

  • microSD chip select (VSPI); free only when the card slot is unused, and a strapping pin
  • microSD clock (VSPI); free only when the card slot is unused
  • microSD MISO (VSPI); free only when the card slot is unused
  • microSD MOSI (VSPI); free only when the card slot is unused
GPIO4GPIO16GPIO17 Used by the onboard RGB LED onboard hardware

Wired to the onboard RGB LED on this board. The pin is yours if you give that up, but nothing else can share it.

  • Red leg of the onboard RGB LED (front face); drives it LOW (common anode)
  • Green leg of the onboard RGB LED (front face); drives it LOW (common anode)
  • Blue leg of the onboard RGB LED (front face); drives it LOW (common anode)
GPIO26 Speaker output; drives the FM8002A amplifier feeding the P4 socket (DAC2) onboard hardware

Wired to the speaker amplifier on this board. The pin is yours if you give that up, but nothing else can share it.

GPIO34 LDR light sensor (front face, 1M/1M divider); input-only (ADC1) onboard hardware

Wired to the LDR light sensor on this board. The pin is yours if you give that up, but nothing else can share it.

Only if you know the tricks

7 pins · 2 things to know
GPIO14GPIO13GPIO12GPIO15GPIO2 Used by Display (ST7789) onboard hardware

Wired to Display (ST7789) on this board, which is soldered down. Driving it from your own code breaks that function.

  • TFT SCK (HSPI) on the ST7789 display, also the XPT2046 touch clock; not free
  • TFT MOSI (HSPI) on the ST7789 display, also the XPT2046 touch data in; not free
  • TFT MISO (HSPI, through a 0 ohm link), also the XPT2046 touch data out; not free, and a strapping pin
  • TFT chip select on the ST7789 display; not free, and a strapping pin
  • TFT data/command (DC) on the ST7789 display; not free, and a strapping pin
GPIO33GPIO36 Used by the touch controller (XPT2046) onboard hardware

Wired to the touch controller (XPT2046) on this board, which is soldered down. Driving it from your own code breaks that function.

  • Touch chip select on the XPT2046 (R variant); GT911 SDA on the capacitive (C) variant. Not free
  • Touch interrupt (PENIRQ) on the XPT2046 (R variant); input-only
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 CYD ESP32-2432S032 pinout brings out 28 pins - 24 usable GPIO alongside the VIN, 3V3 and GND power rails.

For peripherals, TX/RX on GPIO1 and GPIO3 cover serial logging and flashing.

On the analog side there is 1 ADC-capable pin for sensors and battery monitoring and PWM on 2 pins.

If you want zero surprises, IO21 and IO22 are free of any such role - the safest first picks. 16 of the exposed pins carry boot-time or system duties on the ESP32 (BOOT, IO1, IO3 and 13 more).

Getting started

flash your first firmware in ~2 minutes
Tool:
1
Connect over USB
Uses a CH340 bridge - install the CH340 driver if no port appears. Not detected? Hold BOOT while plugging in.
2
Match & flash
Set the Tools options shown, then click Upload.
3
Verify it runs
GPIO21 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: "ESP32 Dev Module"▸
Flash Size: "4MB (32Mb)"▸
Flash Mode: "DIO"▸
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)" (default)▸
Upload Speed: "921600"▸
▸ every other Tools option - leave at default
Board: ESP32 Dev Module
Flash Size: 4MB (32Mb)
Flash Mode: DIO
Partition Scheme: Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)
Upload Speed: 921600
Find it: Tools ▸ Board ▸ ESP32 Arduino ▸ ESP32 Dev Module
blink.ino Copy
// toggle GPIO21 - wire an LED and resistor to it
void setup() {
  pinMode(21, OUTPUT);
}
void loop() {
  digitalWrite(21, HIGH); delay(500);
  digitalWrite(21, LOW);  delay(500);
}
board to selectesp32dev⧉ copy
platformio.ini Copy
[env:cyd-esp32-2432s032]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
Find it: PlatformIO Home ▸ Boards, search esp32dev - or type it after board =.
board to selectesp32dev⧉ copy
device.yaml Copy
esp32:
  board: esp32dev
  variant: esp32
  framework:
    type: esp-idf

# blink - GPIO21
output:
  - platform: gpio
    pin: 21
    id: led_out
light:
  - platform: binary
    name: "LED"
    output: led_out
Find it: search ESPHome's board list for esp32dev (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 esp32 --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 · 93.7 × 55 mm · vs other ESP32 chips →
Compute
MCU
ESP32
Clock
240 MHz
SRAM · Flash
520 KB · 4MB
Radio
Wi-Fi
802.11 b/g/n
Bluetooth
4.2 Classic + LE
Antenna
PCB
I/O
GPIO · ADC
24 · 1
UART · I²C · SPI
3 · 2 · 2
PWM
16 channels
Power
USB
USB-C
Serial
CH340
Boot address
0x1000
Display
Screen
TFT · 3.2" · 240x320
Driver
ST7789
Touch
XPT2046
Flashing
Upload · OTA
esptool_py · esp_ota
Flash · Boot mode
DIO · QIO
Sketch · Data
1.25 MB · 320 KB

Dimensions

55 mm93.7 mm
93.7 × 55 mm
The CYD ESP32-2432S032 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 - a dual-core Xtensa with both Bluetooth Classic and BLE. Sibling CYD boards cover the ESP32-S3 and ESP32-C3, so you can change radios or horsepower without changing the footprint.

Expect to pay about $20.00 - in line with other CYD boards.

Onboard you'll find a TFT 3.2" 240x320 display with touch, a microSD slot, a speaker connector, an ambient-light sensor, battery charging (IP5306) via JST 1.25 and Reset/Boot buttons.

  • Discrete RGB LED (GPIO 4/16/17, active-low)
  • Capacitive GT911 touch on the 2432S032C variant
  • Some units ship with an ILI9341 display driver instead of ST7789
  • Onboard PAM8002A audio amplifier (GPIO26 PWM audio)

Where to buy

prices are typical street prices
CYD ESP32-2432S032
CYD ESP32-2432S032
$20.00per unit, typical
As an Amazon Associate, ESPboards earns from qualifying purchases.

Resources

Similar boards

All Cyd boards →