TTGO T7 V1.3 Mini32
by LilyGo
Compact ESP32 dev board with auto-reset and USB - ideal for space-saving Wi-Fi/BLE applications.

On this page
Pinout
40 pins| Pin | GPIO | Labels | Status | Capabilities | Notes |
|---|---|---|---|---|---|
| 1 | - | RST | control | - | Reset (chip enable, active low) |
| 2 | 36 | VPGPIO36 | strapping | adc | ADC1_CH0, input only |
| 3 | 26 | 26GPIO26 | safe | adc · dac | DAC2, ADC2_CH9 |
| 4 | 18 | 18GPIO18 | safe | spi | VSPI SCK |
| 5 | 19 | 19GPIO19 | safe | spi | VSPI MISO |
| 6 | 23 | 23GPIO23 | safe | spi | VSPI MOSI |
| 7 | 5 | 5GPIO5 | strapping | spi | VSPI CS |
| 8 | - | 3V33.3V | power | - | 3.3V regulated output |
| 9 | 13 | TCKGPIO13 | strapping | - | JTAG TCK (MTCK) |
| 10 | 10 | SD3GPIO10 | strapping | - | Flash pin - do not use |
| 11 | - | GND | ground | - | Ground |
| 12 | - | NC | safe | - | Not connected |
| 13 | 39 | VNGPIO39 | strapping | adc | ADC1_CH3, input only |
| 14 | 35 | 35GPIO35 | strapping | adc | ADC1_CH7, input only |
| 15 | 33 | 33GPIO33 | safe | adc · touch | ADC1_CH5, Touch8 |
| 16 | 34 | 34GPIO34 | strapping | adc | ADC1_CH6, input only |
| 17 | 14 | TMSGPIO14 | strapping | - | JTAG TMS (MTMS) |
| 18 | - | NC | safe | - | Not connected |
| 19 | 9 | SD2GPIO9 | strapping | - | Flash pin - do not use |
| 20 | 11 | CMDGPIO11 | strapping | - | Flash pin - do not use |
| 21 | 1 | TX0GPIO1 | uart | uart | UART0 TX (USB serial) |
| 22 | 3 | RX0GPIO3 | uart | uart | UART0 RX (USB serial) |
| 23 | 22 | 22GPIO22LED_BUILTIN | safe | i2c | Default I2C SCL; onboard LED (LED_BUILTIN) |
| 24 | 21 | 21GPIO21 | safe | i2c | Default I2C SDA |
| 25 | 17 | 17GPIO17 | strapping | - | General-purpose IO |
| 26 | 16 | 16GPIO16 | strapping | - | General-purpose IO |
| 27 | - | GND | ground | - | Ground |
| 28 | - | 5V | power | - | 5V from USB, input to onboard regulator |
| 29 | 15 | TDOGPIO15 | strapping | - | JTAG TDO (MTDO) |
| 30 | 7 | SD0GPIO7 | strapping | - | Flash pin - do not use |
| 31 | - | GND | ground | - | Ground |
| 32 | 27 | 27GPIO27 | safe | adc · touch | ADC2_CH7, Touch7 |
| 33 | 25 | 25GPIO25 | safe | adc · dac | DAC1, ADC2_CH8 |
| 34 | 32 | 32GPIO32 | safe | adc · touch | ADC1_CH4, Touch9 |
| 35 | 12 | TDIGPIO12 | strapping | - | JTAG TDI (MTDI) |
| 36 | 4 | 4GPIO4 | strapping | adc · touch | ADC2_CH0, Touch0 |
| 37 | 0 | 0GPIO0 | strapping | adc · touch | ADC2_CH1, Touch1, Boot button |
| 38 | 2 | 2GPIO2 | strapping | adc · touch | ADC2_CH2, Touch2 |
| 39 | 8 | SD1GPIO8 | strapping | - | Flash pin - do not use |
| 40 | 6 | CLKGPIO6 | strapping | - | Flash pin - do not use |
Start with these
10 pins with no boot or system involvementFreely 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| Pin | Label | What to know | Role |
|---|---|---|---|
| VP | GPIO36 (SENSOR_VP) | Cannot be used as output; only suitable for input (e.g., analog read). | Other |
| 5 | GPIO5 | Must be HIGH during boot; if pulled LOW at reset, alters SDIO slave timing and may prevent normal boot. | Strapping |
| TCK | MTCK (GPIO13) | Used for JTAG debugging (TCK); avoid using as GPIO if JTAG is needed. | Other |
| VN | GPIO39 (SENSOR_VN) | Cannot be used as output; only suitable for input. | Other |
| 35 | GPIO35 | Cannot be used as output; only suitable for input. | Other |
| 34 | GPIO34 | Cannot be used as output (no drive capability); only suitable for analog/digital input. | Other |
| TMS | MTMS (GPIO14) | Used for JTAG debugging (TMS); driving it as GPIO may interfere with JTAG or produce spurious signals at boot. | Other |
| TDO | MTDO (GPIO15) | Keep HIGH during boot (internal PU); if LOW on reset, bootloader log is silenced and boot mode may change. | Strapping |
| TDI | MTDI (GPIO12) | Keep LOW during boot (internal PD); pulling HIGH at reset selects 1.8V flash mode, causing flash brownout if 3.3V flash is used. | Strapping |
| 4 | GPIO4 | Sampled at reset for boot config; should not be driven at boot (affects boot mode timing). | Strapping |
| 0 | GPIO0 | Must be HIGH during boot for normal startup; if held LOW on reset, forces flash programming mode. | Strapping |
| 2 | GPIO2 | If driven HIGH on reset (while IO0 is LOW), selects an unsupported SDIO boot mode, causing boot failure. | Strapping |
Only if you know the tricks
wired to flash or USB - expect a fight| Pin | Label | What to know | Role |
|---|---|---|---|
| SD3 | GPIO10 (Flash SD3) | Used by internal flash/PSRAM; typically not exposed on modules, avoid using as GPIO. | Flash |
| SD2 | GPIO9 (Flash SD2) | Used by internal flash/PSRAM; typically not exposed on modules, avoid using as GPIO. | Flash |
| CMD | GPIO11 (Flash CMD) | Used by internal flash (chip select/command); not available for general use. | Flash |
| TX0 | U0TXD (GPIO1) | Connected to on-board USB-UART for uploading and logs; drives serial output at boot, so using as GPIO can disrupt programming or console. | USB |
| RX0 | U0RXD (GPIO3) | Used for receiving data from USB-UART (programming); also pulled HIGH at boot for console communication, so using as GPIO can disrupt uploads. | USB |
| 17 | GPIO17 | Connected to internal PSRAM on PSRAM-enabled modules; not usable as GPIO on those modules. | Flash |
| 16 | GPIO16 | Connected to internal PSRAM on PSRAM-enabled modules; not usable as GPIO on those modules. | Flash |
| SD0 | GPIO7 (Flash SD0) | Used for internal flash/PSRAM data; not available for general GPIO. | Flash |
| SD1 | GPIO8 (Flash SD1) | Used for internal flash/PSRAM data; not available for general GPIO. | Flash |
| CLK | GPIO6 (Flash SCK) | Used for internal flash/PSRAM communication; not available for general GPIO. | Flash |
Pinout notes The TTGO T7 V1.3 Mini32 breaks out 40 pins in total: 32 GPIO for your project, with 3V3 , GND and 5V handling power. On the analog side there are 12…
The TTGO T7 V1.3 Mini32 breaks out 40 pins in total: 32 GPIO for your project, with 3V3, GND and 5V handling power.
On the analog side there are 12 ADC-capable pins for sensors and battery monitoring, 6 capacitive-touch inputs and 2 true DAC outputs.
If you want zero surprises, 26, 18, 19, 23 and 6 more are free of any such role - the safest first picks. 12 of the exposed pins carry boot-time or system duties on the ESP32 (VP, 5, TCK and 9 more).
Getting started
flash your first firmware in ~2 minutesBoard: 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
// blink the onboard LED
void setup() {
pinMode(26, OUTPUT);
}
void loop() {
digitalWrite(26, HIGH); delay(500);
digitalWrite(26, LOW); delay(500);
}[env:ttgo-t7-v13-mini32]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600esp32dev — or type it after board =.esp32:
board: esp32dev
variant: ttgo-t7-v13-mini32
framework:
type: esp-idf
# blink - GPIO26
output:
- platform: gpio
pin: 26
id: led_out
light:
- platform: binary
name: "LED"
output: led_outesp32dev (same ids as PlatformIO).esptool.py --chip esp32 --port /dev/ttyACM0 \
--baud 921600 write_flash 0x0 firmware.bin--port = your /dev/tty* (macOS/Linux) or COMx (Windows).Specifications
ESP32About this board
At its core is the ESP32 - a dual-core Xtensa with both Bluetooth Classic and BLE.
Expect to pay about $5.49 - less than the ~$20 most ESP32 boards go for.
32 GPIO are broken out - more than most ESP32 boards, so the pin budget is rarely the constraint.
Onboard you'll find battery charging (TP4054) via JST 1.25mm and Reset/Boot buttons.
- Onboard ON/OFF power slide switch
- u.FL/IPEX socket for an external antenna (ships with onboard PCB antenna; move the SMT jumper to switch)
Where to buy
prices are typical street prices
Resources
Similar boards




