OpenSmart

5V Relay Board

Item No.: ST1080

Description:

     Brand new 5V relay module ,Microcontroller development board can be used as modules, can be used as appliance control ,5V-12V control signal of the TTL ;Control DC or AC signals can control the 220V AC load. There is a normally open and one normally closed contact Power LED Controlled light, pull off, off off .Increased transistor drive a relay coil, the control pin high impedance. Control pins have pull-down circuit, to prevent floating relay malfunction

Specifications:

  •  Channel :1
  • Supply Voltage: 5V DC
  • Current Ratings: 10A at 250VAC;10Aat 30V DC
  • Dimensions: 40*27*18mm




1. Introduction

The module is uses SRD relay module to control high-votage elecrical devices. (maximum 250V).It can be used in interactive projects and can also be used to control the lighting, electrical and other equipments.It can be controlled directly by a wide range of microcontrollers and can be controlled through the digital IO port, such as solenoid valves, lamps, motors and other high current or high voltage devices.

2.Pin Instrution


3. Example

   This example controls a LED(or other high power load) via the Relay module.

  Physical connection as below:



The example code as below:


int led = 13;

// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}




Comment