# LILYGO T-Deck

> ESP32-S3 handheld terminal with 2.8-inch IPS display, mini QWERTY keyboard, trackball, optional SX1262 LoRa, speaker, and microphone — a self-contained portable communicator running Meshtastic and MeshCore.

## Quick Facts

- **Brand:** LILYGO
- **Board Type:** dev-board
- **Price:** ~$43.08
- **Product Readiness:** developer
- **CPU:** Xtensa LX7 dual-core @ 240MHz, FPU, AI vector extensions, HW crypto (AES/SHA/RSA)
- **CPU Architecture:** Xtensa LX7
- **CPU Cores:** 2
- **RAM:** 512KB SRAM
- **PSRAM:** 8MB OPI
- **Flash:** 16MB
- **USB:** USB-C 2.0
- **Power:** 5V + LiPo
- **Operating Voltage:** 3.3V
- **Battery:** LiPo (user-supplied, 1.25mm JST)
- **Charging Port:** USB-C
- **Antenna:** U.FL/IPEX (LoRa) + PCB built-in (WiFi)
- **SD Card:** microSD
- **Display:** 2.8" IPS LCD 320×240

## Connectivity

- **Wifi:** 802.11 b/g/n
- **Bluetooth:** BLE 5.0
- **Lora:** SX1262 868/915MHz +22dBm

## Open Source

- **Firmware:** Yes
- **Schematics:** No
- **PCB Layout:** No

## Certifications

CE, FCC

## Compatible Firmware

arduino, micropython, meshtastic, meshcore, platformio

## Use Cases

- portable-terminal
- lora-mesh-networking
- off-grid-communication
- iot-gateway

## Components

- **ESP32-S3FN16R8** (mcu): Espressif ESP32-S3FN16R8 dual-core Xtensa LX7 at 240MHz with 16MB flash, 8MB PSRAM, WiFi, BLE 5.0, and USB OTG. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.espressif.com%2Fsites%2Fdefault%2Ffiles%2Fdocumentation%2Fesp32-s3_datasheet_en.pdf&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- **SX1262** (radio): Semtech SX1262 LoRa transceiver with +22 dBm output and -148 dBm sensitivity for long-range mesh networking. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fsemtech.com%2Fuploads%2Fdocuments%2FDS_SX1261-2_V2.1.pdf&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- **ST7789** (display-driver): Sitronix ST7789 TFT LCD driver for the 2.8-inch 320×240 IPS display over SPI interface. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.displayfuture.com%2FDisplay%2Fdatasheet%2Fcontroller%2FST7789.pdf&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- **ESP32-C3** (keyboard-controller): Espressif ESP32-C3 dedicated keyboard matrix controller communicating with the main S3 via I2C. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.espressif.com%2Fsites%2Fdefault%2Ffiles%2Fdocumentation%2Fesp32-c3_datasheet_en.pdf&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- **AN48841B** (hall-effect-sensor): Panasonic AN48841B hall effect sensors (4×) powering the trackball for directional navigation input. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Findustrial.panasonic.com%2Fcdbs%2Fwww-data%2Fpdf%2FABI0000%2FABI0000CE11.pdf&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- **MAX98357A** (audio-amplifier): Analog Devices MAX98357A I2S Class-D amplifier for onboard speaker output. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.analog.com%2Fmedia%2Fen%2Ftechnical-documentation%2Fdata-sheets%2FMAX98357A-MAX98357B.pdf&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- **MSM381A3729H9CP** (microphone): MEMS microphone for audio capture and voice input on the T-Deck. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.mouser.com%2Fdatasheet%2F2%2F281%2FMSM381A3729H9CP-1485793.pdf&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)

## Protocols

- **SPI**: MOSI: GPIO41, MISO: GPIO38, CLK: GPIO40, CS: GPIO12
- **I2C**: SDA: GPIO18, SCL: GPIO8
- **I2S**: BCLK: GPIO7, LRCK: GPIO5, DATA: GPIO6
- **UART**: TX: GPIO43, RX: GPIO44

## GPIO Map

| Pin | Name | Type | Functions |
|-----|------|------|-----------|
| GPIO0 | Boot Button | GPIO | digital-input, strapping |
| GPIO3 | Trackball click | GPIO | digital-input |
| GPIO4 | Battery ADC | ADC | digital-input, adc |
| GPIO5 | I2S LRCK (speaker) | I2S | digital-output |
| GPIO6 | I2S DATA (speaker) | I2S | digital-output |
| GPIO7 | I2S BCLK (speaker) | I2S | digital-output |
| GPIO8 | I2C SCL (keyboard/touch) | I2C | digital-output, touch |
| GPIO18 | I2C SDA (keyboard/touch) | I2C | digital-input, digital-output, touch |
| GPIO38 | SPI MISO | SPI | digital-input |
| GPIO40 | SPI CLK | SPI | digital-output |
| GPIO41 | SPI MOSI | SPI | digital-output |
| GPIO43 | UART TX | UART | digital-output |
| GPIO44 | UART RX | UART | digital-input |

## Description

## Overview

The LILYGO T-Deck is a handheld portable terminal combining the ESP32-S3FN16R8 with a mini QWERTY keyboard, trackball navigation, and a 2.8-inch IPS display (320×240) into a pocket-sized device. With optional SX1262 LoRa radio (433/868/915 MHz), the T-Deck becomes a fully self-contained Meshtastic or MeshCore off-grid messenger — capable of sending and receiving text messages over kilometers without cellular or WiFi infrastructure.

The ESP32-S3 provides WiFi 802.11 b/g/n, BLE 5.0, 16MB flash, and 8MB PSRAM. A MAX98357A amplifier drives a speaker, and the MSM381A MEMS microphone enables voice input. Four AN48841B hall effect sensors power the trackball for cursor navigation. The keyboard controller is managed by a dedicated ESP32-C3 coprocessor over I2C, keeping the main S3 free for application logic.

Unlike the T-Deck Plus, the base T-Deck does not include a GPS module. A LiPo battery via JST connector powers portable operation. The board supports Arduino, MicroPython, and PlatformIO, with the official T-Deck GitHub repository providing examples for LoRa messaging, display, and keyboard integration.

## Where to Buy

- [LILYGO Official](https://openhardware.directory/r?to=https%3A%2F%2Flilygo.cc%2Fproducts%2Ft-deck&ref=openhardware.directory&product=lilygo-t-deck&source=md-export) — $43.08

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Flilygo.cc%2Fproducts%2Ft-deck&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- [github](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2FXinyuan-LilyGO%2FT-Deck&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)
- [wiki](https://openhardware.directory/r?to=https%3A%2F%2Fwiki.lilygo.cc&ref=openhardware.directory&product=lilygo-t-deck&source=md-export)

## Tags

`esp32-s3`, `keyboard`, `lora`, `trackball`, `lilygo`, `meshtastic`, `portable`, `terminal`, `off-grid`

## Images

![LILYGO T-Deck](https://nbg1.your-objectstorage.com/openhardware-directory/entities/lilygo-t-deck/d8672001596c.jpg)
![LILYGO T-Deck](https://nbg1.your-objectstorage.com/openhardware-directory/entities/lilygo-t-deck/4a1913db4d3b.jpg)
![LILYGO T-Deck](https://nbg1.your-objectstorage.com/openhardware-directory/entities/lilygo-t-deck/091d0367d5b9.jpg)
![LILYGO T-Deck](https://nbg1.your-objectstorage.com/openhardware-directory/entities/lilygo-t-deck/0988249cdcc8.jpg)
![LILYGO T-Deck](https://nbg1.your-objectstorage.com/openhardware-directory/entities/lilygo-t-deck/bc72ecb90b83.jpg)
![LILYGO T-Deck](https://nbg1.your-objectstorage.com/openhardware-directory/entities/lilygo-t-deck/381a0afb4683.jpg)
![LILYGO T-Deck](https://nbg1.your-objectstorage.com/openhardware-directory/entities/lilygo-t-deck/aa15f39401df.png)

> **Battery Powered:** Li-Po

---
[View full device page](https://openhardware.directory/devices/lilygo-t-deck)