Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Ky-22: Examples, Pinouts, and Specs

Image of Ky-22
Cirkit Designer LogoDesign with Ky-22 in Cirkit Designer

Introduction

The Ky-22 is a relay module designed to control high-power loads using low-power signals. Manufactured under part ID "Uno," this component is widely used in automation, control systems, and other electronic applications requiring electrical isolation between control and load circuits. Its compact design and reliable switching capabilities make it a popular choice for hobbyists and professionals alike.

Explore Projects Built with Ky-22

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-Based Security System with RFID and Laser Tripwire
Image of CPE doorlock system: A project utilizing Ky-22 in a practical application
This circuit is designed for a comprehensive security and access control system with motion detection, access via RFID, and a break-beam sensor. It includes a solenoid lock controlled by a relay, visual and audible alerts, and a robust power management system with solar and battery backup to ensure uninterrupted operation.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Security System with RFID and Laser Intrusion Detection
Image of CPE doorlock system upgrade: A project utilizing Ky-22 in a practical application
This circuit is a security and access control system featuring motion detection, laser beam-break sensing, and RFID scanning, interfaced with a keypad and visual/audible indicators, powered by a solar-charged battery, and capable of controlling an electric lock via a relay.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Security System with RFID, PIR Sensor, and Laser Modules
Image of CPE doorlock system upgrade: A project utilizing Ky-22 in a practical application
This circuit is designed for a security and access control system with motion detection, beam-break detection, RFID-based access, and user input via a keypad. It is managed by an ESP32 microcontroller, which also controls an OLED display and an electric lock through a relay. The system is powered by a solar panel with a charge controller and UPS battery, with buck converters for voltage regulation.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Controlled Security System with RFID, PIR, and Laser Modules
Image of CPE doorlock system upgrade2: A project utilizing Ky-22 in a practical application
This is a security or access control system featuring laser-based detection, motion sensing, RFID scanning, and user input via a keypad. It is managed by an ESP32 microcontroller and includes visual and auditory feedback through LEDs and a buzzer, with an Electric Lock for physical access control. The system is powered by solar energy with battery backup and centralized power supply, ensuring continuous operation.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Ky-22

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 CPE doorlock system: A project utilizing Ky-22 in a practical application
ESP32-Based Security System with RFID and Laser Tripwire
This circuit is designed for a comprehensive security and access control system with motion detection, access via RFID, and a break-beam sensor. It includes a solenoid lock controlled by a relay, visual and audible alerts, and a robust power management system with solar and battery backup to ensure uninterrupted operation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CPE doorlock system upgrade: A project utilizing Ky-22 in a practical application
ESP32-Based Security System with RFID and Laser Intrusion Detection
This circuit is a security and access control system featuring motion detection, laser beam-break sensing, and RFID scanning, interfaced with a keypad and visual/audible indicators, powered by a solar-charged battery, and capable of controlling an electric lock via a relay.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CPE doorlock system upgrade: A project utilizing Ky-22 in a practical application
ESP32-Based Security System with RFID, PIR Sensor, and Laser Modules
This circuit is designed for a security and access control system with motion detection, beam-break detection, RFID-based access, and user input via a keypad. It is managed by an ESP32 microcontroller, which also controls an OLED display and an electric lock through a relay. The system is powered by a solar panel with a charge controller and UPS battery, with buck converters for voltage regulation.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CPE doorlock system upgrade2: A project utilizing Ky-22 in a practical application
ESP32-Controlled Security System with RFID, PIR, and Laser Modules
This is a security or access control system featuring laser-based detection, motion sensing, RFID scanning, and user input via a keypad. It is managed by an ESP32 microcontroller and includes visual and auditory feedback through LEDs and a buzzer, with an Electric Lock for physical access control. The system is powered by solar energy with battery backup and centralized power supply, ensuring continuous operation.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Home automation systems
  • Industrial control systems
  • Motor control circuits
  • Smart appliances
  • Robotics and IoT projects

Technical Specifications

The Ky-22 relay module is designed to operate efficiently in a variety of electronic circuits. Below are its key technical details:

Key Technical Details

  • Operating Voltage: 5V DC
  • Trigger Voltage: 3.3V to 5V DC
  • Maximum Load Voltage: 250V AC or 30V DC
  • Maximum Load Current: 10A
  • Relay Type: SPDT (Single Pole Double Throw)
  • Isolation: Optocoupler-based electrical isolation
  • Dimensions: 32mm x 14mm x 18mm (approx.)
  • Weight: ~10g

Pin Configuration and Descriptions

The Ky-22 relay module typically has 5 pins for input and output connections. Below is the pinout description:

Pin Name Type Description
VCC Power Input Connect to a 5V DC power supply to power the relay module.
GND Ground Connect to the ground of the power supply or control circuit.
IN Signal Input Control pin to trigger the relay. Accepts 3.3V to 5V DC signals.
NO Output Normally Open terminal. Connect to the load for switching when the relay is ON.
COM Output Common terminal. Connect to the power source or load.
NC Output Normally Closed terminal. Connect to the load for switching when the relay is OFF.

Usage Instructions

The Ky-22 relay module is straightforward to use in electronic circuits. Follow the steps below to integrate it into your project:

How to Use the Ky-22 in a Circuit

  1. Power the Relay Module:

    • Connect the VCC pin to a 5V DC power supply.
    • Connect the GND pin to the ground of the power supply or control circuit.
  2. Control the Relay:

    • Connect the IN pin to a digital output pin of a microcontroller (e.g., Arduino UNO).
    • Send a HIGH signal (3.3V to 5V) to the IN pin to activate the relay and switch the load.
  3. Connect the Load:

    • Identify whether you want the load to be connected to the NO (Normally Open) or NC (Normally Closed) terminal.
    • Connect the load to the appropriate terminal (NO or NC) and the COM terminal.
  4. Test the Circuit:

    • Power the circuit and send control signals to the IN pin to toggle the relay state.

Important Considerations and Best Practices

  • Ensure the load voltage and current do not exceed the relay's maximum ratings (250V AC/30V DC, 10A).
  • Use proper insulation and safety precautions when working with high-voltage loads.
  • Avoid rapid switching of the relay to prevent wear and tear on the mechanical contacts.
  • Use a flyback diode across the relay coil to protect the circuit from voltage spikes.

Example: Connecting Ky-22 to an Arduino UNO

Below is an example of how to control the Ky-22 relay module using an Arduino UNO:

// Example code to control the Ky-22 relay module with Arduino UNO

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

void setup() {
  // Set the relay pin as an output
  pinMode(relayPin, OUTPUT);

  // Initialize the relay in the OFF state
  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
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Relay Not Switching:

    • Cause: Insufficient voltage or current to the IN pin.
    • Solution: Ensure the control signal is between 3.3V and 5V DC.
  2. Load Not Powering On:

    • Cause: Incorrect wiring of the load to the relay terminals.
    • Solution: Verify the load is connected to the correct terminals (NO or NC) and COM.
  3. Relay Clicking Rapidly:

    • Cause: Unstable control signal or noise in the circuit.
    • Solution: Use a pull-down resistor on the IN pin to stabilize the signal.
  4. Overheating Relay:

    • Cause: Load exceeds the relay's maximum current rating.
    • Solution: Ensure the load current is within the 10A limit.

FAQs

  • Q: Can the Ky-22 relay module be used with a 3.3V microcontroller?
    A: Yes, the IN pin can accept control signals as low as 3.3V DC.

  • Q: Is the Ky-22 relay module suitable for switching DC loads?
    A: Yes, it can switch DC loads up to 30V and 10A.

  • Q: Does the Ky-22 provide electrical isolation?
    A: Yes, it uses an optocoupler for electrical isolation between the control and load circuits.

  • Q: Can I use the Ky-22 to control an AC motor?
    A: Yes, as long as the motor's voltage and current are within the relay's maximum ratings (250V AC, 10A).