Ks0264 keyestudio Two-channel Solid State Relay Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
(Created page with "==Keyestudio Two-channel Solid State Relay Module== thumb ==Introduction== Keyestudio two-channel solid state relay is a low level and effective sol...")
 
Line 11: Line 11:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
!
! Voltage     
! Voltage     
! Static Current
! Static Current
Line 17: Line 18:
! Trigger Current
! Trigger Current
|-
|-
| Channel 1
|  DC 5V  
|  DC 5V  
|  0mA  
|  0mA  
Line 23: Line 25:
|  2mA
|  2mA
|-
|-
| Channel 2
|  DC 5V  
|  DC 5V  
|  0mA  
|  0mA  

Revision as of 14:08, 31 July 2017

Keyestudio Two-channel Solid State Relay Module

KS0264 (1).jpg

Introduction

Keyestudio two-channel solid state relay is a low level and effective solid state relay, that is to say, the input control signals is the low level (0-1.5 V), the relay is on; while the input control signal is high level (3-5 V), the relay is off. Solid State Relay is a new kind of contactless switching device which is composed of all solid state electronic components. Compared with the electromagnetic relay, its reliability is more higher, with the features of non-contact, long service life, fast and less outside interference. The output control terminal of the keyestudio solid-state relay must be connected to the circuit, and its working current needs to be bigger than 50mA, so that the solid state relay can be disconnected normally.

Performance Parameters

  • Electrical parameters:
Voltage Static Current Working Current Trigger Voltage Trigger Current
Channel 1 DC 5V 0mA 12.5mA 0-1.5V 2mA
Channel 2 DC 5V 0mA 12.5mA 0-1.5V 2mA
  • Output port : AC240V/2A

Connection Diagram


thumb

Sample Code

 int BASE = 3 ;  //The first relay I/O port
int NUM = 2;   //Total number of relay
void setup()
{
   for (int i = BASE; i < BASE + NUM; i ++) 
   {
     pinMode(i, OUTPUT);   //Set the digital I/O port to output
   }
}

void loop()
{
   for (int i = BASE; i < BASE + NUM; i ++) 
   {
     digitalWrite(i, LOW);    //Set the digital I/O port outputs to "low", that is, gradually open relay
     delay(200);        //delay
   }
   for (int i = BASE; i < BASE + NUM; i ++) 
   {
     digitalWrite(i, HIGH);    //Set the digital I/O port outputs to "high", that is, gradually close relay
     delay(200);        //delay
   }  
}

Result

Wiring as the above image, after power-on, the two-channel solid state relays are first connected and then broken successively, which is cycling alternately.

Resource

Datasheet http://www.keyestudio.com/files/index/download/id/1500514667/

Buy from

http://www.keyestudio.com/keyestudio-two-channel-solid-state-relay.html