Description
- HIGH QUALITTY FR4 DOUBLE SIDE PCB
Hi this is ESP32 30 pin dev kit Wi-Fi controller based 4 channel opto isolated relay board . it’s supply voltage is 220 volt AC. It have inbuilt high quality hi-link brand 5 volt SMPS module. Relay we are using 5 volt 7 ampere . also it have resettable fuse protection and over voltage protection and ESD protection by TVS diode on high voltage side . It have four LED to indicate the status of output. It is also inbuilt EMI filter to remove high frequency noise. On the output side of SMPS we have also included resettable fuse for controller protection and TVS diode for over voltage protection .on relay driving section we have included TVS diode for suppress suppression of EMI. We have used double side fr4 high quality PCB which made in India
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);
}