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

How to Use RTL8720DN: Examples, Pinouts, and Specs

Image of RTL8720DN
Cirkit Designer LogoDesign with RTL8720DN in Cirkit Designer

Introduction

The RTL8720DN is a highly integrated Wi-Fi and Bluetooth module that offers dual-band wireless connectivity for Internet of Things (IoT) applications. It supports Wi-Fi 802.11b/g/n protocols and Bluetooth 5.0, enabling it to handle a wide range of applications that require wireless communication. Common use cases include smart home devices, wireless sensors, and IoT nodes that require both Wi-Fi and Bluetooth connectivity.

Explore Projects Built with RTL8720DN

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
RTL8720DN-Based Interactive Button-Controlled TFT Display
Image of coba-coba: A project utilizing RTL8720DN in a practical application
This circuit features an RTL8720DN microcontroller interfaced with a China ST7735S 160x128 TFT LCD display and four pushbuttons. The microcontroller reads the states of the pushbuttons and displays their statuses on the TFT LCD, providing a visual feedback system for button presses.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wi-Fi Enabled AC Power Switch with RTL8720DN and 5V Relay
Image of Wiring Dehumidifier Controller: A project utilizing RTL8720DN in a practical application
This circuit is designed to control an AC load using a 5V relay module, which is driven by a RTL8720DN microcontroller. The AC-DC PSU board converts 220V AC to 5V DC to power the microcontroller and the relay module. The microcontroller can switch the relay to turn the connected AC load on or off.
Cirkit Designer LogoOpen Project in Cirkit Designer
Laptop-Connected Adalm Pluto SDR with Dual Antennas
Image of Zidan Project: A project utilizing RTL8720DN in a practical application
This circuit connects an Adalm Pluto Software Defined Radio (SDR) to a laptop via a Type-B to USB cable, allowing the laptop to control the SDR and process signals. Additionally, two antennas are connected to the Adalm Pluto SDR, which are likely used for transmitting and receiving radio signals as part of the SDR's functionality.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266 NodeMCU with LoRa and RS-485 Communication and Ethernet Connectivity
Image of Wiring Diagram LoRa: A project utilizing RTL8720DN in a practical application
This circuit serves as a multi-protocol communication hub featuring two ESP8266 NodeMCUs for processing, each connected to a LoRa Ra-02 SX1278 for long-range wireless communication. One NodeMCU is also connected to an RS-485 module for serial communication and a W5500 Ethernet module for network connectivity, with MB102 modules supplying power.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with RTL8720DN

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 coba-coba: A project utilizing RTL8720DN in a practical application
RTL8720DN-Based Interactive Button-Controlled TFT Display
This circuit features an RTL8720DN microcontroller interfaced with a China ST7735S 160x128 TFT LCD display and four pushbuttons. The microcontroller reads the states of the pushbuttons and displays their statuses on the TFT LCD, providing a visual feedback system for button presses.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Wiring Dehumidifier Controller: A project utilizing RTL8720DN in a practical application
Wi-Fi Enabled AC Power Switch with RTL8720DN and 5V Relay
This circuit is designed to control an AC load using a 5V relay module, which is driven by a RTL8720DN microcontroller. The AC-DC PSU board converts 220V AC to 5V DC to power the microcontroller and the relay module. The microcontroller can switch the relay to turn the connected AC load on or off.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Zidan Project: A project utilizing RTL8720DN in a practical application
Laptop-Connected Adalm Pluto SDR with Dual Antennas
This circuit connects an Adalm Pluto Software Defined Radio (SDR) to a laptop via a Type-B to USB cable, allowing the laptop to control the SDR and process signals. Additionally, two antennas are connected to the Adalm Pluto SDR, which are likely used for transmitting and receiving radio signals as part of the SDR's functionality.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Wiring Diagram LoRa: A project utilizing RTL8720DN in a practical application
ESP8266 NodeMCU with LoRa and RS-485 Communication and Ethernet Connectivity
This circuit serves as a multi-protocol communication hub featuring two ESP8266 NodeMCUs for processing, each connected to a LoRa Ra-02 SX1278 for long-range wireless communication. One NodeMCU is also connected to an RS-485 module for serial communication and a W5500 Ethernet module for network connectivity, with MB102 modules supplying power.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

General Features

  • Wi-Fi Standards: IEEE 802.11b/g/n (2.4 GHz)
  • Bluetooth Standard: Bluetooth 5.0 dual-mode (BR/EDR and Low Energy)
  • CPU: ARM Cortex-M4
  • Operating Voltage: 3.0V to 3.6V
  • Operating Temperature: -40°C to 85°C

Wi-Fi Specifications

  • Frequency Range: 2.4 GHz
  • Channels: 1-14 (depending on region)
  • Security: WPA/WPA2/WPA3-Personal, WPS

Bluetooth Specifications

  • Frequency Range: 2.402 GHz to 2.480 GHz
  • Maximum Output Power: +10 dBm
  • Sensitivity: -92 dBm

Pin Configuration and Descriptions

Pin Number Pin Name Description
1 VDD Power supply (3.0V to 3.6V)
2 GND Ground
3 TXD UART Transmit
4 RXD UART Receive
5 GPIO0 General Purpose Input/Output
6 GPIO1 General Purpose Input/Output
... ... ...
n RESET Reset pin (active low)

Note: This is a simplified pin configuration. Refer to the module's datasheet for a complete pinout and alternate functions.

Usage Instructions

Integrating with a Circuit

  1. Power Supply: Connect the VDD pin to a 3.3V power source and GND to the ground.
  2. UART Communication: Connect the TXD and RXD pins to a UART interface for serial communication.
  3. GPIO: Utilize GPIO pins for additional control or status indication.
  4. Antenna: Ensure that an appropriate antenna is connected for optimal wireless performance.

Best Practices

  • Use a regulated power supply to avoid damage due to voltage spikes.
  • Implement proper decoupling and filtering to minimize power supply noise.
  • Ensure that the antenna placement and orientation are optimized for the application.
  • Follow the recommended PCB layout guidelines for RF performance and EMC compliance.

Troubleshooting and FAQs

Common Issues

  • Module not responding: Ensure that the power supply is stable and within the specified range. Check the UART connections and settings.
  • Poor wireless performance: Verify the antenna connection and placement. Check for sources of interference.

FAQs

  • Can the RTL8720DN operate in both Wi-Fi and Bluetooth modes simultaneously? Yes, the module can maintain Wi-Fi and Bluetooth connections concurrently.

  • What is the maximum data rate for Wi-Fi and Bluetooth? The Wi-Fi data rate can go up to 150 Mbps, and the Bluetooth data rate depends on the specific Bluetooth profile used.

Example Code for Arduino UNO

Below is an example of how to initialize the RTL8720DN module with an Arduino UNO for serial communication.

#include <SoftwareSerial.h>

// Define the RX and TX pins connected to the RTL8720DN module
#define RTL8720DN_RX 10
#define RTL8720DN_TX 11

// Create a software serial object
SoftwareSerial rtlSerial(RTL8720DN_RX, RTL8720DN_TX);

void setup() {
  // Start the hardware serial communication
  Serial.begin(9600);
  // Start the software serial communication
  rtlSerial.begin(115200);

  Serial.println("RTL8720DN Wi-Fi and Bluetooth Module Example");
}

void loop() {
  // Check if data is available from the RTL8720DN module
  if (rtlSerial.available()) {
    char data = rtlSerial.read();
    Serial.write(data);
  }

  // Check if data is available from the Serial Monitor
  if (Serial.available()) {
    char data = Serial.read();
    rtlSerial.write(data);
  }
}

Note: This code is for demonstration purposes and does not include Wi-Fi or Bluetooth initialization. Refer to the RTL8720DN SDK for specific wireless communication setup.

Remember to keep the code comments concise and within the 80 character line length limit.