The RYLR998 is a high-performance LoRa wireless transceiver module designed by Rayax. It operates in the global ISM frequency bands, providing long-range communication capabilities with low power consumption. This makes it an ideal choice for Internet of Things (IoT) applications, remote sensor networks, home automation, and other applications where wireless communication over long distances is required.
Pin Number | Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | TX | UART transmit |
3 | RX | UART receive |
4 | VCC | Power supply (2.8V to 3.7V) |
5 | RESET | Reset pin (active low) |
6 | GPIO0 | General-purpose input/output |
7 | GPIO1 | General-purpose input/output |
8 | GPIO2 | General-purpose input/output |
AT+RSSI?
to check the received signal strength indication.Q: Can the RYLR998 be used with an Arduino UNO?
Q: What is the maximum range of the RYLR998?
Q: How can I configure the module?
#include <SoftwareSerial.h>
// RX and TX pins connected to the Arduino
const int RXPin = 10;
const int TXPin = 11;
// Set up a new SoftwareSerial port
SoftwareSerial loraSerial(RXPin, TXPin);
void setup() {
// Start the hardware serial port
Serial.begin(9600);
// Start the software serial port
loraSerial.begin(9600);
// Send a configuration command to the RYLR998
loraSerial.println("AT+ADDRESS=1"); // Set device address to 1
}
void loop() {
// Check if data has been received from the RYLR998
if (loraSerial.available()) {
String received = loraSerial.readString();
Serial.print("Received: ");
Serial.println(received);
}
// Check if data has been received from the serial monitor
if (Serial.available()) {
String toSend = Serial.readString();
loraSerial.print(toSend); // Send the data to the RYLR998
}
}
Note: This example uses SoftwareSerial
to communicate with the RYLR998. Ensure that the baud rate matches the configuration of the module. The example shows how to send a simple AT command to set the device address and how to send and receive data.