Gravity: Transparent Case Relay Module

SKU: DFR0989

This is an Omron relay module with a transparent case, letting users easily view internal contact operation and confirm its state at a glance. It uses the Gravity interface for switch quantity control—simple to operate: no complex wiring, I2C, or serial protocol needed; just set a digital port high/low. With two contact groups (one for general ON/OFF, another for VCC output control), it allows direct connection of small devices (powered by the main board) to simplify wiring.

Relay Module With Transparent Case
  • Docs
  • Tech Specs
  • 1. Example Code for Arduino-Button Control Relay

    This guide offers a comprehensive walkthrough for setting up and programming an Arduino to control a relay via digital push buttons, enabling the operation of a submersible pump. It covers necessary hardware, detailed wiring diagrams, and provides sample code for seamless integration.

    2. Example Code for micro:bit-Onboard Button Control Relay

    This article provides a comprehensive guide to controlling a relay using the onboard buttons of a micro:bit. It includes hardware preparation, wiring diagrams, and sample code compatible with both MakeCode and Mind+. The guide demonstrates how to configure the micro:bit to switch the relay state, enabling or disabling a connected pump. Beginner-friendly, it is perfect for hobbyists and educators looking to create interactive projects with micro:bit and relay modules.

    Specification

    Electrical Parameter

    Parameter Details
    Signal Interface PH2.0-3P(Gravity)
    Control Signal Digital signal(high level to pull in, low level to release)
    Signal Level 3.3V, 5V
    Power Supply 3.3V~5V DC
    Output Method 1 1 NO, 1 COM, 1 NO
    Output Method 2 control to output VCC voltage(OUT does not output by default, it outputs VCC voltage when pulling in)
    OUT Voltage VCC Voltage
    OUT Load Signal port VCC capacity
    Output Interface Screw-type KF128-5.08 Ternimal Block

    Relay Parameter

    Parameter Details
    Relay Brand Omron
    Model G2R-2
    Country of Origin Indonesia
    Number of Relay Contact 2 NO, 2 NC
    Contact Load Capacity 5A 250VAC/5A 30VDC
    Contact Material Silver nickel alloy
    Coil Voltage 5VDC

    Others

    Parameter Details
    Soldering Material Lead-free and environment-friendly
    Size 46.5×32×26.5mm/1.83×1.26×1.04”(L×W×H)
    Mounting Hole Size diameter 3.1mm, Pitch: 25mm
    Weight 20g(Package not included)

    Pinout

    Board Overview

    Pin Function
    D Control signal input
    VCC Power+ (DC 3.3V~5V)
    GND Power-
    NO Normally-open
    NC Normally-closed
    COM Common contact
    OUT+ Power output+ (VCC voltage)
    OUT- Power output-

    Note: OUT+ outputs VCC voltage from mainboard's power source, and please pay attention to the load capacity of mainboard when connecting a load to this port. Most mainboards have weak load capacity, so when a large power device is connected to the OUT+, the mainboard may work abnormally, reset repeatedly, or even be damaged.

    Was this article helpful?

    TOP