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

How to Use JSY-MK-1039: Examples, Pinouts, and Specs

Image of JSY-MK-1039
Cirkit Designer LogoDesign with JSY-MK-1039 in Cirkit Designer

Introduction

The JSY-MK-1039 is a compact, high-performance relay module designed for switching applications in various electronic circuits. It is equipped with multiple channels, enabling the control of multiple devices simultaneously. This module is widely used in automation and control systems, such as home automation, industrial equipment control, and IoT-based projects. Its robust design and reliable performance make it a popular choice for both hobbyists and professionals.

Explore Projects Built with JSY-MK-1039

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered ESP32-C3 Interactive Control Panel
Image of GTV-Transmitter Advanced: A project utilizing JSY-MK-1039 in a practical application
This circuit features an ESP32-C3 microcontroller connected to various input devices and an OLED display. The input devices include two KY-023 Dual Axis Joystick Modules for directional input and a Rotary Encoder for incremental input, both interfaced with the ESP32-C3's GPIO pins. The circuit also includes a power management system with a Polymer Lithium Ion Battery, a JST connector, and a toggle switch to control power to an LED indicator.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled Joystick Interface with LCD Feedback and Audio Alert
Image of 우주게임: A project utilizing JSY-MK-1039 in a practical application
This circuit features an Arduino UNO microcontroller connected to a KY-023 Dual Axis Joystick Module, an I2C LCD 16x2 Screen, a Piezo Speaker, and a Pushbutton. The joystick provides two analog inputs to the Arduino for X and Y axis control, while the pushbutton is connected to a digital input for user interaction. The LCD screen displays information via I2C communication, and the Piezo Speaker is driven by a digital output from the Arduino for audio feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based Wireless Joystick and Motion Controller
Image of hand gesture: A project utilizing JSY-MK-1039 in a practical application
This circuit features an Arduino Nano microcontroller interfaced with an HC-05 Bluetooth module, an MPU-6050 accelerometer/gyroscope, and a KY-023 Dual Axis Joystick Module. The Arduino Nano is powered by a 9V battery through a rocker switch and communicates with the HC-05 for Bluetooth connectivity, reads joystick positions from the KY-023 module via analog inputs, and communicates with the MPU-6050 over I2C to capture motion data. The circuit is likely designed for wireless control and motion sensing applications, such as a remote-controlled robot or a game controller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Controlled LED Matrix and LCD Interface with Joystick Interaction
Image of Digital Game Circuit: A project utilizing JSY-MK-1039 in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an 8x8 LED matrix, an LCD screen, and a KY-023 Dual Axis Joystick Module. The Arduino controls the LED matrix via digital pins D10-D12 and powers the matrix, LCD, and joystick module from its 5V output. The joystick's analog outputs are connected to the Arduino's analog inputs A0 and A1 for position sensing, while the LCD is controlled through digital pins D2-D6 and D13 for display purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with JSY-MK-1039

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 GTV-Transmitter Advanced: A project utilizing JSY-MK-1039 in a practical application
Battery-Powered ESP32-C3 Interactive Control Panel
This circuit features an ESP32-C3 microcontroller connected to various input devices and an OLED display. The input devices include two KY-023 Dual Axis Joystick Modules for directional input and a Rotary Encoder for incremental input, both interfaced with the ESP32-C3's GPIO pins. The circuit also includes a power management system with a Polymer Lithium Ion Battery, a JST connector, and a toggle switch to control power to an LED indicator.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 우주게임: A project utilizing JSY-MK-1039 in a practical application
Arduino UNO Controlled Joystick Interface with LCD Feedback and Audio Alert
This circuit features an Arduino UNO microcontroller connected to a KY-023 Dual Axis Joystick Module, an I2C LCD 16x2 Screen, a Piezo Speaker, and a Pushbutton. The joystick provides two analog inputs to the Arduino for X and Y axis control, while the pushbutton is connected to a digital input for user interaction. The LCD screen displays information via I2C communication, and the Piezo Speaker is driven by a digital output from the Arduino for audio feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of hand gesture: A project utilizing JSY-MK-1039 in a practical application
Arduino Nano-Based Wireless Joystick and Motion Controller
This circuit features an Arduino Nano microcontroller interfaced with an HC-05 Bluetooth module, an MPU-6050 accelerometer/gyroscope, and a KY-023 Dual Axis Joystick Module. The Arduino Nano is powered by a 9V battery through a rocker switch and communicates with the HC-05 for Bluetooth connectivity, reads joystick positions from the KY-023 module via analog inputs, and communicates with the MPU-6050 over I2C to capture motion data. The circuit is likely designed for wireless control and motion sensing applications, such as a remote-controlled robot or a game controller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Digital Game Circuit: A project utilizing JSY-MK-1039 in a practical application
Arduino UNO Controlled LED Matrix and LCD Interface with Joystick Interaction
This circuit features an Arduino UNO microcontroller interfaced with an 8x8 LED matrix, an LCD screen, and a KY-023 Dual Axis Joystick Module. The Arduino controls the LED matrix via digital pins D10-D12 and powers the matrix, LCD, and joystick module from its 5V output. The joystick's analog outputs are connected to the Arduino's analog inputs A0 and A1 for position sensing, while the LCD is controlled through digital pins D2-D6 and D13 for display purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Home automation systems (e.g., controlling lights, fans, or appliances)
  • Industrial equipment control
  • IoT-based projects requiring remote switching
  • Motor control in robotics
  • Security systems (e.g., activating alarms or locks)

Technical Specifications

The JSY-MK-1039 relay module is designed to handle a variety of switching tasks. Below are its key technical details:

General Specifications

Parameter Value
Operating Voltage 5V DC
Trigger Voltage 3.3V to 5V DC
Maximum Load Voltage 250V AC / 30V DC
Maximum Load Current 10A
Number of Channels 4 (can vary by model)
Relay Type Electromechanical
Isolation Optocoupler-based isolation
Dimensions 75mm x 50mm x 20mm
Weight ~50g

Pin Configuration

The JSY-MK-1039 module typically features the following pin layout:

Pin Name Description
VCC Power supply input (5V DC)
GND Ground connection
IN1 Control signal input for Channel 1
IN2 Control signal input for Channel 2
IN3 Control signal input for Channel 3
IN4 Control signal input for Channel 4
COM Common terminal for relay outputs
NO (x4) Normally Open terminal for each channel (connects to load when relay is ON)
NC (x4) Normally Closed terminal for each channel (connects to load when relay is OFF)

Usage Instructions

How to Use the JSY-MK-1039 in a Circuit

  1. Power the Module: Connect the VCC pin to a 5V DC power source and the GND pin to the ground.
  2. Control Signals: Connect the IN1, IN2, IN3, and IN4 pins to the control signals from a microcontroller (e.g., Arduino UNO).
  3. Load Connections:
    • For each channel, connect the load to the NO (Normally Open) or NC (Normally Closed) terminal, depending on the desired behavior.
    • Connect the other end of the load to the COM terminal.
  4. Triggering the Relays: Send a HIGH signal (3.3V or 5V) to the respective IN pin to activate the corresponding relay.

Important Considerations

  • Ensure the load voltage and current do not exceed the module's maximum ratings (250V AC / 30V DC, 10A).
  • Use proper insulation and safety precautions when working with high voltages.
  • Avoid powering the module directly from the Arduino's 5V pin if multiple relays are used simultaneously, as this may exceed the Arduino's current supply capacity. Use an external 5V power source instead.
  • Use flyback diodes across inductive loads (e.g., motors) to protect the relay contacts from voltage spikes.

Example: Connecting to an Arduino UNO

Below is an example of how to control the JSY-MK-1039 with an Arduino UNO:

Circuit Diagram

  • Connect the VCC and GND pins of the relay module to the Arduino's 5V and GND pins, respectively.
  • Connect the IN1, IN2, IN3, and IN4 pins to Arduino digital pins 2, 3, 4, and 5, respectively.
  • Connect a load (e.g., a light bulb) to the NO and COM terminals of Channel 1.

Arduino Code

// Example code to control the JSY-MK-1039 relay module with an Arduino UNO

// Define the relay control pins
#define RELAY1 2  // Relay 1 control pin
#define RELAY2 3  // Relay 2 control pin
#define RELAY3 4  // Relay 3 control pin
#define RELAY4 5  // Relay 4 control pin

void setup() {
  // Set relay control pins as outputs
  pinMode(RELAY1, OUTPUT);
  pinMode(RELAY2, OUTPUT);
  pinMode(RELAY3, OUTPUT);
  pinMode(RELAY4, OUTPUT);

  // Initialize all relays to OFF state
  digitalWrite(RELAY1, LOW);
  digitalWrite(RELAY2, LOW);
  digitalWrite(RELAY3, LOW);
  digitalWrite(RELAY4, LOW);
}

void loop() {
  // Turn on Relay 1 for 2 seconds
  digitalWrite(RELAY1, HIGH);
  delay(2000);

  // Turn off Relay 1 and turn on Relay 2 for 2 seconds
  digitalWrite(RELAY1, LOW);
  digitalWrite(RELAY2, HIGH);
  delay(2000);

  // Turn off Relay 2 and turn on Relay 3 for 2 seconds
  digitalWrite(RELAY2, LOW);
  digitalWrite(RELAY3, HIGH);
  delay(2000);

  // Turn off Relay 3 and turn on Relay 4 for 2 seconds
  digitalWrite(RELAY3, LOW);
  digitalWrite(RELAY4, HIGH);
  delay(2000);

  // Turn off all relays
  digitalWrite(RELAY4, LOW);
  delay(2000);
}

Troubleshooting and FAQs

Common Issues

  1. Relays Not Activating:

    • Ensure the module is powered with a stable 5V DC supply.
    • Verify that the control signals (IN1, IN2, etc.) are receiving the correct voltage (3.3V or 5V).
  2. Load Not Switching:

    • Check the wiring of the load to the NO, NC, and COM terminals.
    • Ensure the load's voltage and current are within the relay's rated limits.
  3. Arduino Resets When Relays Activate:

    • This may occur if the relays draw too much current from the Arduino's 5V pin. Use an external 5V power supply for the relay module.
  4. Relay Contacts Sticking:

    • This can happen if the load generates high inrush currents. Use a relay with a higher current rating or add a snubber circuit.

FAQs

Q: Can I use the JSY-MK-1039 with a 3.3V microcontroller?
A: Yes, the module can be triggered with 3.3V control signals, but ensure the VCC pin is still powered with 5V DC.

Q: Is the module safe for high-voltage applications?
A: Yes, but proper insulation and safety precautions must be followed when working with voltages above 30V.

Q: Can I control AC and DC loads simultaneously?
A: Yes, as long as each load is connected to a separate relay channel and the voltage/current ratings are not exceeded.