Description
- HIGH QUALITTY FR4 DOUBLE SIDE PCB
- All components through hole type. SMD COMPONENTS ARE NOT INCLUDED IN PCB
- OPTO COUPLER – EL817
- RELAY DRIVER – ULN2003/ILN2003
- RESISTOR -NETWORK TYPE 1K 5PIN (MODEL NO – A05-102JP)
- LED SIZE -3MM
- CAPACITOR -1000UF 10V OR 16V AND 1UF MLCC
- FUSE – RGEF300 16V 3A PPTC Resettable Fuse
- OUTPUT CONEECTOR -XY128V 3 PIN 5MM PITCH
- DIODE – 1N5822 40V 3A SCHOTTKY DIODE
SAMPLE PROGRAM
#define relay1 23
#define relay2 22
#define relay3 21
#define relay4 19
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(relay1, OUTPUT);
pinMode(relay2, OUTPUT);
pinMode(relay3, OUTPUT);
pinMode(relay4, OUTPUT);
digitalWrite(relay1, HIGH);
digitalWrite(relay2, HIGH);
digitalWrite(relay3, HIGH);
digitalWrite(relay4, HIGH);
delay(1000);
digitalWrite(relay1, LOW);
digitalWrite(relay2, LOW);
digitalWrite(relay3, LOW);
digitalWrite(relay4, LOW);
delay(1000);
}
// the loop function runs over and over again forever
void loop()
{
digitalWrite(relay1, HIGH);
delay(1000);
digitalWrite(relay1, LOW);
digitalWrite(relay2, HIGH);
delay(1000);
digitalWrite(relay2, LOW);
digitalWrite(relay3, HIGH);
delay(1000);
digitalWrite(relay3, LOW);
digitalWrite(relay4, HIGH);
delay(1000);
digitalWrite(relay4, LOW);
}