Ks0127 keyestudio EASY plug Single Relay Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==EASY plug Single Relay Module==
[[image:ks0127图.jpg|thumb|600px|right|Keyestudio EASY plug Single Relay Module]]
<br>[[File:ks0127-1.png|500px|frameless|thumb]]<br>


==Introduction==
==Introduction==
Relay is an automatic switch element with isolation function. It's widely used in remote control, remote sensing, communication, automatic control, mechatronics and electronic devices. It is one of the most important control elements. Besides, it’s easy to control and use just by inputting different level signals to corresponding ports of the relay. The single relay we introduced here has a status indicator light, convenient for you to observe the on and off status of the relay. <br>
This EASY Plug relay module integrates a high-quality relay. A relay is basically an electrically controlled mechanical switch.<br>
Note: this module needs to be used together with EASY plug control board.<br>
It is one of the most important controlled elements, which is widely used to control the lighting, communications, remote sensing, electrical and other equipment.<br>
 
The Relay output state by a light-emitting diode, observing the relay ON and OFF status. <br>
It can be controlled through the digital IO port, such as lamps, motors and other high current or high voltage devices. <br>
<span style="color: red">'''Note: '''this module needs to be used together with EASY plug control board.<br>


<br>
==Specification==
==Specification==
* Interface: Easy plug
* Connector: Easy plug
* Type: Digital
* Type: Digital
* Rated current: 10A (NO) 5A (NC)
* Rated current: 10A (NO) 5A (NC)
* Maximum switching voltage: 150VAC 24VDC
* Maximum switching voltage: 150VAC 24VDC
* Digital interface
* Digital interface
* Control signal: TTL level
* Control signal: TTL level
* Rated load: 8A 150VAC (NO) 10A 24VDC (NO), 5A 250VAC (NO/NC) 5A 24VDC (NO/NC)
* Rated load: 8A 150VAC (NO) 10A 24VDC (NO); 5A 250VAC (NO/NC) 5A 24VDC (NO/NC)
* Maximum switching power: AC1200VA DC240W (NO) AC625VA DC120W (NC)
* Maximum switching power: AC1200VA DC240W (NO); AC625VA DC120W (NC)
* Contact action time: 10ms
* Contact action time: 10ms
* Size: 46.5*28mm
* Weight: 17g


<br>
==Technical Details==
* Dimensions: 47mm*28mm*19mm
* Weight: 17.4g
<br>


==Connection Diagram ==
==Connect It Up ==
Now, let’s connect this module to the D8 port of the controller board using the EASY plug cable.
Connect the EASY Plug single relay module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
<br>[[File:ks0127-2.png|500px|frameless|thumb]]<br>
<br>[[File:ks0127.jpg|500px|frameless|thumb]]<br>


 
<br>
==Sample Code==
==Upload the Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.   
<pre>
<pre>
  int Relay = 8;
  int Relay = 8;
Line 41: Line 47:
}
}
</pre>
</pre>
<br>


==What You Should See==
Done uploading the code, you should be able to hear the relay contacts click. When the relay is off, the COM (common) terminal block will be connected to the NC (Normally Closed) terminal block.<br>
When the relay is on, the COM (common) terminal block will be connected to the NO (Normally Open) terminal block.
<br>[[File:ks0127 Result.jpg|500px|frameless|thumb]]<br>
<br>


==Resources ==
==Resources ==
 
'''PDF'''<br>
 
'''PDF'''
 
https://drive.google.com/open?id=10Rqkgo0IfpkSBjd4xDaCyRG-npQiFv4v
https://drive.google.com/open?id=10Rqkgo0IfpkSBjd4xDaCyRG-npQiFv4v


<br>
==Buy from ==
==Buy from ==
'''Official Website'''
'''Official Website'''<br>
 
http://www.keyestudio.com/keyestudio-easy-plug-single-relay-module-for-arduino.html
http://www.keyestudio.com/keyestudio-easy-plug-single-relay-module-for-arduino.html


[[category:EASY Plug]]
[[category:EASY Plug]]

Revision as of 11:39, 16 November 2018

Keyestudio EASY plug Single Relay Module

Introduction

This EASY Plug relay module integrates a high-quality relay. A relay is basically an electrically controlled mechanical switch.
It is one of the most important controlled elements, which is widely used to control the lighting, communications, remote sensing, electrical and other equipment.
The Relay output state by a light-emitting diode, observing the relay ON and OFF status.
It can be controlled through the digital IO port, such as lamps, motors and other high current or high voltage devices.
Note: this module needs to be used together with EASY plug control board.


Specification

  • Connector: Easy plug
  • Type: Digital
  • Rated current: 10A (NO) 5A (NC)
  • Maximum switching voltage: 150VAC 24VDC
  • Digital interface
  • Control signal: TTL level
  • Rated load: 8A 150VAC (NO) 10A 24VDC (NO); 5A 250VAC (NO/NC) 5A 24VDC (NO/NC)
  • Maximum switching power: AC1200VA DC240W (NO); AC625VA DC120W (NC)
  • Contact action time: 10ms


Technical Details

  • Dimensions: 47mm*28mm*19mm
  • Weight: 17.4g


Connect It Up

Connect the EASY Plug single relay module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb


Upload the Code

Copy and paste below code to Arduino IDE and upload.

 int Relay = 8;
  void setup()
{
  pinMode(Relay, OUTPUT);     //Set Pin3 as output
}
void loop()
{
  digitalWrite(Relay, HIGH);   //Turn on relay
  delay(1000);
  digitalWrite(Relay, LOW);   //Turn on relay
  delay(1000);                
}


What You Should See

Done uploading the code, you should be able to hear the relay contacts click. When the relay is off, the COM (common) terminal block will be connected to the NC (Normally Closed) terminal block.
When the relay is on, the COM (common) terminal block will be connected to the NO (Normally Open) terminal block.
thumb

Resources

PDF
https://drive.google.com/open?id=10Rqkgo0IfpkSBjd4xDaCyRG-npQiFv4v


Buy from

Official Website
http://www.keyestudio.com/keyestudio-easy-plug-single-relay-module-for-arduino.html