TTGO LoRa32-OLED image

TTGO LoRa32-OLED

Development Board

Code name: TTGO_LoRa32

TTGO LoRa32-OLED is a development board based on the ESP32 microcontroller using XTENSA architecture.

This board features a maximum CPU frequency of 240 MHz and 4MB flash memory.

About TTGO LoRa32-OLED

ESP32 board with built-in OLED and LoRa - perfect for long-range wireless projects with a visual interface.

Where to Buy TTGO LoRa32-OLED

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

Technical Specifications

Complete technical specification details for TTGO LoRa32-OLED

Display

Type OLED

USB

Type Micro-USB
Serial Chip CH9102

Connectivity

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

Microcontroller

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

Features & Pins

  • OLED Screen

Quick Setup

Copy-paste configs for TTGO LoRa32-OLED - auto‑generated from this board's exact hardware specs.

ESP32 240 MHz 4MB DIO Xtensa

In Arduino IDE 2 select Ttgo Lora32 from the esp32 by Espressif package. In PlatformIO use board = esp32dev. ESP32 · 240 MHz · 4MB · DIO.

Tools menu settings
Board (select in Arduino IDE) Ttgo Lora32
CPU Frequency 240 MHz
Flash Size 4MB
Flash Mode DIO
Upload Speed 921600
Architecture Xtensa

In Arduino IDE 2, open Boards Manager, search "esp32" by Espressif and install it. Then go to Tools → Board and select "Ttgo Lora32" for the TTGO LoRa32-OLED.

TTGO LoRa32-OLED Pinout Diagram

Complete pin reference for TTGO LoRa32-OLED

TTGO LoRa32-OLED pinout diagram

Safe Pins to Use

These pins are safe for general GPIO usage without boot or system conflicts

OLED RST
OLED SDA
OLED SDA
OLED SCL
OLED SCL
SDCard CS
SDCard MOSI
SDCard MISO
SDCard SCLK
DS3231 SDA
DS3231 SCL
LORA MOSI
LORA MISO
LORA SCLK
LORA CS
LORA RST
LORA RST
LORA DIO0

Why Are These Pins Safe?

No boot sequence involvement
No flash/PSRAM connections
No USB or JTAG conflicts
Freely assignable without issues

Pins to Avoid or Use with Caution

Reserved for critical functions. Misuse may cause boot failures, programming issues, or system conflicts.

Strapping Pins

Boot behavior & flash voltage

JTAG Debugging

Low-level debugging interface

USB Pins

USB Serial/JTAG communication

Flash/SPI Pins

Memory & PSRAM connections

UART Serial

Debugging & firmware uploads

PINLabelWhy AvoidType

Useful Links

Datasheets and resources for TTGO LoRa32-OLED

TTGO LoRa32-OLED Custom Pin Mapping

Pin configuration and GPIO mapping for TTGO LoRa32-OLED

Digital I/O Pins
Interrupt Pins
Analog Inputs
PinFunctionESP PinI/O TypeDescription
1OLED RSTGPIO16outputOLED Reset (V1.0 only)
2OLED SDAGPIO4bidirectionalI2C Data Line (V1.0 only)
3OLED SDAGPIO21bidirectionalI2C Data Line (V1.2+ only)
4OLED SCLGPIO15bidirectionalI2C Clock Line (V1.0 only)
5OLED SCLGPIO22bidirectionalI2C Clock Line (V1.2+ only)
6SDCard CSGPIO13outputSPI Chip Select (V1.6+)
7SDCard MOSIGPIO15bidirectionalSPI Master Out Slave In (V1.6+)
8SDCard MISOGPIO2bidirectionalSPI Master In Slave Out (V1.6+)
9SDCard SCLKGPIO14bidirectionalSPI Clock Line (V1.6+)
10DS3231 SDAGPIO21bidirectionalI2C Data Line (V1.2 T-Fox only)
11DS3231 SCLGPIO22bidirectionalI2C Clock Line (V1.2 T-Fox only)
12LORA MOSIGPIO27bidirectionalSPI Master Out Slave In
13LORA MISOGPIO19bidirectionalSPI Master In Slave Out
14LORA SCLKGPIO5bidirectionalSPI Clock Line
15LORA CSGPIO18outputSPI Chip Select
16LORA RSTGPIO14outputLoRa Reset (V1.0 only)
17LORA RSTGPIO23outputLoRa Reset (V1.2+ only)
18LORA DIO0GPIO26inputLoRa Interrupt Pin
Legend
Function Pin role
GPIO ESP32 pin
I/O Direction
# Pin number

Default Tools & Configuration

Build and upload settings for TTGO LoRa32-OLED

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modedio
Maximum upload size
1280 KB (1310720 bytes)
Maximum data size
288 KB (294912 bytes)
Configuration Summary

The TTGO LoRa32-OLED uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x1000.

Flash mode: dio | Boot mode: dio

Max sketch size: 1280 KB | Max data size: 288 KB