LILYGO RS1833

LILYGO LoRa32 868Mhz ESP32 TTGO Development Board User Manual

Model: LoRa32 RS1833

1. Introduction

This manual provides comprehensive instructions for the LILYGO LoRa32 868Mhz ESP32 TTGO Development Board. This versatile module integrates an ESP32 microcontroller with LoRa communication capabilities, a 0.96-inch OLED display, and an SD card slot, making it suitable for a wide range of IoT and wireless communication projects. Please read this manual carefully to ensure proper setup, operation, and maintenance of your device.

2. Product Overview

2.1. Key Features

2.2. Package Contents

The standard package includes the following items:

LILYGO LoRa32 package contents including board, antenna, pin headers, and battery cable.

Figure 2.2.1: Contents of the LILYGO LoRa32 Development Board package.

Diagram showing the package contents: T3 LoRa board, cable, pin headers, and antenna.

Figure 2.2.2: Illustrated diagram of included components.

2.3. Board Layout and Components

Familiarize yourself with the key components and interfaces on the LILYGO LoRa32 board:

Top and bottom view of the LILYGO LoRa32 development board, showing the OLED display, ESP32 module, LoRa module, USB port, and various pins.

Figure 2.3.1: Front and back view of the LILYGO LoRa32 board.

Detailed diagram of the LILYGO LoRa32 board identifying components like SMA antenna connector, SIM card slot, USB port, ON-OFF switch, battery cable interface, 3D antenna, and IPEX interface.

Figure 2.3.2: Component identification on the LILYGO LoRa32 board.

Pinout diagram for the LILYGO LoRa32 T3 V1.6.1 board, showing GPIO assignments for ESP32, OLED, LoRa modules (SX1276/SX1278), and TF Card.

Figure 2.3.3: Pinout diagram of the LILYGO LoRa32 board.

3. Setup Guide

3.1. Hardware Connection

  1. Attach LoRa Antenna: Carefully screw the provided LoRa antenna onto the SMA connector on the board. Ensure it is finger-tight to avoid damage.
  2. Power Supply:
    • USB Power: Connect the board to a computer or a 5V USB power adapter using a Micro USB cable.
    • Battery Power: If using a 3.7V LiPo battery, connect it to the JST battery connector. Ensure the power switch is in the "OFF" position before connecting, then switch to "ON" to power the board.
  3. SD Card (Optional): Insert a formatted TF (Micro SD) card into the SD card slot if your application requires local data storage.
  4. Pin Headers (Optional): Solder the included pin headers if you plan to use the GPIO pins for external connections on a breadboard or custom PCB.
LILYGO LoRa32 board with the LoRa antenna attached, viewed from the side.

Figure 3.1.1: LILYGO LoRa32 board with antenna connected.

3.2. Software Environment Setup

To program the LILYGO LoRa32 board, you will typically use the Arduino IDE or PlatformIO. Follow these general steps:

  1. Install Arduino IDE: Download and install the latest version of the Arduino IDE from the official website (arduino.cc/en/software).
  2. Add ESP32 Board Support:
    • Go to File > Preferences in the Arduino IDE.
    • In the "Additional Boards Manager URLs" field, add: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    • Go to Tools > Board > Boards Manager... Search for "esp32" and install the "esp32 by Espressif Systems" package.
  3. Install USB Driver: The board uses a CH9102 USB-to-Serial chip. You may need to install the appropriate driver for your operating system. Search for "CH9102 driver" online.
  4. Select Board: In the Arduino IDE, go to Tools > Board and select the appropriate ESP32 board, often "ESP32 Dev Module" or a specific TTGO LoRa32 board if available in the list.
  5. Install Libraries: Depending on your project, you will need to install libraries for LoRa communication (e.g., LoRa by Sandeep Mistry), OLED display (e.g., Adafruit SSD1306, Adafruit GFX Library), and SD card functionality. These can be installed via Sketch > Include Library > Manage Libraries...
  6. Upload Code: Connect the board via USB, select the correct COM port under Tools > Port, and then upload your sketch.

4. Operating Instructions

4.1. Basic Operation

4.2. Data Transmission

The LILYGO LoRa32 board supports various data transmission methods:

4.3. Paxcounter Functionality

The LILYGO LoRa32 board is commonly used for Paxcounter applications. A Paxcounter is an ESP32-based device designed to detect and count nearby mobile devices (via Wi-Fi and Bluetooth probes) in real-time. This provides an estimation of the number of people in an area.

Examples of Paxcounter applications, showing the device in use and data graphs.

Figure 4.3.1: Paxcounter application examples.

To implement Paxcounter functionality, specific firmware needs to be flashed onto the ESP32. Refer to community resources and project repositories for detailed instructions on flashing and configuring Paxcounter firmware.

5. Maintenance

LILYGO LoRa32 board stored in its protective plastic case.

Figure 5.1.1: Board stored in its protective case.

6. Troubleshooting

IssuePossible CauseSolution
Board not powering onIncorrect USB connection, faulty cable, battery switch off, discharged battery.Check USB cable and port. Ensure battery is charged and power switch is "ON". Try a different power source.
Upload errors in Arduino IDEIncorrect board selection, wrong COM port, missing USB driver, firmware flashing issues.Verify board and port selection. Install CH9102 driver. Ensure proper firmware flashing procedure, sometimes requiring erasing flash before re-uploading.
OLED display not workingIncorrect wiring (if external), incorrect library, I2C address mismatch, faulty display.Check I2C connections (SDA to GPIO21, SCL to GPIO22). Ensure correct OLED library is installed and initialized with the right I2C address.
LoRa communication issuesAntenna not connected, incorrect frequency, power settings, interference, range limitations.Ensure antenna is securely attached. Verify LoRa frequency (868Mhz for this model) and power settings in code. Test in an open environment.
SD card not detectedIncorrect wiring, card not formatted, incompatible card, incorrect library.Ensure SD card is properly inserted and formatted (FAT32). Check SD card library usage and pin assignments.

7. Technical Specifications

Technical specifications overview for LILYGO LoRa32, detailing MCU, Flash, Wireless protocol, Onboard functions, OLED, and Low Power LoRa Transceiver specifications.

Figure 7.1.1: Overview of technical specifications.

FeatureDetail
BrandLILYGO
Model Name / SeriesLoRa32 RS1833
MicrocontrollerESP32 (CH9102 chip)
Flash Memory4MB
RAMLPDDR (integrated with ESP32)
Operating SystemFreeRTOS (typical for ESP32 development)
Connectivity TechnologyWi-Fi, Bluetooth V4.2, BLE, LoRa
LoRa TransceiverSX1276 (for 868/915/923Mhz variants)
LoRa Frequency Band868Mhz (for this specific product variant)
OLED Display0.96 inch SSD1306, 128x64 resolution, I2C interface (SDA-GPIO21, SCL-GPIO22)
SD Card SupportYes (TF Card)
Power SupplyUSB (5V) / 3.7V LiPo battery
Battery ChargingIntegrated TP4054
Dimensions (approx.)6.4cm (H) x 2.7cm (W)
LILYGO LoRa32 board with approximate dimensions indicated: 6.4cm height and 2.7cm width.

Figure 7.1.2: Approximate dimensions of the LILYGO LoRa32 board.

8. Warranty and Support

LILYGO products are designed for hobbyists and developers. While specific warranty details may vary by region and retailer, LILYGO generally provides support through its official website and community forums.

Please note that modifications to the board or improper use may void any implied warranty.

Related Documents - RS1833

Preview LILYGO T-Display User Guide
A user guide for the LILYGO T-Display development board, covering setup, Arduino integration, and basic commands for ESP32 module development.
Preview LILYGO T-BEAM-S3 User Guide: Setup and Development
This user guide provides comprehensive instructions for setting up the LILYGO T-BEAM-S3 development board. Learn how to configure the software environment using Arduino IDE, connect the board, and utilize its Wi-Fi, BLE, GPS, and LoRa capabilities for IoT projects.
Preview LILYGO T-Deck ESP32-S3 User Guide for Arduino Development
Comprehensive user guide for the LILYGO T-Deck development board, detailing setup of the Arduino IDE, ESP32-S3 configuration, Wi-Fi and LoRa functionality, and SSC command reference for IoT applications.
Preview LILYGO Mini E-Paper-S3 User Guide
Comprehensive user guide for the LILYGO Mini E-Paper-S3 development board. Covers setup, Arduino IDE integration, firmware development, and Wi-Fi command reference for IoT applications.
Preview LILYGO T-WATCH-V3 User Guide
A comprehensive user guide for the LILYGO T-WATCH-V3 development board, detailing setup, software development, and SSC command reference for ESP32 applications.
Preview LILYGO T-Embed User Guide
A comprehensive user guide for the LILYGO T-Embed development board, covering setup, Arduino IDE integration, and Wi-Fi command reference.