

The MY2N relay, manufactured by Omron (Part ID: MY2N Base), is an electromechanical switch designed to control high-voltage or high-current circuits using a low-voltage signal. It operates by energizing an electromagnetic coil, which mechanically opens or closes its internal contacts. This relay is widely used in automation, industrial control systems, and home appliances due to its reliability and versatility.








The MY2N relay has 8 pins, typically arranged in a rectangular configuration. Below is the pinout description:
| Pin Number | Name | Description |
|---|---|---|
| 1 | Coil (+) | Positive terminal of the electromagnetic coil |
| 2 | Coil (-) | Negative terminal of the electromagnetic coil |
| 3 | Common (Pole 1) | Common terminal for the first set of contacts |
| 4 | NC (Pole 1) | Normally Closed terminal for the first set of contacts (connected when coil is off) |
| 5 | NO (Pole 1) | Normally Open terminal for the first set of contacts (connected when coil is on) |
| 6 | Common (Pole 2) | Common terminal for the second set of contacts |
| 7 | NC (Pole 2) | Normally Closed terminal for the second set of contacts (connected when coil is off) |
| 8 | NO (Pole 2) | Normally Open terminal for the second set of contacts (connected when coil is on) |
Below is an example of how to control the MY2N relay using an Arduino UNO:
// Example: Controlling MY2N Relay with Arduino UNO
// Pin 7 of Arduino is used to control the relay
const int relayPin = 7; // Define the pin connected to the relay's coil
void setup() {
pinMode(relayPin, OUTPUT); // Set relay pin as output
digitalWrite(relayPin, LOW); // Ensure relay is off at startup
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn relay on
delay(1000); // Keep relay on for 1 second
digitalWrite(relayPin, LOW); // Turn relay off
delay(1000); // Keep relay off for 1 second
}
Note: Use a transistor or relay driver circuit to interface the Arduino with the MY2N relay, as the Arduino's GPIO pins cannot directly supply enough current to drive the relay coil.
Relay Not Activating
Contacts Not Switching
Coil Overheating
Voltage Spikes in Control Circuit
Q: Can the MY2N relay switch both AC and DC loads?
Q: Does the MY2N relay require a heatsink?
Q: Can I use the MY2N relay for PWM signals?
Q: How do I know if the relay is working?
This concludes the documentation for the Omron MY2N relay. For further assistance, refer to the manufacturer's datasheet or contact technical support.