Ks0011 keyestudio 5V Relay Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
(Created page with "==5V Relay Module== <br>500px|frameless|thumb<br> ==Introduction== This single relay module can be used in interactive projects. This module uses SON...")
 
No edit summary
Line 38: Line 38:
           delay(2000);
           delay(2000);
}
}
</pre>


</pre>
 
[[category:Module]]

Revision as of 13:51, 22 September 2016

5V Relay Module


thumb

Introduction

This single relay module can be used in interactive projects. This module uses SONGLE 5v high-quality relay. It can also be used to control lighting, electrical and other equipment. The modular design makes it easy to expand with the Arduino board (not included). The Relay output is by a light-emitting diode. It can be controlled through digital IO port, such as solenoid valves, lamps, motors and other high current or high voltage devices.


Specification

  • 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
  • Size: 40*28mm
  • Weight: 15g


Connection Diagram


thumb

Sample Code

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