Getting Start with LILYGO T-Lora Pager

What is LILYGO T-Lora Pager?

LILYGO T-Lora Pager is a compact handheld development device with LoRa wireless communication, based on the ESP32-S3 microcontroller. It features a QWERTY keyboard, 2.33-inch color display, GPS, NFC, audio support, and various sensors. It’s designed for AIOT applications and is compatible with Arduino IDE and other development platforms.
LILYGO T-Lora Pager S3 Handheld AIOT Programmable Development Device

LILYGO T-Lora Pager

View Product

Arduino IDE Quick Start Guide

Tip: As of 2025/04/28, platformio does not support the latest esp-arduino v3 and above. The current supported version is v2.0.17 (based on IDF v4.4.7) .
  1. Install the Arduino IDE.
  2. Download the LilyGoLib library.
  3. In the Arduino IDE, go to Sketch -> Include Library -> Add .ZIP Library, and select the LilyGoLib ZIP file you downloaded.
  4. Install the LilyGoLib-ThirdParty package:
  5. Copy all the folders inside the LilyGoLib-ThirdParty directory into your Arduino IDE’s libraries folder.
    If the libraries folder does not exist, please create it.
    Note: Do not copy the entire LilyGoLib-ThirdParty directory itself, only the folders contained within it.
  6. To locate your Arduino libraries folder on your computer:
    Windows: C:\Users\{username}\Documents\Arduino
    macOS: /Users/{username}/Documents/Arduino
    Linux: /home/{username}/Arduino
Tip: Please be aware that the libraries included in LilyGoLib-ThirdParty may not be the most up-to-date versions. Do not update the dependent libraries to newer versions unless you have confirmed that the hardware is functioning correctly. Every time you open the Arduino IDE, it may notify you of available library updates. Before upgrading, ensure your hardware runs properly with the current versions. If you experience any issues after updating, revert to the previously working versions of the dependent libraries. You can check the current list of dependent library versions here.
  1. Open Arduino IDE and navigate to File -> Examples -> LilyGOLib -> helloworld
  2. Set up the board by going to Tools -> Board -> esp32, then select the appropriate option from the table below:
Arduino IDE Setting Value
Board LilyGo-T-LoRa-Pager
Port Your port
USB CDC On Boot Enabled
CPU Frequency 240MHZ(WiFi)
Core Debug Level None
USB DFU On Boot Disable
Erase All Flash Before Sketch Upload Disable
Events Run On Core 1
JTAG Adapter Disable
Arduino Runs On Core 1
USB Firmware MSC On Boot Disable
Partition Scheme 16M Flash(3M APP/9.9MB FATFS)
Board Revision Radio-SX1262
Upload Mode UART0/Hardware CDC
Upload Speed 921600
USB Mode CDC and JTAG
  1. Board Revision options must be selected based on the RF module you have purchased. Current options include:
  • Radio-SX1262 (Sub 1G LoRa)
  • Radio-SX1280 (2.4G LoRa)
  • Radio-CC1101 (Sub 1G (G)MSK, 2(G)FSK, 4(G)FSK, ASK, OOK)
  • Radio-LR1121 (Sub 1G + 2.4G LoRa)
  • Radio-SI4432 (Sub 1G ISM)
  1. Select the correct Port.
  2. Click Upload and wait for the sketch to compile and upload.
  3. If you are unable to upload the sketch or the USB device repeatedly connects and disconnects, please manually put the device into download mode. Instructions for entering this mode can be found T-LoRa-Pager Enter Download Mode.
Note:
  • If no data appears in the serial output, verify that USB CDC On Boot is set to Enabled.
  • The Board Revision should match the actual RF module installed, with the default being SX1262.
  • This library requires the latest version of arduino-esp32. Versions lower than V3.3.0-alpha1 will produce an error.

LILYGO T-LoRa-Pager Download Mode Instructions

If your USB ports keep popping in and out, download mode is needed only when the sketch upload fails. Normally, this step is not necessary.
To enter download mode:
  1. Connect your board via a USB-C cable.
  2. Press and hold the BOOT button.
  3. While holding BOOT, release the RST button.
  4. Then release the BOOT button.
  5. The USB port should now remain stable without flashing. You can proceed by clicking Upload.
  6. Press the RST button to exit download mode.
If the new code uploads successfully but the device does not power on or behaves abnormally, please use the provided factory test code to check if the peripherals are functioning correctly. You can download the firmware and instructions for testing here.

 

Sidebar

Latest post

This section doesn’t currently include any content. Add content to this section using the sidebar.

Register for our newsletter

Get the latest information about our products and special offers.