Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use RYLR896 Lora Module: Examples, Pinouts, and Specs

Image of RYLR896 Lora ModuleDesign with RYLR896 Lora Module in Cirkit Designer

Introduction

The RYLR896 is a low-power, long-range wireless communication module manufactured by REYAX. It operates on the LoRa (Long Range) protocol, which is known for its ability to transmit data over several kilometers while consuming minimal power. This makes the RYLR896 an ideal choice for Internet of Things (IoT) applications where energy efficiency and long-range communication are critical.

Explore Projects Built with RYLR896 Lora Module

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Dual-Mode LoRa and GSM Communication Device with ESP32: A project utilizing RYLR896 Lora Module in a practical application
Dual-Mode LoRa and GSM Communication Device with ESP32

This circuit features an ESP32 Devkit V1 microcontroller interfaced with an RFM95 LoRa transceiver module for long-range communication and a SIM800L GSM module for cellular connectivity. Two LM2596 step-down modules are used to regulate the 12V battery voltage down to 3.3V required by the ESP32, RFM95, and SIM800L. The ESP32 facilitates data exchange between the RFM95 and SIM800L, enabling the system to send/receive data over both LoRa and GSM networks.

Open Project in Cirkit Designer
Image of ESP8266 NodeMCU with LoRa and RS-485 Communication Interface: A project utilizing RYLR896 Lora Module in a practical application
ESP8266 NodeMCU with LoRa and RS-485 Communication Interface

This circuit features two ESP8266 NodeMCU microcontrollers, each interfaced with a LoRa Ra-02 SX1278 module for long-range wireless communication, and an RS-485 module for wired serial communication. The ESP8266 microcontrollers are responsible for handling the communication protocols and data processing. Power is supplied to the microcontrollers via an MB102 Breadboard Power Supply Module, which provides both 3.3V and 5V outputs.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

The RYLR896 module is designed to provide reliable and efficient communication. Below are its key technical details:

General Specifications

Parameter Value
Manufacturer REYAX
Part Number RYLR896
Communication Protocol LoRa
Frequency Range 868 MHz / 915 MHz
Modulation LoRa Modulation (Spread Spectrum)
Data Rate 0.3 kbps to 37.5 kbps
Transmission Range Up to 15 km (line of sight)
Operating Voltage 2.8V to 3.6V
Operating Current 10.5 mA (transmit), 0.5 µA (sleep mode)
Operating Temperature -40°C to +85°C
Dimensions 15 mm x 22 mm x 3 mm

Pin Configuration and Descriptions

The RYLR896 module has a total of 12 pins. Below is the pinout and description:

Pin Number Pin Name Description
1 VCC Power supply input (2.8V to 3.6V)
2 GND Ground
3 TXD UART Transmit Pin
4 RXD UART Receive Pin
5 RESET Module Reset (Active Low)
6 NC Not Connected
7 NC Not Connected
8 NC Not Connected
9 NC Not Connected
10 NC Not Connected
11 NC Not Connected
12 ANT Antenna Connection

Usage Instructions

The RYLR896 module is straightforward to integrate into a circuit. It communicates via UART, making it compatible with microcontrollers such as the Arduino UNO.

Steps to Use the RYLR896 in a Circuit

  1. Power the Module: Connect the VCC pin to a 3.3V power source and the GND pin to ground.
  2. Connect UART Pins:
    • Connect the TXD pin of the module to the RX pin of the microcontroller.
    • Connect the RXD pin of the module to the TX pin of the microcontroller.
  3. Attach an Antenna: Connect a suitable antenna to the ANT pin for optimal signal transmission and reception.
  4. Reset the Module: Use the RESET pin to initialize the module if needed.
  5. Send AT Commands: Use a serial terminal or microcontroller to send AT commands to configure and operate the module.

Important Considerations and Best Practices

Example Code for Arduino UNO

Below is an example of how to use the RYLR896 module with an Arduino UNO:

#include <SoftwareSerial.h>

// Define RX and TX pins for SoftwareSerial
SoftwareSerial loraSerial(10, 11); // RX = Pin 10, TX = Pin 11

void setup() {
  // Initialize Serial Monitor
  Serial.begin(9600);
  while (!Serial);

  // Initialize LoRa Module Serial Communication
  loraSerial.begin(9600);
  Serial.println("RYLR896 LoRa Module Initialized");

  // Send AT command to check module status
  loraSerial.println("AT");
}

void loop() {
  // Check for data from the LoRa module
  if (loraSerial.available()) {
    String response = loraSerial.readString();
    Serial.print("LoRa Module Response: ");
    Serial.println(response);
  }

  // Send a test message every 5 seconds
  static unsigned long lastSendTime = 0;
  if (millis() - lastSendTime > 5000) {
    lastSendTime = millis();
    loraSerial.println("AT+SEND=0,5,Hello");
    Serial.println("Sent: Hello");
  }
}

Explanation of the Code

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Response from the Module

    • Cause: Incorrect wiring or baud rate mismatch.
    • Solution: Double-check the connections and ensure the baud rate is set to 9600 bps.
  2. Short Communication Range

    • Cause: Poor antenna placement or interference.
    • Solution: Use a high-quality antenna and place it in an open area.
  3. Module Not Powering On

    • Cause: Insufficient power supply.
    • Solution: Ensure the power supply provides 3.3V and sufficient current.
  4. AT Commands Not Recognized

    • Cause: Incorrect UART configuration.
    • Solution: Verify the TX and RX connections and ensure the microcontroller's UART settings match the module.

FAQs

This concludes the documentation for the RYLR896 LoRa Module. For further details, refer to the manufacturer's datasheet.