Arduino Code and Video Fotek SSR-40 Solid State Relay

Project Video
Project Details

This video shows you how to control Fotek Solid State realy with Arduino and without Arduino.

Project Code


 /*
* This is the Arduino code for Solid State Relay
* manufactured by FOTEK
 * to control turn ON or OFF AC or DC load
 * This code will work with:
 * SSR-25DA
 * SSr-40DA
 * SSR-25DA-H
 * SSR-40DA-H
 *  * Watch the instruction video https://youtu.be/DZrOOhRCtZM
 *  * 
 * Written by Ahmad Shamshiri for Robojax Video
 * Date: May 03, 2018, at 06:57 in Ajax, Ontario, Canada
 * Permission granted to share this code given that this
 * note is kept with the code.
 * Disclaimer: this code is "AS IS" and for educational purpose only.
 * 
 */


 // SSR relay
int relayPin = 8;// set pin 8 for relay output

// setup code for Robojax Solid State Relay
void setup() {
    // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
  Serial.println("Robojax Solid State Relay ");
  pinMode(relayPin, OUTPUT);

}

// loop code for Robojax Solid State Relay
void loop() {


  // Turn the relay switch ON (Robojax.com/learn/arduino)
  digitalWrite(relayPin, HIGH);// set relay pin to HIGH
  Serial.println("Relay ON ");
  delay(2000);


   // Turn the relay switch OFF (Robojax.com/learn/arduino)
  digitalWrite(relayPin, LOW);// set relay pin to LOW
  Serial.println("Relay OFF ");
  delay(2000);

}
 

Required File(s)

If you found this Arduino course helpful, please support me so I can continue creating content like this. support me via PayPal