TTGO T1 Development Board

Code name: TTGO_T1

TTGO T1 development board is based on esp32 microcontroller and uses xtensa architecture. This board has a maximum CPU frequency of 240 MHz and a flash size of 4MB.

About TTGO T1

Classic ESP32 TTGO board with LiPo support and headers - great for basic wireless development and IoT builds.

Where to Buy

Aliexpress
AliExpress Best value
View Price

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specifications

πŸ›°οΈ Connectivity

WiFi 802.11 b/g/n (2.4 GHz)
Bluetooth 4.2
BLE 4.2

🧠 Microcontroller

Model esp32
Clock Speed 240 MHz
Flash Size 4MB
Architecture xtensa

✨ Features

  • 40 digital IO pins
  • 16 external interrupt pins
  • 16 analog input pins
  • 16 PWM pins

TTGO T1 Pinout

βœ… Safe Pins to Use

For general GPIO usage, these are the safest and most flexible choices:

πŸ”Ή OLED RST
πŸ”Ή OLED SDA
πŸ”Ή OLED SCL
πŸ”Ή SDCard CS
πŸ”Ή SDCard MOSI
πŸ”Ή SDCard MISO
πŸ”Ή SDCard SCLK
πŸ”Ή LORA MOSI
πŸ”Ή LORA MISO
πŸ”Ή LORA SCLK
πŸ”Ή LORA CS
πŸ”Ή LORA RST
πŸ”Ή LORA DIO0
πŸ”Ή DS3231 SDA
πŸ”Ή DS3231 SCL

Why Are These Pins Safe?

  • Not involved in bootstrapping β†’ No impact on device boot mode or system startup
  • Not linked to flash memory or PSRAM β†’ Won't interfere with storage or memory access
  • Not dedicated to USB or JTAG β†’ Free for general use without affecting debugging
  • No special hardware connections β†’ Freely assignable without internal conflicts

⚠️ Pins to Avoid or Use with Caution

Some pins are reserved for critical functions like bootstrapping, JTAG debugging, USB communication, and flash memory operations. Misusing these pins may lead to boot failures, programming issues, USB conflicts, or disruptions in flash storage.

Critical Pin Categories:

  • πŸ› οΈ Strapping Pins: Control boot behavior and flash voltage selection
  • πŸ”— JTAG Debugging Pins: Required for low-level debugging
  • πŸ”Œ USB Communication Pins: Used for USB Serial/JTAG communication
  • ⚑ Flash Memory & SPI Pins: Connected to SPI flash memory and PSRAM
  • πŸ“‘ UART Serial Communication Pins: Used for debugging and firmware uploads
PINLabelReasonFunction

TTGO T1 Pin Mappings

This development board provides 40 digital IO pins, out of which 16 can be used as external interrupt pins , 16 as analog input pins and 16 pins have Pulse-Width Modulation (PWM) .

PinFunctionESP PinInput/OutputDescription
1OLED RSTGPIO16outputOLED Reset
2OLED SDAGPIO21bidirectionalI2C Data Line
3OLED SCLGPIO22bidirectionalI2C Clock Line
4SDCard CSGPIO13outputSPI Chip Select for SD Card
5SDCard MOSIGPIO15bidirectionalSPI Master Out Slave In for SD Card
6SDCard MISOGPIO2bidirectionalSPI Master In Slave Out for SD Card
7SDCard SCLKGPIO14bidirectionalSPI Clock Line for SD Card
8LORA MOSIGPIO27bidirectionalSPI Master Out Slave In for LoRa
9LORA MISOGPIO19bidirectionalSPI Master In Slave Out for LoRa
10LORA SCLKGPIO5bidirectionalSPI Clock Line for LoRa
11LORA CSGPIO18outputSPI Chip Select for LoRa
12LORA RSTGPIO23outputLoRa Reset
13LORA DIO0GPIO26inputLoRa Interrupt Pin
14DS3231 SDAGPIO21bidirectionalI2C Data Line for DS3231 RTC
15DS3231 SCLGPIO22bidirectionalI2C Clock Line for DS3231 RTC
Function Pin Function
ESP Pin Pin on ESP32
I/O Input/Output Pin
Description Pin Description

TTGO T1 Pins Mapping Arduino IDE

Below you can find the TTGO T1 pinout. This development board provides 40 digital IO pins, out of which 16 can be used as external interrupt pins, 16 as analog input pins and 16 pins have Pulse-Width Modulation (PWM).

PinAnalogTouchPWMOther
0A11T1
1PWMTX
2A12T2PWMMISO
3PWMRX
4A10T0PWM
12A15T5PWM
13A14T4PWMSS
14A16T6PWMSCK
15A13T3PWMMOSI
21PWMSDA
22PWMLED_BUILTIN
23PWMSCL
25A18PWMDAC1
26A19PWMDAC2
27A17T7PWM
32A4T9PWM
33A5T8PWM
34A6
35A7
36A0
39A3
Analog Analog input pins
Touch Touch pins
Function Function pins
RX / TX Receive/Transmit
LED_BUILTIN Built-in LED
PWM Pulse-Width Modulation

Default Tools

Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modedio
Maximum upload size
1280 Kb
(1310720 B)
Maximum data size
320 Kb
(327680 B)

The TTGO T1 development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x1000". Flash mode and boot mode for TTGO T1 development board by default is dio and dio respectively.