Description
What it is
The OMRON H3Y-2 is a time delay relay that allows controlling electrical circuits with a programmable delay time between 0 and 5 seconds.
Features
- Delay time: 0-5 seconds
- Supply voltage: 24V DC
- Switching current: 5A
- Switching voltage: 250VAC resistive
What it is for
This relay is ideal for applications that require a simple timer, such as turning on and off a device after a predefined time interval. It can be used with Arduino or other microcontrollers to create timers, automatic control systems, and other applications.
Tutorial: How to use OMRON H3Y-2 0-5 second time relay
The OMRON H3Y-2 relay is ideal for controlling electrical devices that require timing. Useful for beginner and intermediate makers.
What you need
- OMRON H3Y-2 Relay
- Arduino
- 1kΩ Resistor
- 24V DC power cable
- 24V DC power supply
Steps
- 1. Connect the relay to the Arduino circuit. See connection diagram.
- 2. Connect the VCC pin of the relay to 24V DC.
- 3. Connect the COM pin of the relay to the device to be controlled.
- 4. Connect the NO pin of the relay to the pin on Arduino.
- 5. Connect the NC pin of the relay to ground.
- 6. Connect the GND pin of the relay to ground.
- 7. Connect a 1kΩ resistor between the NO pin and GND for protection.
- 8. Load the Arduino code to control the relay.
Example code
void setup() {
pinMode(2, OUTPUT);
}
void loop() {
digitalWrite(2, HIGH);
delay(3000);
digitalWrite(2, LOW);
}
Mini project
Create a timer to turn on and off a lamp. Connect the lamp to the NO relay and control it with an Arduino sketch.
Common mistakes
- Do not verify the supply voltage on the datasheet.
- Connect the relay directly to the microcontroller without a protection resistor.
- Forget to connect the GND pin of the relay to ground.
- Set the timing period too long or too short.
Recommended accessories
- Arduino UNO
- 12W lamp
- 24V DC power cable
- OMRON H3Y-2 relay datasheet
Frequently asked questions
How can I verify the relay’s functionality?
Connect a lamp to the relay and check if it turns on when the relay is activated.
Can I use a different power supply than 24V DC?
Check the datasheet to see if the relay supports different voltages.
Does the relay support precise timing?
The relay has a timing range of 0-5 seconds, but the precision may vary.
Can I use this relay with an Arduino from another series?
The relay is compatible with Arduino UNO and similar models.





Reviews
There are no reviews yet.