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

How to Use GLYPHMOD-2-CH-Relay: Examples, Pinouts, and Specs

Image of GLYPHMOD-2-CH-RelayDesign with GLYPHMOD-2-CH-Relay in Cirkit Designer

Introduction

The GLYPHMOD-2-CH-Relay (Manufacturer Part ID: GM-001) is a dual-channel relay module manufactured by PCBCUPID. It is designed to control high-voltage devices using low-voltage control signals, making it ideal for applications requiring electrical isolation and safety. The module features opto-isolation to protect sensitive control circuits from high-voltage spikes and interference.

Explore Projects Built with GLYPHMOD-2-CH-Relay

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 ESP8266 and Arduino Mega 2560 Based Access Control System with Dual Authentication: A project utilizing GLYPHMOD-2-CH-Relay in a practical application
ESP8266 and Arduino Mega 2560 Based Access Control System with Dual Authentication

This circuit features an ESP8266 NodeMCU microcontroller connected to a relay module, a fingerprint scanner, a GLCD display, and an Arduino Mega 2560 which interfaces with a 4x4 membrane matrix keypad. The relay controls a 12V solenoid lock powered by a 12V battery, and the toggle switch is used to manage power distribution or mode selection. The ESP8266 facilitates communication between the fingerprint scanner, GLCD, and potentially external networks, while the Arduino Mega processes keypad inputs and may handle additional control logic.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

The following table outlines the key technical details of the GLYPHMOD-2-CH-Relay module:

Parameter Specification
Operating Voltage 5V DC
Trigger Voltage 3.3V to 5V DC
Relay Type SPDT (Single Pole Double Throw)
Maximum Load Voltage 250V AC / 30V DC
Maximum Load Current 10A
Opto-Isolation Yes
Dimensions 50mm x 40mm x 18mm
Mounting Holes 4 x M3 holes
Weight 25g

Pin Configuration and Descriptions

The module has two sets of pins: Input Pins for control signals and Relay Output Terminals for connecting the load.

Input Pins

Pin Name Description
1 VCC Power supply input (5V DC)
2 GND Ground connection
3 IN1 Control signal for Relay 1 (Active LOW)
4 IN2 Control signal for Relay 2 (Active LOW)

Relay Output Terminals

Each relay has three output terminals: | Terminal | Name | Description | |--------------|----------|------------------------------------------------------------------------------| | COM | Common | Common terminal for the relay | | NO | Normally Open | Connected to COM when the relay is activated | | NC | Normally Closed | Connected to COM when the relay is not activated |

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 the ground.
  2. Control Signals: Use a microcontroller (e.g., Arduino UNO) or other control circuits to send signals to the IN1 and IN2 pins. A LOW signal activates the corresponding relay.
  3. Connect the Load:
    • For devices that should turn ON when the relay is activated, connect the load between the COM and NO terminals.
    • For devices that should turn OFF when the relay is activated, connect the load between the COM and NC terminals.
  4. Ensure Safety: Always ensure the load voltage and current do not exceed the module's maximum ratings (250V AC / 30V DC, 10A).

Important Considerations and Best Practices

Example: Connecting to an Arduino UNO

Below is an example of how to control the GLYPHMOD-2-CH-Relay using an Arduino UNO:

// Example code to control the GLYPHMOD-2-CH-Relay with Arduino UNO

// Define the control pins for the relays
const int relay1Pin = 7; // Connect IN1 to Arduino pin 7
const int relay2Pin = 8; // Connect IN2 to Arduino pin 8

void setup() {
  // Set relay pins as outputs
  pinMode(relay1Pin, OUTPUT);
  pinMode(relay2Pin, OUTPUT);

  // Initialize relays to OFF state (HIGH signal)
  digitalWrite(relay1Pin, HIGH);
  digitalWrite(relay2Pin, HIGH);
}

void loop() {
  // Turn Relay 1 ON
  digitalWrite(relay1Pin, LOW); // Active LOW signal
  delay(1000); // Wait for 1 second

  // Turn Relay 1 OFF
  digitalWrite(relay1Pin, HIGH);
  delay(1000); // Wait for 1 second

  // Turn Relay 2 ON
  digitalWrite(relay2Pin, LOW);
  delay(1000); // Wait for 1 second

  // Turn Relay 2 OFF
  digitalWrite(relay2Pin, HIGH);
  delay(1000); // Wait for 1 second
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relays Not Activating

    • Cause: Insufficient control signal voltage.
    • Solution: Ensure the control signal voltage is between 3.3V and 5V DC.
  2. Load Not Turning ON/OFF

    • Cause: Incorrect wiring of the load to the relay terminals.
    • Solution: Verify the load is connected to the correct terminals (COM, NO, or NC).
  3. Module Overheating

    • Cause: Exceeding the maximum load current or voltage.
    • Solution: Ensure the load does not exceed 10A or 250V AC / 30V DC.
  4. Interference in Control Signals

    • Cause: High-voltage spikes from inductive loads.
    • Solution: Use a flyback diode across the load to suppress voltage spikes.

FAQs

Q1: Can I use the module with a 3.3V microcontroller?
A1: Yes, the module supports control signals as low as 3.3V DC, making it compatible with 3.3V microcontrollers like the ESP32 or Raspberry Pi.

Q2: Is the module safe for high-voltage applications?
A2: Yes, the module is designed with opto-isolation to ensure safety when controlling high-voltage devices. However, always follow proper safety precautions when working with high voltages.

Q3: Can I control both relays independently?
A3: Yes, each relay has its own control pin (IN1 and IN2), allowing independent operation.

Q4: What is the lifespan of the relays?
A4: The relays are rated for approximately 100,000 operations under normal load conditions.