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

How to Use Gravity: Digital 16A Relay Module: Examples, Pinouts, and Specs

Image of Gravity: Digital 16A Relay Module
Cirkit Designer LogoDesign with Gravity: Digital 16A Relay Module in Cirkit Designer

Introduction

The Gravity: Digital 16A Relay Module (Manufacturer Part ID: DFR0251) by DFROBOT is a versatile and reliable relay module designed to control high-voltage devices using low-voltage digital signals. With a maximum current handling capacity of 16A, this module is ideal for applications in home automation, industrial control systems, and IoT projects. Its compatibility with microcontrollers like Arduino makes it a popular choice for hobbyists and professionals alike.

Explore Projects Built with Gravity: Digital 16A Relay 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!
ESP32 and MCP23017-Based Smart Relay Control System with DHT22 Sensors
Image of Indoor Lounge: A project utilizing Gravity: Digital 16A Relay Module in a practical application
This circuit is a control system that uses an ESP32 microcontroller to manage multiple relays and read data from DHT22 temperature and humidity sensors. The DFRobot Gravity MCP23017 I2C module expands the GPIO capabilities of the ESP32, allowing it to control additional relays for switching high-power devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based Smart Relay Controller with RS485 Communication
Image of RELAY RS485: A project utilizing Gravity: Digital 16A Relay Module in a practical application
This circuit features an Arduino Nano controlling an 8-channel relay module, with each relay channel connected to digital pins D2 through D9. Additionally, the Arduino interfaces with an RS485 module for serial communication, which is connected to an RS485 to USB converter. Power is supplied through an LM2596 step-down module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Smart Irrigation and Environmental Monitoring System
Image of finale: A project utilizing Gravity: Digital 16A Relay Module in a practical application
This circuit features an Arduino UNO microcontroller interfaced with various sensors (soil moisture, DHT11 temperature and humidity, ambient light), a servo motor, a relay module, an LCD display, and an RTC module. The Arduino controls the relay to power devices like LED light strips, a water pump, and a fan based on sensor inputs, and it communicates with the LCD and RTC via I2C for display and timekeeping functions. Power regulation is managed by V100 EY9 voltage regulators, and the system is powered by 12V power supplies connected through a socket (Gniazdo).
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Controlled GSM Relay System
Image of Arduino Nano GSM 2024: A project utilizing Gravity: Digital 16A Relay Module in a practical application
This circuit features an Arduino Nano microcontroller interfaced with a SIM800L GSM module and a 4-channel 5V relay module. The Arduino controls the relay channels via digital pins D4 to D7 and communicates with the SIM800L module through serial communication using pins D2 and D3. A USB power source provides power to the circuit, with an electrolytic capacitor likely used for voltage smoothing.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Gravity: Digital 16A Relay 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 Indoor Lounge: A project utilizing Gravity: Digital 16A Relay Module in a practical application
ESP32 and MCP23017-Based Smart Relay Control System with DHT22 Sensors
This circuit is a control system that uses an ESP32 microcontroller to manage multiple relays and read data from DHT22 temperature and humidity sensors. The DFRobot Gravity MCP23017 I2C module expands the GPIO capabilities of the ESP32, allowing it to control additional relays for switching high-power devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of RELAY RS485: A project utilizing Gravity: Digital 16A Relay Module in a practical application
Arduino Nano-Based Smart Relay Controller with RS485 Communication
This circuit features an Arduino Nano controlling an 8-channel relay module, with each relay channel connected to digital pins D2 through D9. Additionally, the Arduino interfaces with an RS485 module for serial communication, which is connected to an RS485 to USB converter. Power is supplied through an LM2596 step-down module.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of finale: A project utilizing Gravity: Digital 16A Relay Module in a practical application
Arduino UNO Controlled Smart Irrigation and Environmental Monitoring System
This circuit features an Arduino UNO microcontroller interfaced with various sensors (soil moisture, DHT11 temperature and humidity, ambient light), a servo motor, a relay module, an LCD display, and an RTC module. The Arduino controls the relay to power devices like LED light strips, a water pump, and a fan based on sensor inputs, and it communicates with the LCD and RTC via I2C for display and timekeeping functions. Power regulation is managed by V100 EY9 voltage regulators, and the system is powered by 12V power supplies connected through a socket (Gniazdo).
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Arduino Nano GSM 2024: A project utilizing Gravity: Digital 16A Relay Module in a practical application
Arduino Nano-Controlled GSM Relay System
This circuit features an Arduino Nano microcontroller interfaced with a SIM800L GSM module and a 4-channel 5V relay module. The Arduino controls the relay channels via digital pins D4 to D7 and communicates with the SIM800L module through serial communication using pins D2 and D3. A USB power source provides power to the circuit, with an electrolytic capacitor likely used for voltage smoothing.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Home automation (e.g., controlling lights, fans, or appliances)
  • Industrial equipment control
  • IoT-based smart systems
  • Robotics and automation projects
  • High-power device switching

Technical Specifications

Below are the key technical details of the Gravity: Digital 16A Relay Module:

Parameter Specification
Operating Voltage 5V DC
Trigger Voltage 2.5V - 5V DC
Maximum Load Current 16A
Maximum Load Voltage 250V AC / 30V DC
Control Signal Type Digital
Relay Type SPDT (Single Pole Double Throw)
Dimensions 37mm x 32mm
Weight 20g

Pin Configuration

The module has a simple pin layout for easy integration into your projects:

Pin Name Description
1 Signal (S) Digital input signal to control the relay (connect to microcontroller GPIO pin)
2 VCC Power supply input (5V DC)
3 GND Ground connection
4 NO (Normally Open) Connect to the device you want to control; remains open until relay is triggered
5 COM (Common) Common terminal for the relay
6 NC (Normally Closed) Connect to the device you want to control; remains closed until relay is triggered

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Module: Connect the VCC pin to a 5V DC power source and the GND pin to ground.
  2. Control Signal: Connect the Signal (S) pin to a digital GPIO pin of your microcontroller (e.g., Arduino).
  3. Load Connection:
    • For devices that should remain off by default, connect them to the NO (Normally Open) terminal and COM terminal.
    • For devices that should remain on by default, connect them to the NC (Normally Closed) terminal and COM terminal.
  4. Trigger the Relay: Send a HIGH signal (5V) to the Signal (S) pin to activate the relay and switch the connected device.

Important Considerations and Best Practices

  • Isolation: Ensure proper electrical isolation between the high-voltage side (load) and the low-voltage control side to prevent damage to your microcontroller.
  • Current Rating: Do not exceed the maximum current rating of 16A to avoid overheating or damage to the relay.
  • Flyback Diode: If controlling an inductive load (e.g., motors), use a flyback diode across the load to protect the relay from voltage spikes.
  • Secure Connections: Use proper connectors or soldering to ensure secure and reliable connections.

Example: Using with Arduino UNO

Below is an example of how to use the Gravity: Digital 16A Relay Module with an Arduino UNO to control a light bulb:

Circuit Connections

  • Connect the Signal (S) pin of the relay module to Arduino digital pin 7.
  • Connect the VCC pin of the relay module to the 5V pin on the Arduino.
  • Connect the GND pin of the relay module to the GND pin on the Arduino.
  • Connect the light bulb to the NO and COM terminals of the relay module.
  • Power the Arduino and the relay module.

Arduino Code

// Define the relay pin
const int relayPin = 7;

void setup() {
  // Set the relay pin as an output
  pinMode(relayPin, OUTPUT);
  
  // Ensure the relay is off at startup
  digitalWrite(relayPin, LOW);
}

void loop() {
  // Turn the relay on (light bulb ON)
  digitalWrite(relayPin, HIGH);
  delay(5000); // Keep the light ON for 5 seconds
  
  // Turn the relay off (light bulb OFF)
  digitalWrite(relayPin, LOW);
  delay(5000); // Keep the light OFF for 5 seconds
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Switching

    • Cause: Insufficient trigger voltage or incorrect wiring.
    • Solution: Ensure the Signal (S) pin receives a voltage between 2.5V and 5V. Double-check all connections.
  2. Load Not Turning On/Off

    • Cause: Incorrect connection to the NO, NC, or COM terminals.
    • Solution: Verify the load is connected to the correct terminals based on your desired behavior (normally open or normally closed).
  3. Overheating

    • Cause: Exceeding the maximum current rating of 16A.
    • Solution: Ensure the load current does not exceed 16A. Use a heat sink or cooling mechanism if necessary.
  4. Microcontroller Resetting

    • Cause: Voltage spikes from inductive loads.
    • Solution: Add a flyback diode across the load to suppress voltage spikes.

FAQs

Q1: Can I use this relay module with a 3.3V microcontroller?
A1: Yes, the relay can be triggered with a voltage as low as 2.5V. However, ensure the VCC pin is still powered with 5V.

Q2: Is the module safe for controlling AC appliances?
A2: Yes, the module can handle up to 250V AC at 16A. Ensure proper insulation and safety precautions when working with high-voltage AC.

Q3: Can I control multiple relays with one Arduino?
A3: Yes, you can control multiple relay modules by connecting each Signal (S) pin to a separate GPIO pin on the Arduino.

Q4: What happens if I exceed the current rating?
A4: Exceeding the 16A current rating can damage the relay and may pose a fire hazard. Always stay within the specified limits.

By following this documentation, you can effectively integrate the Gravity: Digital 16A Relay Module into your projects for safe and reliable high-power device control.