Sale!

HK19F-DC 12V-SHG Relay

Original price was: 4,57 €.Current price is: 2,11 €. Excluding VAT

The HK19F-DC 12V-SHG relay is perfect for Arduino projects. Used for safe electrical control of external devices.

5 in stock (can be backordered)

Domande su questo prodotto? Scrivi a Lana su WhatsApp

Categories: ,

🎬 The product on video

Description

What it is

The HK19F-DC 12V-SHG relay is an electronic device that allows controlling DC devices up to 5A with a small electrical signal. It is ideal for beginner makers who want to control lights, motors, or other heavy loads through Arduino.

Features

  • Vcc: 12V
  • Operating voltage of the relay: check the datasheet
  • Maximum current: 5A

What it is for

The HK19F-DC 12V-SHG relay is perfect for Arduino projects where it is necessary to safely control external devices. It can be used to create an automatic control system, for example, to turn an LED lamp on and off based on a timer.

Tutorial: How to use HK19F-DC 12V-SHG Relay

The HK19F-DC 12V-SHG relay is an electronic device that allows controlling DC devices up to 5A with a small electrical signal. It is ideal for beginner makers who want to control lights, motors, or other heavy loads via Arduino.

What you need

  • Arduino uno or compatible
  • connection cable
  • 12V power supply
  • load to control (e.g., LED lamp)

Steps

  1. Connect the relay pins to those of the Arduino following the datasheet.
  2. Check the relay power supply voltage and connect it to the 12V power supply.
  3. Connect the load switch to the COM and NC/NO relay contacts.
  4. Load the Arduino sketch to test the relay operation.

Example code

void setup() {
  pinMode(7, OUTPUT);
}

void loop() {
  digitalWrite(7, HIGH); // Attiva il relè
  delay(1000);
  digitalWrite(7, LOW); // Disattiva il relè
  delay(1000);
}

Mini project

Create an automatic control system for an LED lamp. Connect the relay to the Arduino and the lamp to the relay outlet. Write a sketch that turns the lamp on and off based on a timer.

Common mistakes

  • Connect the power supply to the 5V pin of the Arduino instead of the one dedicated to the relay.
  • Do not verify if the load is correctly connected to the relay contacts.
  • Use a voltage higher than the specified one to power the relay.
  • Omit static discharge protection when working with the relay.

Recommended accessories

  • Protection resistor
  • Decoupling capacitor
  • 12V power supply
  • Motion sensors

Frequently asked questions

The relay can control loads up to 5A. Can I connect a household electrical circuit to it?
No, it is recommended to use the relay only for small loads such as lamps or motors. A license is required for household circuits.

Can the relay be controlled by a Raspberry Pi?
Yes, but you will need to adapt the Arduino sketch to the Python language of the Raspberry Pi.

Reviews

There are no reviews yet.

Be the first to review “HK19F-DC 12V-SHG Relay”

Your email address will not be published. Required fields are marked *