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

How to Use Relay MY2N: Examples, Pinouts, and Specs

Image of Relay MY2NDesign with Relay MY2N in Cirkit Designer

Introduction

The Relay MY2N is a compact electromagnetic relay manufactured by tptupstmj (Part ID: tptupstmj-0326). It features a Double Pole Double Throw (DPDT) configuration, making it suitable for switching applications that require moderate load handling. The relay operates with a coil voltage typically ranging from 5V to 24V, providing versatility for various control and automation systems.

Explore Projects Built with Relay MY2N

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 Wi-Fi Enabled Motion-Activated Lighting System with Radar Sensor: A project utilizing Relay MY2N in a practical application
Wi-Fi Enabled Motion-Activated Lighting System with Radar Sensor

This circuit is designed to control an AC LED bulb using a 220V power source, with an infrared motion sensor and an MMWave radar sensor providing input signals. The two-channel relay is used to switch the LED bulb on and off based on the sensor inputs, while the ESP8266 microcontroller is likely programmed to process the sensor data and control the relay. A converter is included to interface between the sensors, microcontroller, and the relay, ensuring proper voltage levels.

Open Project in Cirkit Designer
Image of Arduino Mega 2560 Controlled Automation System with 8-Channel Relay and Nextion Touch LCD Interface: A project utilizing Relay MY2N in a practical application
Arduino Mega 2560 Controlled Automation System with 8-Channel Relay and Nextion Touch LCD Interface

This circuit is centered around an Arduino Mega 2560, which controls a Nextion Touch LCD for user interface and a series of relays for switching various loads. The Arduino is powered by a 9V SMPS, and it drives an 8-channel 5V relay module to control devices like pumps, a loudspeaker, actuators, a heating plate, and a plucker. The relays are interfaced with solid-state relays (SSRs) and a thermistor for temperature sensing, enabling controlled power distribution to the connected devices based on programmed logic and user input.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Parameter Value
Manufacturer tptupstmj
Part ID tptupstmj-0326
Relay Type Electromagnetic
Configuration DPDT (Double Pole Double Throw)
Coil Voltage Range 5V DC to 24V DC
Contact Rating 5A at 250V AC / 5A at 30V DC
Coil Resistance Varies by coil voltage (e.g., 5V: ~70Ω)
Dielectric Strength 1,000V AC (coil to contact)
Operating Temperature -40°C to +70°C
Dimensions 28mm x 21mm x 36mm
Mounting Type PCB or socket

Pin Configuration and Descriptions

The Relay MY2N has a total of 8 pins, as shown in the table below:

Pin Number Pin Name Description
1 Coil Terminal 1 Connect to one side of the relay coil
2 Coil Terminal 2 Connect to the other side of the relay coil
3 Common 1 (COM1) Common terminal for the first pole
4 Normally Open 1 NO terminal for the first pole
5 Normally Closed 1 NC terminal for the first pole
6 Common 2 (COM2) Common terminal for the second pole
7 Normally Open 2 NO terminal for the second pole
8 Normally Closed 2 NC terminal for the second pole

Usage Instructions

How to Use the Relay MY2N in a Circuit

  1. Power the Coil: Connect the relay coil terminals (pins 1 and 2) to a DC voltage source within the specified range (e.g., 5V, 12V, or 24V). Ensure the voltage matches the relay's rated coil voltage.
  2. Control the Load: Use the common (COM), normally open (NO), and normally closed (NC) terminals to control the load:
    • When the coil is not energized, the COM terminal is connected to the NC terminal.
    • When the coil is energized, the COM terminal switches to the NO terminal.
  3. Isolation: Use the relay to isolate the control circuit (low voltage) from the load circuit (high voltage).
  4. Mounting: Mount the relay on a PCB or use a compatible socket for easy replacement.

Important Considerations and Best Practices

Example: Using Relay MY2N with Arduino UNO

Below is an example of how to control the Relay MY2N using an Arduino UNO:

// Define the pin connected to the relay's coil
const int relayPin = 7;

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

void loop() {
  digitalWrite(relayPin, HIGH); // Energize the relay (turn it on)
  delay(1000); // Keep the relay on for 1 second
  digitalWrite(relayPin, LOW); // De-energize the relay (turn it off)
  delay(1000); // Keep the relay off for 1 second
}

Note: Connect the relay's coil terminals to the Arduino through a transistor or relay driver circuit, as the Arduino's GPIO pins cannot directly supply enough current to drive the relay.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Switching

    • Cause: Insufficient coil voltage or current.
    • Solution: Verify the coil voltage matches the relay's rated voltage. Check the power supply and connections.
  2. Contacts Not Conducting

    • Cause: Dirty or worn-out contacts.
    • Solution: Clean the contacts or replace the relay if necessary.
  3. Excessive Heat

    • Cause: Overloading the relay contacts.
    • Solution: Ensure the load current does not exceed the relay's contact rating (5A).
  4. Noise or Chattering

    • Cause: Unstable coil voltage or interference.
    • Solution: Use a stable power supply and add a capacitor across the coil terminals to filter noise.

FAQs