Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use RN171: Examples, Pinouts, and Specs

Image of RN171
Cirkit Designer LogoDesign with RN171 in Cirkit Designer

Introduction

The RN171 is a low-power, compact Wi-Fi module designed for embedded applications, enabling wireless connectivity for microcontrollers and other devices. It supports various networking protocols, including TCP/IP, UDP, FTP, and HTTP, making it a versatile choice for wireless communication. The module is pre-certified for FCC, IC, and CE, simplifying the integration process for developers. Its small form factor and low power consumption make it ideal for Internet of Things (IoT) projects, smart home devices, industrial automation, and other embedded systems requiring wireless connectivity.

Explore Projects Built with RN171

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Satellite Compass and Network-Integrated GPS Data Processing System
Image of GPS 시스템 측정 구성도_241016: A project utilizing RN171 in a practical application
This circuit comprises a satellite compass, a mini PC, two GPS antennas, power supplies, a network switch, media converters, and an atomic rubidium clock. The satellite compass is powered by a triple output DC power supply and interfaces with an RS232 splitter for 1PPS signals. The mini PCs are connected to the USRP B200 devices via USB for data and power, and to media converters via Ethernet, which in turn connect to a network switch using fiber optic links. The antennas are connected to the USRP B200s through RF directional couplers, and the atomic clock provides a 1PPS input to the RS232 splitter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
Image of women safety: A project utilizing RN171 in a practical application
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Satellite-Based Timing and Navigation System with SDR and Atomic Clock Synchronization
Image of GPS 시스템 측정 구성도_Confirm: A project utilizing RN171 in a practical application
This circuit appears to be a complex system involving power supply management, GPS and timing synchronization, and data communication. It includes a SI-TEX G1 Satellite Compass for GPS data, an XHTF1021 Atomic Rubidium Clock for precise timing, and Ettus USRP B200 units for software-defined radio communication. Power is supplied through various SMPS units and distributed via terminal blocks and DC jacks. Data communication is facilitated by Beelink MINI S12 N95 computers, RS232 splitters, and a 1000BASE-T Media Converter for network connectivity. RF Directional Couplers are used to interface antennas with the USRP units, and the entire system is likely contained within cases for protection and organization.
Cirkit Designer LogoOpen Project in Cirkit Designer
Dual Arduino Pro Mini with NRF24L01 Wireless Communication and Humidity Sensing
Image of NRF: A project utilizing RN171 in a practical application
This circuit consists of two separate systems, each with an Arduino Pro Mini microcontroller interfaced with an NRF24L01 wireless transceiver module for RF communication. Both systems are powered by 18650 Li-ion batteries, regulated to 3.3V by voltage regulators, and can be turned on or off using rocker switches. Additionally, one system includes a YL-69 humidity sensor interfaced with its Arduino for environmental sensing.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with RN171

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 GPS 시스템 측정 구성도_241016: A project utilizing RN171 in a practical application
Satellite Compass and Network-Integrated GPS Data Processing System
This circuit comprises a satellite compass, a mini PC, two GPS antennas, power supplies, a network switch, media converters, and an atomic rubidium clock. The satellite compass is powered by a triple output DC power supply and interfaces with an RS232 splitter for 1PPS signals. The mini PCs are connected to the USRP B200 devices via USB for data and power, and to media converters via Ethernet, which in turn connect to a network switch using fiber optic links. The antennas are connected to the USRP B200s through RF directional couplers, and the atomic clock provides a 1PPS input to the RS232 splitter.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of women safety: A project utilizing RN171 in a practical application
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of GPS 시스템 측정 구성도_Confirm: A project utilizing RN171 in a practical application
Satellite-Based Timing and Navigation System with SDR and Atomic Clock Synchronization
This circuit appears to be a complex system involving power supply management, GPS and timing synchronization, and data communication. It includes a SI-TEX G1 Satellite Compass for GPS data, an XHTF1021 Atomic Rubidium Clock for precise timing, and Ettus USRP B200 units for software-defined radio communication. Power is supplied through various SMPS units and distributed via terminal blocks and DC jacks. Data communication is facilitated by Beelink MINI S12 N95 computers, RS232 splitters, and a 1000BASE-T Media Converter for network connectivity. RF Directional Couplers are used to interface antennas with the USRP units, and the entire system is likely contained within cases for protection and organization.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of NRF: A project utilizing RN171 in a practical application
Dual Arduino Pro Mini with NRF24L01 Wireless Communication and Humidity Sensing
This circuit consists of two separate systems, each with an Arduino Pro Mini microcontroller interfaced with an NRF24L01 wireless transceiver module for RF communication. Both systems are powered by 18650 Li-ion batteries, regulated to 3.3V by voltage regulators, and can be turned on or off using rocker switches. Additionally, one system includes a YL-69 humidity sensor interfaced with its Arduino for environmental sensing.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • IoT devices and smart home systems
  • Wireless sensor networks
  • Industrial automation and monitoring
  • Remote data logging and control
  • Embedded systems requiring Wi-Fi connectivity

Technical Specifications

The RN171 module is designed to provide reliable wireless communication with minimal power consumption. Below are its key technical details:

Key Technical Details

  • Wi-Fi Standards: IEEE 802.11b/g
  • Frequency Range: 2.4 GHz
  • Data Rate: Up to 54 Mbps
  • Operating Voltage: 3.0V to 3.7V
  • Current Consumption:
    • Sleep Mode: 4 µA
    • Idle Mode: 38 mA
    • Transmit Mode: 210 mA (peak)
  • Operating Temperature: -40°C to +85°C
  • Dimensions: 26.7 mm x 17.8 mm x 3.1 mm
  • Security Protocols: WEP, WPA-PSK, WPA2-PSK
  • Networking Protocols: TCP/IP, UDP, FTP, HTTP
  • Antenna: Integrated PCB antenna or external antenna via U.FL connector

Pin Configuration and Descriptions

The RN171 module has a 12-pin interface. Below is the pin configuration and description:

Pin Name Type Description
1 GND Power Ground connection
2 VDD Power Power supply input (3.0V to 3.7V)
3 TX Output UART Transmit (data output)
4 RX Input UART Receive (data input)
5 GPIO0 Input/Output General-purpose I/O pin
6 GPIO1 Input/Output General-purpose I/O pin
7 GPIO2 Input/Output General-purpose I/O pin
8 GPIO3 Input/Output General-purpose I/O pin
9 RESET Input Active-low reset pin
10 RTS Output UART Ready-to-Send signal
11 CTS Input UART Clear-to-Send signal
12 ADC0 Input Analog-to-digital converter input

Usage Instructions

The RN171 module is straightforward to use and can be integrated into a variety of circuits. Below are the steps and best practices for using the module:

How to Use the RN171 in a Circuit

  1. Power Supply: Connect the VDD pin to a regulated 3.3V power source and the GND pin to ground.
  2. UART Communication: Connect the TX and RX pins to the UART pins of your microcontroller. Ensure proper voltage levels for UART communication.
  3. Reset: Use the RESET pin to initialize the module. Pull the pin low momentarily to reset the module.
  4. GPIO Pins: Configure the GPIO pins as needed for your application. These can be used for input or output.
  5. Antenna: Use the integrated PCB antenna for basic applications or connect an external antenna via the U.FL connector for extended range.

Important Considerations and Best Practices

  • Power Supply: Ensure a stable 3.3V power supply to avoid damage to the module.
  • UART Voltage Levels: Use a level shifter if your microcontroller operates at 5V logic levels.
  • Antenna Placement: For optimal performance, place the module away from metal surfaces and other sources of interference.
  • Firmware Updates: Periodically check for firmware updates from the manufacturer to ensure compatibility and security.

Example: Connecting RN171 to Arduino UNO

The RN171 can be connected to an Arduino UNO for wireless communication. Below is an example of how to set up the module and send data over Wi-Fi.

Wiring Diagram

  • RN171 TXArduino RX (Pin 0)
  • RN171 RXArduino TX (Pin 1)
  • RN171 VDD3.3V on Arduino
  • RN171 GNDGND on Arduino

Arduino Code

#include <SoftwareSerial.h>

// Define RX and TX pins for SoftwareSerial
SoftwareSerial wifi(2, 3); // RX = Pin 2, TX = Pin 3

void setup() {
  Serial.begin(9600); // Start Serial Monitor communication
  wifi.begin(9600);   // Start communication with RN171 module

  // Send initialization commands to RN171
  wifi.println("set wlan ssid YourSSID"); // Set Wi-Fi SSID
  wifi.println("set wlan pass YourPassword"); // Set Wi-Fi password
  wifi.println("join"); // Connect to the Wi-Fi network

  Serial.println("RN171 initialized and connected to Wi-Fi.");
}

void loop() {
  // Send data to RN171
  wifi.println("Hello from Arduino!");

  // Check for incoming data from RN171
  if (wifi.available()) {
    String data = wifi.readString();
    Serial.println("Received from RN171: " + data);
  }

  delay(1000); // Wait 1 second before sending the next message
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Module Not Responding:

    • Ensure the module is powered correctly (3.3V).
    • Check the UART connections and ensure the correct baud rate is set (default: 9600 bps).
    • Verify that the RESET pin is not held low.
  2. Wi-Fi Connection Fails:

    • Double-check the SSID and password for your Wi-Fi network.
    • Ensure the Wi-Fi network operates on the 2.4 GHz band (the RN171 does not support 5 GHz).
  3. Poor Signal Strength:

    • Ensure the module is placed away from interference sources.
    • Use an external antenna if the integrated antenna is insufficient.
  4. Data Transmission Issues:

    • Verify that the UART voltage levels match between the RN171 and the microcontroller.
    • Check for loose or incorrect wiring.

FAQs

Q: Can the RN171 operate on a 5V power supply?
A: No, the RN171 requires a regulated 3.3V power supply. Using 5V can damage the module.

Q: Does the RN171 support encryption?
A: Yes, the RN171 supports WEP, WPA-PSK, and WPA2-PSK encryption protocols.

Q: Can I update the firmware on the RN171?
A: Yes, firmware updates can be performed via the UART interface. Refer to the manufacturer's documentation for detailed instructions.

Q: What is the maximum range of the RN171?
A: The range depends on the environment and antenna used. With the integrated antenna, the range is typically up to 100 meters in open space.