The HC-020K is a relay or contactor designed for controlling high voltage or high current circuits using a low voltage signal. It acts as an electrically operated switch, allowing small control signals to manage larger electrical loads safely and efficiently. This component is widely used in automation systems, industrial equipment, home appliances, and other applications where electrical isolation and high-power control are required.
The HC-020K typically has 5 pins, as described in the table below:
Pin Number | Name | Description |
---|---|---|
1 | Coil (+) | Positive terminal of the relay coil. Connect to the control signal (e.g., 5V). |
2 | Coil (-) | Negative terminal of the relay coil. Connect to ground. |
3 | Common (COM) | Common terminal for the load circuit. |
4 | Normally Open (NO) | Load terminal that is disconnected when the relay is inactive. |
5 | Normally Closed (NC) | Load terminal that is connected when the relay is inactive. |
Power the Relay Coil:
Connect the Load:
Control the Relay:
Below is an example of how to control the HC-020K relay using an Arduino UNO:
// Define the pin connected to the relay
const int relayPin = 7;
void setup() {
// Set the relay pin as an output
pinMode(relayPin, OUTPUT);
// Ensure the relay is off initially
digitalWrite(relayPin, LOW);
}
void loop() {
// Turn the relay on
digitalWrite(relayPin, HIGH);
delay(1000); // Keep the relay on for 1 second
// Turn the relay off
digitalWrite(relayPin, LOW);
delay(1000); // Keep the relay off for 1 second
}
Relay Not Activating:
Load Not Switching:
Relay Buzzing or Chattering:
Microcontroller Resetting When Relay Activates:
Q: Can the HC-020K handle DC loads?
A: Yes, the relay can handle DC loads up to 30V and 10A.
Q: Can I use the HC-020K with a 3.3V microcontroller?
A: Not directly. Use a transistor or MOSFET to drive the relay coil with a 5V signal.
Q: What is the purpose of the flyback diode?
A: The flyback diode protects the driving circuit from voltage spikes generated when the relay coil is turned off.
Q: How do I know if the relay is working?
A: You should hear a clicking sound when the relay activates. Additionally, you can measure continuity between the COM and NO pins when the relay is on.