LILYGO LoRa32

LILYGO LoRa32 915Mhz ESP32 Development Board

Manual d'usuari

1. Introducció

This manual provides essential information for the setup, operation, and maintenance of your LILYGO LoRa32 915Mhz ESP32 Development Board. This versatile module integrates an ESP32 microcontroller with LoRa, OLED display, SD card support, Bluetooth Low Energy (BLE), and WiFi capabilities, making it suitable for a wide range of IoT and communication projects.

2. Característiques clau

  • Integrated ESP32 MCU for powerful processing.
  • LoRa communication module (915Mhz) for long-range, low-power wireless data transmission.
  • 0.96 inch OLED display for real-time data visualization.
  • SD card slot for local data storage.
  • Built-in Bluetooth Low Energy (BLE) and WiFi connectivity.
  • SMA antenna connector for enhanced signal transmission.
  • TP4054 for battery charging management.
  • Optimized power switch interaction mode.
  • Supports Paxcounter applications for mobile device metering.
  • Flexible data transmission options: local SD-card, LoRaWAN, MQTT over TCP/IP, or serial (SPI).

3. Què hi ha a la caixa

  • 1 x LILYGO T3 LoRa Development Board
  • 1 x SMA Antenna
  • 2 x Pin Headers
  • 1 x Battery Cable
Contents of the LILYGO LoRa32 package including the board, antenna, pin headers, and battery cable.

Figure 3.1: Included components with the LILYGO LoRa32 Development Board.

4. Producte acabatview

Davant i darrere view of the LILYGO LoRa32 915Mhz ESP32 Development Board, showing the OLED display and main components.

Figura 4.1: superior i inferior view of the LILYGO LoRa32 Development Board.

Detailed diagram of the LILYGO LoRa32 board highlighting key components such as SMA antenna, SIM card slot, USB port, RST button, ON-OFF switch, battery cable interface, 3D antenna, and IPEX interface.

Figure 4.2: Component identification on the LILYGO LoRa32 board.

Pinout diagram for the LILYGO LoRa32 ESP32 Development Board, showing GPIO assignments for various functions including LoRa, OLED, and TF Card.

Figure 4.3: Pinout diagram of the LILYGO LoRa32 T3 V1.6.1 board.

5. Especificacions

Technical specifications of the LILYGO LoRa32 board, including MCU (ESP32), Flash (4MB), Wireless protocols (Wi-Fi, Bluetooth V4.2, BLE), Onboard functions, OLED display details, and Low Power LoRa Transceiver specifications (SX1276/SX1278, frequency bands, PA, RX current).

Figura 5.1: Especificacions tècniques detallades.

Especificacions generals
CaracterísticaDetall
MarcaLILYGO
Nom del modelLoRa32
Número de model de l'articleLoRa32
ProcessadorESP32 (915 MHz)
RAMLPDDR
Mida de la pantalla0.96 polzades
Resolució de pantallaOLED (128x64)
Tipus sense filBluetooth, WiFi
Pes de l'article1.13 unces
Dimensions del producte1.97 x 3.15 x 1.57 polzades
Sistema operatiuMac OS (compatible, typically programmed via Arduino IDE/PlatformIO)

6. Configuració

Initial setup of the LILYGO LoRa32 board typically involves installing necessary drivers and development environments on your computer. The board is commonly programmed using the Arduino IDE or PlatformIO with ESP32 board support.

  1. Install USB Drivers: Connect the board to your computer via a micro USB cable. Depending on your operating system, you may need to install CP210x USB to UART Bridge VCP Drivers.
  2. Prepare Development Environment: Install the Arduino IDE or PlatformIO. Add ESP32 board support to your chosen IDE.
  3. Instal·lar biblioteques: Install necessary libraries for LoRa, OLED display (e.g., U8g2 library), and SD card functionality.
  4. Connectar l'antena: Securely attach the provided SMA antenna to the SMA connector on the board. Ensure it is finger-tight to prevent signal loss.
  5. Font d'alimentació: The board can be powered via the micro USB port or a 3.7V LiPo battery connected to the battery cable interface. Use the ON-OFF switch to control power when using a battery.

For detailed programming guides and example code, refer to the official LILYGO GitHub repository: github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series.

7. Funcionament

Once programmed, the LILYGO LoRa32 board can perform various functions based on the uploaded firmware. Common applications include:

  • LoRa Communication: Send and receive data over long distances using the LoRa module. Ensure your LoRa frequency matches local regulations (e.g., 915Mhz for North America).
  • Pantalla OLED: Information can be displayed on the 0.96 inch OLED screen, such as sensor readings, status messages, or time.
  • Ús de la targeta SD: Log data to a micro SD card inserted into the slot. This is useful for data logging applications where continuous connectivity is not required.
  • WiFi and BLE: Utilize the ESP32's built-in WiFi for internet connectivity or local network communication, and BLE for short-range device pairing.
  • Paxcounter Functionality: The board can be configured as a Paxcounter to detect and count mobile devices in its vicinity, providing an estimation of people density. Data can be transmitted to a cloud service or stored locally.

Video 7.1: Demonstration of the LILYGO TTGO LoRa32 V2.1_1.6 Version 915Mhz ESP32 LoRa Module in operation, showcasing its display and general functionality.

Examples of Paxcounter application with the LILYGO LoRa32 board, showing data graphs and the device in use for counting mobile devices in public spaces.

Figure 7.2: Paxcounter application examples and data visualization.

8. Manteniment

To ensure the longevity and optimal performance of your LILYGO LoRa32 Development Board, follow these maintenance guidelines:

  • Manejar amb cura: The board contains sensitive electronic components. Avoid dropping it or subjecting it to physical shock.
  • Mantenir sec: Protect the board from moisture and humidity. Do not operate it in wet environments.
  • Netegeu suaument: If cleaning is necessary, use a soft, dry cloth. Avoid using liquids or abrasive cleaners.
  • Emmagatzematge adequat: When not in use, store the board in an anti-static bag or a protective enclosure to prevent dust accumulation and electrostatic discharge.
  • Cura de l'antena: Ensure the antenna connection is secure but do not overtighten. Avoid bending or damaging the antenna.

9. Solució De Problemes

If you encounter issues with your LILYGO LoRa32 Development Board, consider the following troubleshooting steps:

  • La placa no s'encén:
    • Comproveu la connexió del cable USB i la font d'alimentació.
    • If using a battery, ensure it is charged and correctly connected, and the ON-OFF switch is in the 'ON' position.
  • Errors de càrrega:
    • Verify that the correct board (e.g., ESP32 Dev Module) and COM port are selected in your IDE.
    • Ensure USB drivers are correctly installed.
    • Try holding down the 'BOOT' button while uploading, then releasing it after the upload starts.
  • La pantalla OLED no funciona:
    • Check your code for correct OLED initialization and I2C address.
    • Ensure the OLED library is correctly installed and configured.
  • Problemes de comunicació de LoRa:
    • Verifiqueu que l'antena estigui ben connectada.
    • Check LoRa frequency settings in your code to match your region.
    • Ensure LoRa library is correctly implemented.
  • Targeta SD no detectada:
    • Assegureu-vos que la targeta SD estigui inserida correctament.
    • Check your code for correct SD card initialization and SPI pin assignments.
    • Try a different SD card to rule out card issues.

For more specific issues or advanced troubleshooting, consult the LILYGO community forums or the GitHub repository for known issues and solutions.

10. Garantia i Suport

For warranty information and technical support regarding your LILYGO LoRa32 Development Board, please refer to the official LILYGO store or contact their customer service directly. The LILYGO brand is committed to providing quality products and support for their development boards.

Visit the LILYGO Store: LILYGO Store on Amazon

Documents relacionats - LoRa32

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.