Tags: 4, Channel, 5V, Relay, Module, Bord, with, Optocoupler, for, Arduino, Raspberry, Pi

Relay Module Board 4 Channel 5V with Optocoupler

  • 19.00 AED

    25.00 AED

    • Ex Tax:19.00 AED
    • Brands techmaze
    • Product Code: Digital
    • Availability: In Stock
    This is a 5V 4-channel relay interface board, and each channel needs a 15-20mA driver current. It can be used to control various appliances and equipment with large current. It is equiped with high-current relays that work under AC250V 10A or DC30V 10A. It has a standard interface that can be contro..

    This is a 5V 4-channel relay interface board, and each channel needs a 15-20mA driver current. It can be used to control various appliances and equipment with large current. It is equiped with high-current relays that work under AC250V 10A or DC30V 10A. It has a standard interface that can be controlled directly by microcontroller.

    You can use this 4-channel relay to drive some household appliances, such as table lamp, fan, etc.

    How it Works !?

    When the input terminals (IN1, IN2, IN3, IN4) are supplied with low level signals, you can see relay K1, K2, K3, K4 closed successively and repeat this cycle. In order to show its the ability of driving load more intuitively, two LEDs are connected to relay K1 and K2.


    • PCB Color: Blue
    • There are four fixed screw holes at each corner of the board, easy for install and fix. The diameter of the hole is 3.1mm 
    • High quality relay is used with single pole double throw, a common terminal, a normally open terminal, and a normally closed terminal 
    • Optical coupling isolation, good anti-interference.
    • Closed at low level with indicator on, released at high level with indicator off
    • VCC is system power source, and JD_VCC is relay power source. Ship 5V relay by default. Plug jumper cap to use
    • The maximum output of the relay: DC 30V/10A, AC 250V/10A
    Applications:
    • Supports all MCU control
    • PLC control
    • Smart home control


    Pin Description

    Input:

    VCC: Positive supply voltage
    GND: Ground 
    IN1--IN4: Relay control port

    Output:

    Connect a load, DC 30V/10A,AC 250V/10A




    Principle

    From the picture below, you can see that when the signal port is at low level, the signal light will light up and the optocoupler 817c (it transforms electrical signals by light and can isolate input and output electrical signals) will conduct, and then the transistor will conduct, the relay coil will be electrified, and the normally open contact of the relay will be closed. When the signal port is at high level, the normally closed contact of the relay will be closed. So you can connect and disconnect the load by controlling the level of the control signal port.
    4 channel relay schematic.png 4 channel relay PCB.png

    • Testing Experiment

    Experiment Principle

    When the input terminals (IN1, IN2, IN3, IN4) are supplied with low level signals, you can see relay K1, K2, K3, K4 closed successively and repeat this cycle. In order to show its the ability of driving load more intuitively, two LEDs are connected to relay K1 and K2.

    Experiment Steps

    Build the circuit

    4 Channel relay shieldSunFounder uno R3
    GNDGND
    IN13
    IN24
    IN35
    IN46
    VCC5V

    Then upload the code. You should see the relays close one by one and the LED on the board and the LEDs connected to K1 and K2 light up or go out with the relays opened or closed.
    4 Channels relay0201.png

    Code

    //the relays connect to
    int IN1 = 3;
    int IN2 = 4;
    int IN3 = 5;
    int IN4 = 6;
    #define ON   0
    #define OFF  1
    void setup() 
    {
      relay_init();//initialize the relay
    }
    
    void loop() {
    
      relay_SetStatus(ON, OFF, OFF,OFF);//turn on RELAY_1 
      delay(2000);//delay 2s
      relay_SetStatus(OFF, ON, OFF,OFF);//turn on RELAY_2
      delay(2000);//delay 2s
      relay_SetStatus(OFF, OFF, ON,OFF);//turn on RELAY_3
      delay(2000);//delay 2s
      relay_SetStatus(OFF, OFF, OFF,ON);//turn on RELAY_3
      delay(2000);//delay 2s
    }
    void relay_init(void)//initialize the relay
    {  
      //set all the relays OUTPUT
      pinMode(IN1, OUTPUT);
      pinMode(IN2, OUTPUT);
      pinMode(IN3, OUTPUT);
      pinMode(IN4, OUTPUT);
      relay_SetStatus(OFF,OFF,OFF,OFF);//turn off all the relay
    }
    //set the status of relays
    void relay_SetStatus( unsigned char status_1,  unsigned char status_2, unsigned char status_3,unsigned char status_4)
    {
      digitalWrite(IN1, status_1);
      digitalWrite(IN2, status_2);
      digitalWrite(IN3, status_3);
      digitalWrite(IN4, status_4);
    
    }
    


    You can use this 4-channel relay to drive some household appliances, such as table lamp, fan, etc.



    Tags: module; relay; power

    There are no reviews for this product.

    Write a review

    Please login or register to review