LinkNode Relay 1Channel Module

From LinkSprite Playgound
Jump to: navigation, search

Introduction

The Relay Module is a digital normally-open switch. Through it, you can control circuit of high voltage with low voltage, say 3V on the controller. There is an indicator LED on the board, which will light up when the controlled terminals get closed. The peak voltage capability is 250V at 10 amps.The Module Operating Voltage 3.3V, max 3.6V .

RELAY D1.jpg

RELAY D1 2.jpg

RELAY D1 3.jpg

RELAY D1 4.jpg

Wiring & Running

The Relay module is connected to the base shield J2:

Relay Signal --> LinkNode D1 G2

Relay D1 5.png

Relay D1 6.png

Relay D1 7.png

Simple Code

/*
  LinkNode Relay-1Channel
  the Relay will turn on for 0.5s and then turn off for 0.5s, and so on.
  This example code is in the public domain.
 */
 
int RelayControlPin = 2;
void setup() {                
  // initialize the digital pin as an output.
  pinMode(RelayControlPin, OUTPUT);     
}
 
void loop() {
  digitalWrite(RelayControlPin, HIGH);   // set the relay on
  delay(500);              // wait for a second
  digitalWrite(RelayControlPin, LOW);    // set the relay off
  delay(500);              // wait for a second
}

Datasheet

SONGLE RELAY SRD-XXVDC.pdf