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

How to Use WiFi Transceiver: Examples, Pinouts, and Specs

Image of WiFi TransceiverDesign with WiFi Transceiver in Cirkit Designer

Introduction

The REYAX RYLR998 is a high-performance WiFi transceiver module designed to enable wireless communication by transmitting and receiving data over WiFi networks. This compact and versatile device allows devices to connect to the internet or communicate with each other seamlessly. It is widely used in IoT applications, smart home devices, industrial automation, and wireless sensor networks.

Explore Projects Built with WiFi Transceiver

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 ESP32-Based RF Communication System with 433 MHz Modules: A project utilizing WiFi Transceiver in a practical application
ESP32-Based RF Communication System with 433 MHz Modules

This circuit comprises an ESP32 microcontroller connected to a 433 MHz RF transmitter and receiver pair. The ESP32 is programmed to receive and decode RF signals through the receiver module, as well as send RF signals via the transmitter module. Additionally, the ESP32 can communicate with a Bluetooth device to exchange commands and data, and it uses an LED for status indication.

Open Project in Cirkit Designer

Common Applications

Technical Specifications

Key Technical Details

Parameter Specification
Manufacturer REYAX
Part ID RYLR998
Communication Protocol WiFi (802.11 b/g/n)
Operating Voltage 3.3V
Operating Current 80mA (typical)
Transmission Power +20 dBm (maximum)
Data Rate Up to 150 Mbps
Operating Temperature -40°C to +85°C
Dimensions 24mm x 16mm x 3mm

Pin Configuration and Descriptions

The RYLR998 module has a total of 8 pins. Below is the pinout and description:

Pin Number Pin Name Description
1 VCC Power supply input (3.3V)
2 GND Ground
3 TXD UART Transmit Data (connect to RX of MCU)
4 RXD UART Receive Data (connect to TX of MCU)
5 EN Enable pin (active HIGH to enable the module)
6 RST Reset pin (active LOW to reset the module)
7 GPIO0 General Purpose Input/Output
8 GPIO1 General Purpose Input/Output

Usage Instructions

How to Use the RYLR998 in a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3V regulated power source and the GND pin to ground.
  2. UART Communication: Connect the TXD pin of the module to the RX pin of your microcontroller (e.g., Arduino UNO) and the RXD pin of the module to the TX pin of the microcontroller.
  3. Enable the Module: Pull the EN pin HIGH to activate the module.
  4. Reset the Module: Optionally, connect the RST pin to a GPIO pin of your microcontroller for manual or software-controlled resets.
  5. GPIO Pins: Use GPIO0 and GPIO1 for additional control or input/output functionality as needed.

Important Considerations

Example: Connecting to an Arduino UNO

Below is an example of how to connect the RYLR998 to an Arduino UNO and send data over WiFi.

Circuit Diagram

Arduino Code

#include <SoftwareSerial.h>

// Define SoftwareSerial pins for RYLR998
SoftwareSerial wifiModule(10, 11); // RX = Pin 10, TX = Pin 11

void setup() {
  // Initialize serial communication
  Serial.begin(9600); // For debugging via Serial Monitor
  wifiModule.begin(9600); // Communication with RYLR998

  // Reset the module
  pinMode(9, OUTPUT); // RST pin connected to Digital Pin 9
  digitalWrite(9, LOW); // Pull RST pin LOW to reset
  delay(100); // Wait for reset
  digitalWrite(9, HIGH); // Release reset

  // Send initialization command to the module
  wifiModule.println("AT+RST"); // Reset command
  delay(2000); // Wait for the module to restart

  // Connect to WiFi network
  wifiModule.println("AT+CWJAP=\"YourSSID\",\"YourPassword\""); 
  delay(5000); // Wait for connection to establish
}

void loop() {
  // Send data over WiFi
  wifiModule.println("AT+CIPSEND=4"); // Prepare to send 4 bytes
  delay(100);
  wifiModule.println("TEST"); // Send "TEST" data

  // Read and print responses from the module
  while (wifiModule.available()) {
    String response = wifiModule.readString();
    Serial.println(response); // Print response to Serial Monitor
  }

  delay(5000); // Wait before sending the next message
}

Notes

Troubleshooting and FAQs

Common Issues

  1. Module Not Responding

    • Ensure the EN pin is pulled HIGH.
    • Verify the power supply is stable and within the 3.3V range.
    • Check the UART connections (TXD and RXD) for proper wiring.
  2. WiFi Connection Fails

    • Double-check the SSID and password in the code.
    • Ensure the WiFi network is within range and not restricted (e.g., MAC filtering).
  3. Data Transmission Errors

    • Verify the baud rate settings match between the module and the microcontroller.
    • Check for electromagnetic interference near the module.

Tips for Troubleshooting