LILYGO RS1833

Manual d'usuari de la placa de desenvolupament LILYGO LoRa32 868Mhz ESP32 TTGO

Model: LoRa32 RS1833

1. Introducció

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. Producte acabatview

2.1. Característiques clau

2.2. Contingut del paquet

El paquet estàndard inclou els següents elements:

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:

A dalt i a baix view of the LILYGO LoRa32 development board, showing the OLED display, ESP32 module, LoRa module, USB port, and various pins.

Figura 2.3.1: Davant i darrere 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. Guia de configuració

3.1. Connexió de maquinari

  1. Connecteu l'antena LoRa: Carefully screw the provided LoRa antenna onto the SMA connector on the board. Ensure it is finger-tight to avoid damage.
  2. Font d'alimentació:
    • Potència USB: Connect the board to a computer or a 5V USB power adapter using a Micro USB cable.
    • Potència de la bateria: 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 des del costat.

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. Instal·leu l'IDE d'Arduino: Download and install the latest version of the Arduino IDE from the official weblloc (arduino.cc/en/software).
  2. Add ESP32 Board Support:
    • Vés a File > Preferències a l'IDE d'Arduino.
    • In the "Additional Boards Manager URLs" field, add: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    • Vés a Tools > Board > Boards Manager... Cerca "esp32" and install the "esp32 by Espressif Systems" package.
  3. Instal·leu el controlador USB: The board uses a CH9102 USB-to-Serial chip. You may need to install the appropriate driver for your operating system. Cerca "CH9102 driver" online.
  4. Selecciona la junta: A l'IDE d'Arduino, aneu a Tools > Board and select the appropriate ESP32 board, often "ESP32 Dev Module" or a specific TTGO LoRa32 board if available in the list.
  5. Instal·lar biblioteques: 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, Biblioteca Adafruit GFX), 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 Eines > Port, and then upload your sketch.

4. Instruccions de funcionament

4.1. Funcionament bàsic

4.2. Transmissió de dades

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. Manteniment

LILYGO LoRa32 board stored in its protective plastic case.

Figure 5.1.1: Board stored in its protective case.

6. Solució De Problemes

ProblemaCausa possibleSolució
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.
La pantalla OLED no funcionaIncorrect 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.
No s'ha detectat la targeta SDIncorrect 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. Especificacions tècniques

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

Figura 7.1.1: Mésview of technical specifications.

CaracterísticaDetall
MarcaLILYGO
Nom del model / SèrieLoRa32 RS1833
MicrocontroladorESP32 (CH9102 chip)
Memòria Flash4 MB
RAMLPDDR (integrated with ESP32)
Sistema operatiuFreeRTOS (typical for ESP32 development)
Tecnologia de connectivitatWi-Fi, Bluetooth V4.2, BLE, LoRa
LoRa TransceiverSX1276 (for 868/915/923Mhz variants)
Banda de freqüència LoRa868Mhz (for this specific product variant)
Pantalla OLED0.96 inch SSD1306, 128x64 resolution, I2C interface (SDA-GPIO21, SCL-GPIO22)
Suport per a targetes SDSí (targeta TF)
Font d'alimentacióUSB (5V) / 3.7V LiPo battery
Càrrega de la bateriaIntegrated TP4054
Dimensions (aprox.)6.4 cm (alt) x 2.7 cm (ample)
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. Garantia i Suport

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.

Documents relacionats - RS1833

Preview Guia de l'usuari de LILYGO T-Display
Una guia d'usuari per a la placa de desenvolupament LILYGO T-Display, que cobreix la configuració, la integració amb Arduino i les ordres bàsiques per al desenvolupament de mòduls ESP32.
Preview Guia de l'usuari de LILYGO T-BEAM-S3: Configuració i desenvolupament
Aquesta guia d'usuari proporciona instruccions completes per configurar la placa de desenvolupament LILYGO T-BEAM-S3. Apreneu a configurar l'entorn de programari amb l'IDE d'Arduino, connectar la placa i utilitzar les seves capacitats Wi-Fi, BLE, GPS i LoRa per a projectes d'IoT.
Preview Guia d'usuari de LILYGO T-Deck ESP32-S3 per al desenvolupament d'Arduino
Guia d'usuari completa per a la placa de desenvolupament LILYGO T-Deck, que detalla la configuració de l'IDE d'Arduino, la configuració d'ESP32-S3, la funcionalitat Wi-Fi i LoRa i la referència d'ordres SSC per a aplicacions IoT.
Preview Guia de l'usuari de LILYGO Mini E-Paper-S3
Guia d'usuari completa per a la placa de desenvolupament LILYGO Mini E-Paper-S3. Cobreix la configuració, la integració amb l'IDE d'Arduino, el desenvolupament de firmware i la referència d'ordres Wi-Fi per a aplicacions IoT.
Preview Guia de l'usuari de LILYGO T-WATCH-V3
Una guia d'usuari completa per a la placa de desenvolupament LILYGO T-WATCH-V3, que detalla la configuració, el desenvolupament de programari i la referència d'ordres SSC per a aplicacions ESP32.
Preview Guia d'usuari de LILYGO T-Embed
Una guia d'usuari completa per a la placa de desenvolupament LILYGO T-Embed, que cobreix la configuració, la integració amb l'IDE d'Arduino i la referència d'ordres Wi-Fi.